diff options
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 58 |
1 files changed, 10 insertions, 48 deletions
diff --git a/static/style.css b/static/style.css index 896f138..fdf1b34 100644 --- a/static/style.css +++ b/static/style.css @@ -167,7 +167,7 @@ pre.box { width: fit-content; } -.overview { +.overview, .release { overflow-wrap: break-word; /* This is a bit convoluted: we want the effect of padding but using margins @@ -193,7 +193,7 @@ pre.box { border-bottom: 1px solid var(--border-color); } - img { + img, video { max-width: 100%; } @@ -207,6 +207,14 @@ pre.box { } } +.release > header { + display: flex; + align-items: baseline; + > :first-child { + flex-grow: 1; + } +} + .timestamp { white-space: nowrap; font-size: .8rem; @@ -232,52 +240,6 @@ pre.box { font-size: 0.8rem; } -.release-nav { - margin-bottom: 1rem; -} - -.release { - margin-bottom: 2rem; -} - -.release-header { - display: flex; - justify-content: space-between; - align-items: baseline; - margin-bottom: 1rem; - padding-bottom: .5rem; - border-bottom: 1px solid var(--border-color); - - h3 { - margin: 0; - } -} - -.release-body { - overflow-wrap: break-word; - - a { - text-decoration: underline; - } - - h1, h2 { - border-bottom: 1px solid var(--border-color); - } - - img { - max-width: 100%; - } - - code, pre { - background: var(--shade-background); - } - - pre { - overflow-x: auto; - scrollbar-color: var(--border-color) var(--shade-background); - } -} - /* TODO Strip permalinks? */ svg.octicon-link { display: none; |
