diff options
author | EuAndreh <eu@euandre.org> | 2020-08-13 06:19:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-13 06:19:47 -0300 |
commit | 0f30e0452b48999949371a293f25e7c272c73b67 (patch) | |
tree | bde87fe149d460d69a3aa7b6b77e1ecc856169f0 | |
parent | Create Jekyll hook to add header anchors based on the header IDs (diff) | |
download | euandre.org-0f30e0452b48999949371a293f25e7c272c73b67.tar.gz euandre.org-0f30e0452b48999949371a293f25e7c272c73b67.tar.xz |
styles.css: Reshuffle declarations and organize with some comments
-rw-r--r-- | styles.css | 43 |
1 files changed, 30 insertions, 13 deletions
@@ -1,3 +1,5 @@ +/* General declarations */ + body { margin: 0px auto 0px auto; padding: 1%; @@ -7,6 +9,14 @@ body { background-color: #f7f2f3; } +.simple-icon { + height: 22px; + vertical-align: middle; +} + + +/* Navigation header */ + header { border-bottom: 2px solid black; margin-bottom: 30px; @@ -36,6 +46,18 @@ nav ul li a { margin: 6px; } + +/* Article bodies */ + +section.header { + color: #555; + font-size: 14px; + font-style: italic; +} + + +/* Footer */ + footer { border-top: solid 2px black; font-size: 14px; @@ -52,6 +74,13 @@ footer li a { margin-left: 5px; } +section.post-footer, div.footnotes { + border-top: 0.5px solid #555; +} + + +/* Code blocks */ + pre.lineno { margin-right: 3px; padding-right: 3px; @@ -66,20 +95,8 @@ pre.highlight { border-bottom: 1px solid; } -section.header { - color: #555; - font-size: 14px; - font-style: italic; -} - -section.post-footer, div.footnotes { - border-top: 0.5px solid #555; -} -.simple-icon { - height: 22px; - vertical-align: middle; -} +/* Header anchor icons */ a.header-anchor { color: black; |