style.css (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
@font-face {
font-family: lexend;
src: url("assets/fonts/lexend-latin-400-normal.woff2");
font-weight: 400;
}
@font-face {
font-family: lexend;
src: url("assets/fonts/lexend-latin-800-normal.woff2");
font-weight: 800;
}
@font-face {
font-family: montserrat;
src: url("assets/fonts/montserrat-latin-800-normal.woff2");
font-weight: 800;
}
:root {
--c-bg: #1e1e2e;
--c-fg: #cdd6f4;
--c-surface: #313244;
--c-overlay: #6c7086;
--c-link: #8caaee;
--c-visited: #ca9ee6;
--code-bg: #11111b;
--f-heading: 'Montserrat', sans-serif;
--f-text: 'Lexend', sans-serif;
}
html {
font-family: var(--f-text);
color: var(--c-fg);
background-color: var(--c-bg);
font-size: 1.5rem;
}
body {
max-width: 80dvw;
padding-left: 1rem;
padding-right: 1rem;
margin: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1em;
margin-bottom: 0.5em;
font-family: var(--f-heading);
a {
text-decoration: none;
&:visited {
color: var(--c-link);
}
}
}
#top {
margin-top: 1rem;
}
#contact table {
text-align: start;
& th {
text-align: left;
padding-right: 0.5rem;
}
}
a {
color: var(--c-link);
&:visited {
color: var(--c-visited);
}
}
#buttons {
margin-top: 3rem;
img {
image-rendering: auto;
image-rendering: crisp-edges;
image-rendering: pixelated;
image-rendering: -webkit-optimize-contrast;
}
}
#webrings p {
margin-top: 0.1rem;
}
.image-blog {
display: flex;
flex-direction: row;
img {
max-width: 30dvw;
height: auto;
margin-left: 2rem;
}
}
@media screen and (max-width: 1200px) {
.image-blog {
display: inline-block;
img {
max-width: 50dvw;
margin-left: 0;
}
}
div:has(img) {
width: 50dvw;
margin: auto;
}
body {
max-width: 100dvw;
}
}
pre {
background-color: var(--code-bg);
padding-left: 1rem;
padding-left: 1rem;
border-radius: 1rem;
font-size: 0.8rem;
& .comment {
color: var(--c-overlay);
}
}
|