web

A collection of scripts used to generate this website
git clone https://erai.gay/code/web/
Log | Files | Refs | LICENSE

commit c6a7052d5a0dd5ba6e6e704ed4a50528d0657484
parent d3129422e23e56d5bd3a4d3ef1a639e39bcb9327
Author: erai <erai@omiltem.net>
Date:   Sun, 14 Apr 2024 16:33:52 -0400

Better table style

Diffstat:
Mcss/style.css | 24++++++++++++++++--------
Mindex.html | 2+-
2 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/css/style.css b/css/style.css @@ -29,9 +29,6 @@ h1, h2, h3, h4, h5, h6 { font-weight: 300; } -main { -} - header { margin: 1em; text-align: left; @@ -93,13 +90,24 @@ pre { border-radius: 4pt; } -table, th, td { - border: 1px solid #000000; +th, td { + text-align: center; + padding: 0.25em; + border: 1px solid #888888; + vertical-align: center; +} + +th .l, td .l { + text-align: left; +} + +th .r, td .r { + text-align: right; } table { border-collapse: collapse; - margin: 0 auto; + margin: 1em auto; } pre .prompt { @@ -170,7 +178,7 @@ blockquote { color: #8466cc; } - table, th, td { - border: 1px solid #eeeeee; + th, td { + border: 1px solid #888888; } } diff --git a/index.html b/index.html @@ -27,7 +27,7 @@ <main> <article> <h1>Home</h1> - <p>Hello, I'm erai and this is my website!</p> + <p>Hello, I'm erai and this is my website!</p> </article> </main> <footer>