diff options
author | bd <bdunahu@operationnull.com> | 2024-07-14 17:16:52 -0600 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-07-14 17:31:28 -0600 |
commit | 733194e8567bc495db88de9b0ae1b228d59572fe (patch) | |
tree | ec371e8e393dbda41f24b3f355876b726fc2e8b2 /content/assets/site.css |
initial commit
Diffstat (limited to 'content/assets/site.css')
-rw-r--r-- | content/assets/site.css | 311 |
1 files changed, 311 insertions, 0 deletions
diff --git a/content/assets/site.css b/content/assets/site.css new file mode 100644 index 0000000..5309225 --- /dev/null +++ b/content/assets/site.css @@ -0,0 +1,311 @@ +body { + font-family: 'Open Sans', Helvetica, sans-serif; + line-height: 1.5; + font-size: 18px; + background: #000; + color: #aaaabb; + margin: 0; + border-top: 3px solid #300065; +} + +@media (max-width: 799px) { + body { + padding: 15px; + font-size: .95em; + } +} + +body h1, +body h2, +body h3, +body h4 { + font-weight: normal; + margin: 0; + padding: 0; + color: #bbbbcc; +} +body h1 b, +body h2 b, +body h3 b, +body h4 b { + display: block; + line-height: 1; + font-size: 150%; +} +body h1 img, +body h2 img, +body h3 img, +body h4 img { + vertical-align: middle; + border: 0 none; +} +body h1 { + font-size: 42px; + margin-top: 40px; +} + +body h1 { + font-size: 42px; + margin-top: 40px; +} +.gray { + font-weight: lighter; + color: gray; +} +.black { + font-weight: lighter; + color: black; +} +body h2 { + margin-top: 60px; + position: relative; + font-size: 32px; +} +body h3 { + font-size: 22px; + margin-top: 40px; + font-weight: bold; +} +body p { + text-align: justify; +} + +body a { + text-decoration: none; + color: #3000a9; +} +body a:hover { + color: #841076; + text-decoration: underline; +} + +a:visited { + color: #404040; +} + +body pre { + background: white; +} + +body pre.src { + overflow-y: auto !important; + font-size: 16px; +} + +body code { + background: #222; + border: 1px solid #333; + padding: 0px 4px; + color: #ccc; + overflow-x: auto; + font-size: .9em; +} + +body li { + margin-bottom: 1em; +} + +body img { + border: 1px solid #ccc; + height: auto; +} + +@media (max-width: 800px) { + body img { + max-width: 100%; + } +} + +body img.no-border { + border: none; +} + +blockquote { + padding-left: 2rem; + border-left: 5px solid #eee; + font-style: italic; +} + +.feed-icon { + padding-left: 1rem; +} + +/* Header */ + +intro { + color: #BBB; + text-align: center; +} + +intro h1 { + font-size: 42px; + font-weight: bold; + line-height: 1em; + margin: .3em; + padding: 0; +} + +intro p { + color: #aaa; + font-size: 14px !important; + text-align: center; +} + +intro img { + padding-top: 30px; + border-radius: 100%; + width: 100px; +} + +nav { + text-align: center; + margin-top: 30px; + border-bottom: 1px solid #e2e2e2; + font-size: 12px; +} + +nav ul { + list-style: none; + padding: 0; +} + +nav li { + color: #999; + display: inline-block; + margin: 0; +} + +nav li:first-child { + padding-left: 0; +} + +nav a { + display: inline-block; + padding-right: 6px; + border-radius: 0; + font-weight: normal; + color: #6a6a6a; +} + +nav a:hover { + color: #6a6a6a; +} + +nav a:visited { + color: #6a6a6a; +} + +/* Footer */ + +@media (min-width: 800px) { + body article, + body footer { + margin: 0 auto; + max-width: 700px !important; + width: 700px !important; + } +} + +footer { + font-size: 0.8em; + line-height: 1.8em; + margin-top: 50px; + text-align: center; + color: #aaa; + padding: 15px 0; + border-top: 1px solid #e2e2e2; +} + +.fade-text { + color: #ddd; +} + +/* Summaries */ + +.summary { + margin-bottom: 3rem; +} + +.summary .date { + margin-bottom: 0rem; +} + +.summary p { + margin-top: 1rem; + margin-bottom: 1rem; +} + +/* Posts */ + +.date { + margin-top: -0.3rem; + color: #6a6a6a; + font-size: 90%; +} + +.tags { + margin-top: -1rem; + color: #6a6a6a; + font-size: 80%; +} + +.tags ul { + display: inline-block; + padding-left: 0.5rem; +} + +.tags li { + display: inline-block; + padding: 0.5rem; +} + +.post img, .centered-image { + display: block; + max-width: 100%; + height: auto; + margin: 0 auto; + padding: 0px; + border-radius: 4px; +} + +.post video { + display: block; + margin: 0 auto; + padding: 0px; + max-width: 100%; +} + +.caption { + text-align: center; + margin: 0; + margin-left: 4rem; + margin-right: 4rem; +} + +iframe { + border: none; + width: 100%; +} + +/* Syntax Highlighting */ + +.syntax-special, .syntax-element { + color: #8ac6f2; + font-weight: bold; +} + +.syntax-string { + color: #95e454; +} + +.syntax-keyword, .syntax-attribute { + color: #e5786d; +} + +.syntax-comment { + color: #ccc; +} + +.syntax-open, .syntax-close { + color: #ccc; +} |