chromium fix finally

This commit is contained in:
sundae 2025-09-10 10:19:57 +03:00
parent d2354910c0
commit d6c0697966
No known key found for this signature in database
9 changed files with 45 additions and 27 deletions

View file

@ -4,6 +4,16 @@
:root {
--view: 18rem;
}
/* i hate default styles >:( and also chrome */
h1, h2 ,h3 ,h4 ,h5 ,h6 {
display: block;
font-size: 2em;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
font-weight: bold;
}
body {
font-family: "Rubik", sans-serif;
@ -29,16 +39,13 @@ main {
details {
cursor: pointer;
display: flex;
flex-direction: column;
& summary::marker {
content: none;
}
}
h3 {
font-size: 2rem;
}
.header-anchor {
display: inline-block;
transition: color var(--trans), background-color var(--trans);
@ -101,7 +108,6 @@ article {
& pre {
display: flex;
width: auto;
overflow: scroll;
padding: var(--pad-m);
white-space: pre-wrap;
word-break: break-word;