diff options
Diffstat (limited to 'styles')
-rw-r--r-- | styles/blog.css | 27 | ||||
-rw-r--r-- | styles/global.css | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/styles/blog.css b/styles/blog.css new file mode 100644 index 0000000..2aa4418 --- /dev/null +++ b/styles/blog.css @@ -0,0 +1,27 @@ +.postContent * { + line-height: 1.4; +} + +.postContent h2 { + margin: 0; + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-medium); +} + +.postContent a { + text-decoration: underline; + color: var(--accent); +} + +.postContent li { + margin-top: var(--spacing-medium); +} + +.postContent ul { + padding-left: var(--spacing-large); +} + +.postContent > *:first-child { + margin-top: 0; +} + diff --git a/styles/global.css b/styles/global.css index b6c550a..bcf1b00 100644 --- a/styles/global.css +++ b/styles/global.css @@ -39,7 +39,7 @@ a { .CenteredPageInner > * { text-align: left; } /* line height reset */ -h1, h2, h3, p, b, i, span, td, th { +h1, h2, h3, p, b, i, span, td, th, li { margin: 0; line-height: 1.2; } |