diff options
author | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
commit | fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f (patch) | |
tree | f506115024e7e6247279409fa053e59927ec398c /static/css | |
parent | dont format html files with prettier (diff) | |
download | fcuny.net-fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f.tar.gz |
migrate to zola
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/custom.css | 66 |
1 files changed, 36 insertions, 30 deletions
diff --git a/static/css/custom.css b/static/css/custom.css index 46e75b9..7d8b20d 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -18,7 +18,7 @@ html { body { margin: 1em auto; - max-width: 48rem; + max-width: 50rem; line-height: 1.3; font-family: Gentium, serif; } @@ -29,12 +29,17 @@ h1 { h2 { font-size: 1.1rem; - border-left: 5px solid #4d76ae; + border-left: 5px solid #ffc832; padding-left: 0.2em; } +h3 { + font-size: 1rem; + font-weight: normal; +} + a { - color: #473a2f; + color: rgb(56, 115, 173); } a:link, @@ -45,39 +50,45 @@ a:active { } code { - background-color: #f2f1eb; - border-radius: 4px; - color: #000; font-family: Argon, monospace; - margin: 0; + color: #000; + font-size: 0.8rem; overflow-x: auto; - word-wrap: normal; + padding: 0.2rem 0.5rem; + margin: 0 0.2rem; + border: 1px solid #e1e1e1; + background: rgb(245, 245, 245); + border-radius: 4px; +} + +pre { + overflow: auto; font-size: 0.8rem; + overflow-x: auto; + margin: 0 0.2rem; } -p code { - color: #000; +pre > code { + display: block; + background: rgb(245, 245, 245); } -pre { - margin: 0; - word-wrap: normal; - overflow-x: auto; - background-color: #f2f1eb; - padding: 0.2em; +section.times time { + font-style: oblique; + float: right; +} + +section.times h3 { + display: inline; + font-size: 1em; } -#meta { +p.date { display: row; font-style: italic; font-size: 0.9rem; } -span.content-date { - float: right; - font-style: oblique; -} - table { width: 100%; border-spacing: 0px; @@ -120,15 +131,10 @@ blockquote { } ul { + display: block; list-style-type: disc; } -ul.list-content { - list-style: none; - padding: 0; - line-height: 2em; -} - -article { - text-align: justify; +li { + display: list-item; } |