mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-29 18:49:50 -08:00
round up for filler calc
This commit is contained in:
18
index.css
18
index.css
@@ -14,6 +14,13 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--text-color: #fff;
|
||||
--background-color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -171,7 +178,7 @@ img, video {
|
||||
width: 100%;
|
||||
padding-bottom: calc(
|
||||
round(
|
||||
down,
|
||||
up,
|
||||
var(--line-height) - (
|
||||
var(--real-height) - round(down, var(--real-height), var(--line-height))
|
||||
),
|
||||
@@ -276,12 +283,5 @@ li {
|
||||
}
|
||||
|
||||
body :not(.grid) {
|
||||
/*background: rgba(255, 0, 0, 0.1);*/
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--text-color: #fff;
|
||||
--background-color: #000;
|
||||
}
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user