From ad823002b877657f1d03e81cd0d95dbb0cf0e37f Mon Sep 17 00:00:00 2001 From: Niklas Buschmann Date: Mon, 23 Dec 2019 22:09:15 +0100 Subject: [PATCH] improve archive page --- static/css/classes.css | 9 +++------ static/css/theme.css | 14 +++++++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/static/css/classes.css b/static/css/classes.css index 17cef55..381daf5 100644 --- a/static/css/classes.css +++ b/static/css/classes.css @@ -10,16 +10,13 @@ } .archive li { - padding: .3em 0; -} - -.archive a { font-size: 1.1em; + padding: .3em; } .archive time { display: inline-block; - font-size: 1.05em; - width: 6em; + min-width: 9ch; margin: 0 .25em; + opacity: .75; } diff --git a/static/css/theme.css b/static/css/theme.css index 03297ba..4211ec1 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -18,15 +18,12 @@ body { font-size: calc(0.8rem + 0.25vw); font-weight: 400; line-height: 1.65; + margin: 0; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -body, blockquote, figure { - margin: 0; -} - h1, h2, h3, h4, h5, h6 { font-weight: 400; } @@ -63,11 +60,18 @@ blockquote { padding: 1px 1.5em; } +blockquote, figure { + margin: 1em 0; +} + +img, li { + margin: .5em 0; +} + img { border-radius: 2px; max-width: 100%; height: auto; - margin: .5em 0; } table {