diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/default-simple.css | 8 | ||||
-rw-r--r-- | assets/css/default.css | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/assets/css/default-simple.css b/assets/css/default-simple.css index 8b7fca3..29f7c0d 100644 --- a/assets/css/default-simple.css +++ b/assets/css/default-simple.css @@ -33,14 +33,16 @@ micro-card[id] > article > :nth-last-child(2) { margin-bottom: 0; } -[data-kind="page"] micro-card[id]:first-child > a, micro-card[id] micro-tags, micro-card[id] > header meta-data, -micro-card[id] > article figcaption { +micro-card[id] > article figcaption, +[data-kind="page"] micro-card[id]:first-child > a { display: none; } -micro-card[id] > article footer:not(blockquote footer) { +micro-card[id] + > article + footer:not(blockquote footer):not(code-block + footer) { display: none; } diff --git a/assets/css/default.css b/assets/css/default.css index 74eb0fc..0d670b5 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -248,6 +248,7 @@ code, svg text, following-list details summary:after, micro-card article details[data-disclosure] summary:after { + font-size: 0.95rem; font-family: "Fira Code", "Lucida Console", "Andale Mono", "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; @@ -1662,7 +1663,7 @@ code-block[data-lines] pre code { code-block header { position: relative; - top: 1.85rem; + top: 2.125rem; margin-top: -1rem; height: 1rem; padding: 0 0.5rem; @@ -1673,12 +1674,12 @@ code-block header { } code-block header language-label { - padding: 0.125rem 1rem; font-variant: all-small-caps; } code-block header language-label a { text-decoration: none; + padding: 0.125rem 1rem; } code-block header language-label a:hover { @@ -2379,6 +2380,7 @@ nav[hidden] { [data-xml] micro-card { flex-direction: row; + align-items: center; } [data-xml] micro-card article { |