Files
caldwell/assets/sass/common.scss
Nikolaos Karaolidis 8fac4841d4 Fix layout bugs
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-13 15:07:18 +01:00

65 lines
820 B
SCSS

:root {
background: var(--background);
color: var(--text);
font-size: 100%;
font-family: var(--font-family);
line-height: var(--line-height);
}
a {
text-decoration: none;
color: var(--text-600);
}
a:hover {
color: var(--text-800);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
overflow-wrap: break-word;
word-break: break-word;
}
hr {
margin: 1rem 0 1rem 0;
border: none;
height: 0.15rem;
background-color: color-mix(in srgb, var(--text) 30%, var(--background));
}
figure {
margin: 0;
}
blockquote {
margin: 1rem 0 1rem 0;
padding: 0.5rem 1rem 0.5rem 1rem;
}
body {
margin: 0.5rem;
min-height: calc(100vh - 1rem);
display: flex;
flex-direction: column;
main {
flex: 1;
}
}
p {
margin: 1.5rem 0 1.5rem 0;
}
li:not(:last-child) {
margin-bottom: 0.5rem;
}