diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..53bd3a0 --- /dev/null +++ b/style.css @@ -0,0 +1,68 @@ +body { + max-width: 43em; + margin: 1em auto; + padding: 0 1em 22vh 1em; +} + +p, dd, pre { + line-height: 129%; + text-align: justify; + margin-bottom: 1em; +} + +h1, h2, h3, h4, h5, h6 { + color: #3482a5; + margin-bottom: 0.2em; +} + +.subtitle { + color: #999; + margin-top: 0.2em; + font-size: 90%; + text-align: center; +} + +pre { + background-color: #f0f0f0; + padding: 1em; + overflow-x: auto; +} + +code { + font-weight: bold; +} + +img { + max-width: 100%; +} + +article > img { + display: block; + margin: 1em auto; +} + +article > header > *, article > h1 { + text-align: center; +} + +a:link { + color: #0e42ef; +} + +a:link:hover { + background: #0e42ef36; +} + +a:visited { + color: #6f0eef; +} + +a:visited:hover { + background: #6f0eef36; +} + +a:active, +a:active:hover { + color: #e0083b; + background: #e0083b36; +} |