diff options
| Commit | d60f782300a16f6582b22e139f6fc641184c5756 (patch) | |
|---|---|---|
| Author | 2026-11-22 09:29:45 +0200 | |
| Committer | 2026-11-22 09:29:45 +0200 | |
| Files | 0e9e3a9d11d6ab57d0e5b3e01dde61917fbe4a69 /src/styles.css | |
| syndamia.com-d60f782300a16f6582b22e139f6fc641184c5756.tar syndamia.com-d60f782300a16f6582b22e139f6fc641184c5756.tar.gz syndamia.com-d60f782300a16f6582b22e139f6fc641184c5756.zip | ||
| Parent | 93ad65cac0c83cdd56f142ee889c63da5042beac (diff) | |
fix(styles.css): Use unitless line-height
1 files changed, 7 insertions, 7 deletions
| -rw-r--r-- | src/styles.css | 14 |
diff --git a/src/styles.css b/src/styles.css index ca4e8e9..1d5b6cf 100644 --- a/src/styles.css +++ b/src/styles.css @@ -70,7 +70,7 @@ body { -webkit-font-smoothing: antialiased; } body, td, th { font-size: 18px; font-family: 'Tabler', 'Liberation Sans', sans-serif; } -* { line-height: 1.3em; } +* { line-height: 1.3; } /*## No-CSS compatibility ##*/ @@ -142,7 +142,7 @@ li > div:only-child > img { border-left: 2px solid var(--border-color); } .index-list-item, .index-list-item:hover { - line-height: 1.2em; + line-height: 1.2; display: block; /* Compatibility with Chrome 49.0.2623.112 (for old machines) */ } @@ -150,10 +150,10 @@ li > div:only-child > img { #settingsWrapper { border-top: none; border-bottom: none; font-size: 1.2em; - line-height: 1em; + line-height: 1; text-align: center; - line-height: 1.6em; + line-height: 1.6; padding-top: calc(1rem - 0.3em); } #settingsWrapper > .setting-btn { font-size: 0.6em; } @@ -316,7 +316,7 @@ a[rev="footnote"] { border: none; } .setting-btn { text-align: center; display: inline-block; - line-height: 1em; + line-height: 1; border: 1px solid var(--border-color); padding: 0.4em; } @@ -349,7 +349,7 @@ article > #article-container > footer { h1, h2, h3, h4, h5, h6 { color: var(--header-color); display: inline-block; - line-height: 1.25em; + line-height: 1.25; border-bottom: 2px solid var(--border-color); } h1 { display: block; font-size: 1.7em; margin-block-end: 0.5em; } @@ -406,7 +406,7 @@ dd + dt { margin-top: 1em; } dt { font-size: 1.2em; padding-top: 0.2em; } dt * { vertical-align: middle; } dd { - line-height: 1.5em; + line-height: 1.5; margin: 0; padding: 0 0 0.4em 49px; } |