orgmode-to-gemini-blog/html-websites/tykayn_blog/style.css

125 lines
1.8 KiB
CSS
Raw Normal View History

2024-11-10 15:58:11 +01:00
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 1rem;
font-family: Helvetica, "Ubuntu Sans", "Noto Sans", Calibri, Arial, sans-serif;
}
body {
text-align: left;
margin: 0 auto;
font-size: 1.5rem;
line-height: 1.5em;
max-width: 70ch;
color: #000;
background: #fff;
}
h1, h2, h3, h4, h5, h6 {
font-family: Helvetica, "Ubuntu Sans", "Noto Sans", Calibri, Arial, sans-serif;
margin-top: 1em;
margin-bottom: 2rem;
color: #333;
}
/* 1. Use a more-intuitive box-sizing model */
* {
box-sizing: border-box;
}
*::before, *::after {
box-sizing: border-box;
}
body {
/* Improve text rendering */
-webkit-font-smoothing: antialiased;
font-family: Helvetica, Arial, sans-serif;
padding-bottom: 20vh;
padding-left: 2rem;
padding-bottom: 2rem;
}
/* Improve media defaults */
img, picture, video, canvas, svg {
display: block;
width: 100%;
margin-top: 1rem;
margin-bottom: 1rem;
max-width: 100%;
}
/* Inherit fonts for form controls */
input, button, textarea, select {
font: inherit;
}
/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
/* Improve line wrapping */
p {
text-wrap: pretty;
margin-top: 1.5rem;
margin-bottom: 1rem;
}
h1 {
font-size: 4rem;
color: #221d30;
}
h2 {
font-size: 3rem;
}
h3 {
font-size: 1.5rem;
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
line-height: 1.3em;
}
#root, #__next {
isolation: isolate;
}
input, button, textarea, select {
font: inherit;
}
a {
display: inline-block;
padding: 0.5rem 2rem;
margin-right: 1rem;
margin-bottom: 1rem;
}
ul {
padding-left: 4ch;
padding-right: 4ch;
}
li {
margin-bottom: 1em;
}
#title-block-header {
display: none;
}
@media (max-width: 20rem) {
body {
padding: 1rem;
}
}
/*# sourceMappingURL=style_general.css.map */