update `public_html` static files

master
urosm 2024-05-02 20:16:54 +02:00
parent 66dad8ffe5
commit 1daac63ceb
1 changed files with 19 additions and 15 deletions

View File

@ -97,6 +97,10 @@ dd {
padding-inline-start: 2ch; padding-inline-start: 2ch;
} }
figure {
margin-inline: 2ch;
}
ol, ul, menu { ol, ul, menu {
padding-inline-start: 5ch; padding-inline-start: 5ch;
} }
@ -121,7 +125,6 @@ hr {
hr::after { hr::after {
content: "---"; content: "---";
font-weight: bold;
} }
pre { pre {
@ -159,6 +162,13 @@ code {
} }
/* image and multimedia */
img {
max-width: 100%;
}
/* table content */ /* table content */
table { table {
@ -182,33 +192,27 @@ td {
/* layout */ /* layout */
body { main {
width: 100vw;
height: 100vh; height: 100vh;
}
body>main {
width: 100%;
height: 100%;
display: grid; display: grid;
grid-auto-flow: column; grid-auto-flow: column;
grid-auto-columns: var(--col-w); grid-auto-columns: var(--col-w);
/*gap: 1ch;*/
overflow-x: scroll; overflow-x: scroll;
} }
body>main>* { main>* {
padding: 1rlh 1ch; padding: 1rlh 1ch;
overflow-y: scroll; overflow-y: scroll;
} }
/* toc */ /* article.post */
nav.toc { article.post>header,
article.post>nav {
margin-block: 1rlh; margin-block: 1rlh;
} }
/* fenced divs */ /* div.horizontal */
div.horizontal { div.horizontal {
display: grid; display: grid;
@ -222,7 +226,7 @@ div.horizontal>* {
margin-block: unset; margin-block: unset;
} }
/* math */ /* .display.math */
.display.math { .display.math {
display: block; display: block;