Show sourcecode
The following files exists in this folder. Click to view.
footer.css
header.css
main.css
ovningar.css
source.css
stylesheet.css
stylesheet.css
170 lines ASCII Unix (LF)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
:root {
--bg: #f4f8fe;
--surface: #ffffff;
--tint: #e6f0fd;
--line: #d3e2f6;
--text: #1b2f4b;
--muted: #62768f;
--primary: #2b6fe0;
--primary-dk: #164aa8;
--radius: 10px;
--shadow: 0 1px 2px rgba(22, 74, 168, .06), 0 6px 20px rgba(22, 74, 168, .07);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-padding-top: 1rem;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
font-size: 1rem;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
display: flex;
flex-direction: column;
}
main,
#content,
body > h1,
body > h2,
body > h3,
body > p {
max-width: 62rem;
margin-left: auto;
margin-right: auto;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
#content,
main {
margin-top: 2rem;
margin-bottom: 2rem;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
body > h1 {
margin-top: 2rem;
}
h1,
h2,
h3 {
color: var(--primary-dk);
line-height: 1.25;
letter-spacing: -.01em;
}
h1 {
font-size: clamp(1.8rem, 4vw, 2.5rem);
font-weight: 750;
margin: 0 0 .4em;
}
h2 {
font-size: clamp(1.3rem, 2.5vw, 1.7rem);
font-weight: 650;
margin: 1.4em 0 .5em;
padding-bottom: .35em;
border-bottom: 1px solid var(--line);
}
h3 {
font-size: 1.15rem;
font-weight: 650;
margin: 1.4em 0 .5em;
}
p {
margin: 0 0 1em;
}
a {
color: var(--primary);
text-decoration-thickness: 1px;
text-underline-offset: 3px;
}
a:hover {
color: var(--primary-dk);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
outline: 3px solid rgba(43, 111, 224, .45);
outline-offset: 2px;
border-radius: 4px;
}
hr {
border: 0;
border-top: 1px solid var(--line);
margin: 1.75rem 0;
}
code,
pre {
font-family: ui-monospace, "Cascadia Code", Consolas, "SF Mono", monospace;
font-size: .92em;
}
code {
background: var(--tint);
color: var(--primary-dk);
padding: .1em .4em;
border-radius: 5px;
}
pre {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 1rem;
overflow: auto;
}
pre code {
background: none;
padding: 0;
}
@media (max-width: 40rem) {
main,
#content {
margin: 1rem .75rem;
padding-left: 1rem;
padding-right: 1rem;
}
body > h1,
body > h2,
body > h3,
body > p {
padding-left: 1rem;
padding-right: 1rem;
}
}
@media (prefers-reduced-motion: reduce) {
* {
transition: none !important;
}
}