mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-30 02:59: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;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--text-color: #fff;
|
||||||
|
--background-color: #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@@ -171,7 +178,7 @@ img, video {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: calc(
|
padding-bottom: calc(
|
||||||
round(
|
round(
|
||||||
down,
|
up,
|
||||||
var(--line-height) - (
|
var(--line-height) - (
|
||||||
var(--real-height) - round(down, var(--real-height), var(--line-height))
|
var(--real-height) - round(down, var(--real-height), var(--line-height))
|
||||||
),
|
),
|
||||||
@@ -276,12 +283,5 @@ li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body :not(.grid) {
|
body :not(.grid) {
|
||||||
/*background: rgba(255, 0, 0, 0.1);*/
|
background: rgba(255, 0, 0, 0.1);
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root {
|
|
||||||
--text-color: #fff;
|
|
||||||
--background-color: #000;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user