178 lines
2.3 KiB
CSS
178 lines
2.3 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0 none transparent;
|
|
|
|
box-sizing: border-box;
|
|
scroll-behavior: smooth;
|
|
|
|
font-family: 'Manrope Regular', sans-serif;
|
|
font-size: .85rem;
|
|
line-height: 1.5;
|
|
|
|
color: inherit;
|
|
}
|
|
|
|
html {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
background-color: var(--surface);
|
|
}
|
|
|
|
body {
|
|
margin: 5vh 0 10vh 0;
|
|
width: min(90vw, 75ch);
|
|
color: var(--text);
|
|
}
|
|
|
|
header {
|
|
color: var(--primary);
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--accent);
|
|
font-weight: normal;
|
|
|
|
margin: 1.25em 0 .25em 0;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--primary);
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.65rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: .85rem;
|
|
}
|
|
|
|
h6 {
|
|
font-size: .75rem;
|
|
}
|
|
|
|
p {
|
|
margin: .5em 0 .25em 0;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent2);
|
|
}
|
|
|
|
b,
|
|
strong {
|
|
font-family: 'Manrope SemiBold', sans-serif;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.centered {
|
|
text-align: center;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1rem;
|
|
padding: .5rem 1rem;
|
|
|
|
border-left: .2rem solid var(--primary);
|
|
border-radius: 0 .5rem .5rem 0;
|
|
background-color: var(--grey3);
|
|
box-shadow: 0 1rem 2rem var(--grey1);
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
margin: 1rem 0 1rem 2rem;
|
|
}
|
|
|
|
ul ul,
|
|
ul ol,
|
|
ol ol,
|
|
ol ul {
|
|
margin: .25rem 0 .25rem 1rem;
|
|
}
|
|
|
|
table {
|
|
margin: 1rem 0;
|
|
width: 100%;
|
|
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
|
|
border-collapse: collapse;
|
|
box-shadow: 0 1rem 2rem var(--grey1);
|
|
}
|
|
|
|
table tbody {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
|
|
tr {
|
|
background-color: var(--grey3);
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: var(--grey2);
|
|
}
|
|
|
|
th {
|
|
font-family: 'Manrope SemiBold';
|
|
}
|
|
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
|
|
padding: .25rem 1rem;
|
|
border: 1px solid var(--grey4);
|
|
}
|
|
|
|
code {
|
|
background-color: var(--grey3);
|
|
font-family: monospace;
|
|
padding: .1rem .2rem;
|
|
margin: 0 .1rem;
|
|
border-radius: .2rem;
|
|
}
|
|
|
|
pre > code {
|
|
margin: 1rem 0;
|
|
padding: 1rem;
|
|
border-radius: .5rem;
|
|
box-shadow: 0 1rem 2rem var(--grey1);
|
|
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
code * {
|
|
font-family: monospace;
|
|
}
|
|
|
|
img {
|
|
margin: 1rem 5%;
|
|
border-radius: .5rem;
|
|
box-shadow: 0 1rem 2rem var(--grey1);
|
|
} |