round up for filler calc

This commit is contained in:
Oskar Wickström
2024-08-22 22:37:45 +02:00
parent 86bb6c7944
commit a99f450e19

View File

@@ -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);
}