diff options
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r-- | src/static/css/site.css | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index 108e44ff..b087582a 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1664,13 +1664,14 @@ p.image-details.origin-details { margin: 0; } -/* p.content-heading:has(+ .commentary-entry-heading.dated) { clear: right; } -*/ .commentary-entry-heading { + display: flex; + flex-direction: row; + margin-left: 15px; padding-left: 5px; max-width: 625px; @@ -1680,7 +1681,7 @@ p.content-heading:has(+ .commentary-entry-heading.dated) { } .commentary-entry-heading-text { - display: block; + flex-grow: 1; padding-left: 1.25ch; text-indent: -1.25ch; } @@ -1689,27 +1690,28 @@ p.content-heading:has(+ .commentary-entry-heading.dated) { font-style: oblique; } -.commentary-entry-body summary { - list-style-position: outside; -} - -.commentary-entry-body summary > span { - color: var(--primary-color); -} +.commentary-entry-heading .commentary-date { + flex-shrink: 0; -.commentary-date { - float: right; - margin-top: -0.8em; margin-left: 0.75ch; + align-self: flex-end; + padding-left: 0.5ch; - padding-right: 0.4em; - font-size: 0.9em; + padding-right: 0.25ch; } -.commentary-date .hoverable { +.commentary-entry-heading .hoverable { box-shadow: 1px 2px 6px 5px #04040460; } +.commentary-entry-body summary { + list-style-position: outside; +} + +.commentary-entry-body summary > span { + color: var(--primary-color); +} + .commentary-art { float: right; width: 30%; @@ -1962,7 +1964,7 @@ li .by a { display: inline-block; } -p code, li code { +p code { font-size: 0.95em; font-family: "courier new", monospace; font-weight: 800; |