diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-04-23 18:20:44 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-04-23 18:20:44 +0200 |
commit | f9944e4b5f21373ad992eae412f56ecdfc1a3496 (patch) | |
tree | 2ffa51bd48ede5e7ee1b6dbee9b72cd73de9b52c /styles | |
parent | 39dd28a60cb5404fe471cb169c6d4a9c44e8e9ab (diff) |
new blog post system thing + privacy policy
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; } |