logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 7e9d4dd66ad6ae60f3c6c36a08408bc5ea816c17
parent 4f61920bca7e597310e1f1687e34123e5a9f177c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  7 Apr 2023 16:30:41 +0200

css/index.css: Restyle <table> for less harsh borders

Diffstat:

Marticles/2022 Summary.html2+-
Marticles/Why I embraced Wayland.html2+-
Marticles/cve.org-disaster.html2+-
Marticles/self-hosting.html2+-
Mbookmarks.html2+-
Mcss/index.css13++++++++-----
Mtemplates/head.shtml2+-
Mtemplates/head.xml2+-
8 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/articles/2022 Summary.html b/articles/2022 Summary.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <meta property="og:type" content="article"/> <meta property="og:title" content="2022 Summary"/> <title>2022 Summary - lanodan's cyber-home</title> diff --git a/articles/Why I embraced Wayland.html b/articles/Why I embraced Wayland.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <meta property="og:type" content="article"/> <meta property="og:title" content="Why I embraced Wayland"/> <title>Why I embraced Wayland - lanodan's cyber-home</title> diff --git a/articles/cve.org-disaster.html b/articles/cve.org-disaster.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <meta property="og:type" content="article"/> <meta property="og:title" content="The new CVE.org website is a security disaster so I made my own"/> <title>The new CVE.org website is a security disaster so I made my own - lanodan's cyber-home</title> diff --git a/articles/self-hosting.html b/articles/self-hosting.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <meta property="og:type" content="article"/> <meta property="og:title" content="Some tips/opinions about self-hosting"/> <title>Some tips/opinions about self-hosting - lanodan's cyber-home</title> diff --git a/bookmarks.html b/bookmarks.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <title>Bookmarks - lanodan's cyber-home</title> </head> <body> diff --git a/css/index.css b/css/index.css @@ -108,19 +108,22 @@ section h1, section h2, section h3, section h4, section h5, section h6 { table { border-collapse: collapse; } -tbody { - border: 0.1em solid; -} thead { position: sticky; top: 0; color: var(--ansi15); - background-color: var(--ansi00); + background-color: var(--ansi00-hard); } td, th { - border: 0.1em solid; + border: 2pt solid var(--ansi00-hard); padding: 0.25em; } +tbody tr:nth-child(odd) { + background-color: var(--ansi00-soft); +} +tbody tr:nth-child(even) { + background-color: var(--ansi00); +} thead td, thead th { border: none; } diff --git a/templates/head.shtml b/templates/head.shtml @@ -1,5 +1,5 @@ <meta charset="utf-8"/> - <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040100"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/> diff --git a/templates/head.xml b/templates/head.xml @@ -1,6 +1,6 @@ <xml> <meta charset="utf-8"/> - <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023040701"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>