diff options
Diffstat (limited to 'www/assets/res/css')
-rw-r--r-- | www/assets/res/css/article.css | 10 | ||||
-rw-r--r-- | www/assets/res/css/base.css | 8 | ||||
-rw-r--r-- | www/assets/res/css/single.css | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/www/assets/res/css/article.css b/www/assets/res/css/article.css index 9629597..93f86ef 100644 --- a/www/assets/res/css/article.css +++ b/www/assets/res/css/article.css @@ -2,9 +2,6 @@ font-size: 0.95em; padding-inline: 0.5em; padding-block: 0.5em; - margin-block-end: 0.5em; - border-radius: 3px; - background-color: hsl(33, 100%, 98%); & > p { font-size: 0.9em; @@ -20,8 +17,8 @@ & > .date { font-size: small; + margin-top: 0.3em; float: right; - margin-inline-end: 1.5em; color: hsl(0, 0%, 25%); } @@ -40,3 +37,8 @@ html[data-theme="dark"] { } } } + +hr.article-preview-hr { + border: none; + border-top: 1.5px dashed currentColor; +} diff --git a/www/assets/res/css/base.css b/www/assets/res/css/base.css index 06fcb4b..77cd804 100644 --- a/www/assets/res/css/base.css +++ b/www/assets/res/css/base.css @@ -20,6 +20,12 @@ body { background-color: var(--body-bg-color); } +/* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements#specifying_a_uniform_font_size_for_h1 */ +h1 { + margin-block: 0.67em; + font-size: 2em; +} + .mono { font-family: monospace; } @@ -39,7 +45,7 @@ table { border-collapse: collapse; &, :is(td,th) { - padding: 0.4em; + padding: 0.2em 0.4em; border: 1px solid var(--table-border-color); } } diff --git a/www/assets/res/css/single.css b/www/assets/res/css/single.css index 70325d1..3d8ee0f 100644 --- a/www/assets/res/css/single.css +++ b/www/assets/res/css/single.css @@ -10,11 +10,3 @@ margin-inline-end: auto; } } - -.end-hr { - border: none; - width: 8em; - margin-block-start: 1.5em; - margin-inline-start: 0; - border-top: 1px dashed black; -} |