diff options
author | Bradley Taunt <bt@btxx.org> | 2025-06-09 10:49:13 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2025-06-09 10:49:13 -0400 |
commit | 8d395d6b54bec35184434546c835f2bc4e30ea73 (patch) | |
tree | 2223b08c2fa66c842c85e36b72e4048bd6e81f69 /style.css | |
parent | 9ce12742f3a8ead4f06abc392dbf6e318e23106b (diff) |
Include reusable CSS and updates for new VPS
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..ca3df9f --- /dev/null +++ b/style.css @@ -0,0 +1,108 @@ +* { + box-sizing: border-box; +} + +body { + background: white; + line-height: 1.55; + margin: 0 auto; + padding: 10px; +} + +:link { + color: #23238E; +} +:visited { + color: #008088; +} + +.title { + font-family: "Times New Roman", Times, serif; +} + +.title i { + color: #0000FF; +} +.title b { + color: #000084; +} + +header { + padding: 0 0 10px; +} + +img { + margin: 0 auto; + max-width: 120px; +} + +h1 { + margin: 0; + padding: 0.5rem 0 0; +} + +blockquote { + background: rgba(0,0,0,0.04); + border-left: 4px solid; + margin: 2rem 0; + padding: 6px 10px; +} +blockquote p { + font-style: italic; + margin: 0; +} + +pre { + background: whitesmoke; + border: 1px solid; + overflow: scroll; + padding: 10px; + max-width:100%; +} + +code { + background: whitesmoke; +} + +p code, li code, dl code { + border: 1px solid; + padding: 1px 2px; +} + +h2 code { + font-size: 24px; +} + +footer p { + font-size: 90%; +} + +@media (min-width: 800px) { + body { + max-width: 85%; + } +} + +@media(prefers-color-scheme: dark) { + body { + background: #1E1F21; + } + :link { + color: #BAD7FF; + } + :visited { + color: #F6BAFF; + } + .title { + text-shadow: 2px 2px black; + } + .title i { + color: #F2CA30; + } + .title b { + color: #CF4229; + } + pre, code { + background: black; + } +} |