From e4838ba04302f62ce0a497657eab154c1248d16d Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 22 Sep 2023 10:54:18 -0400 Subject: assets/css/default: Try normalizing line heights --- assets/css/default.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'assets') diff --git a/assets/css/default.css b/assets/css/default.css index d5f069c..bfb38d1 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -457,7 +457,7 @@ kbd { font-size: 0.85em; font-weight: 700; line-height: 1; - padding: 2px 4px; + padding: 0 0.15rem; white-space: nowrap; } @@ -487,6 +487,7 @@ ol li { overflow-wrap: break-word; word-break: break-word; position: relative; + height: 100%; } ol li + li { @@ -507,6 +508,10 @@ ol li:before { margin-right: 100%; margin-left: -100%; font-variant-numeric: tabular-nums lining-nums slashed-zero; + height: inherit; + max-height: 1.5rem; + display: flex; + align-items: center; } ol:not([start]) { @@ -773,7 +778,6 @@ figure span:hover { } p { - line-height: 1.4; margin: 0; } @@ -1045,7 +1049,7 @@ micro-author micro-header { } micro-author micro-header h2 { - line-height: 1.25rem; + line-height: 1.25; } micro-author micro-header h3 { @@ -1299,7 +1303,6 @@ profile-box picture[data-type="profile"] img { profile-box section { margin: 1rem 2rem 0 2rem; - line-height: 1; display: flex; align-items: baseline; } @@ -1865,7 +1868,7 @@ search-entry form input { border-top-left-radius: 0.5rem; border: none; font-size: 100%; - line-height: 1.5; + line-height: inherit; padding-left: 1rem; padding-right: 1rem; width: 100%; -- cgit v1.2.3