aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-09-22 10:54:18 -0400
committertdro <tdro@noreply.example.com>2023-09-22 10:54:18 -0400
commite4838ba04302f62ce0a497657eab154c1248d16d (patch)
tree817f20373472350ad6fd659dfcbe99e05f99d436 /assets
parent093c0093cebd4c61759dddc4210a1b14e8d00141 (diff)
downloadcanory-e4838ba04302f62ce0a497657eab154c1248d16d.tar.gz
canory-e4838ba04302f62ce0a497657eab154c1248d16d.tar.bz2
canory-e4838ba04302f62ce0a497657eab154c1248d16d.zip
assets/css/default: Try normalizing line heights
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css13
1 files changed, 8 insertions, 5 deletions
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%;