2024-09-22 17:57:09 +02:00
|
|
|
:root {
|
|
|
|
--font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Cantarell, Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
|
--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
|
2024-09-22 22:37:52 +02:00
|
|
|
|
|
|
|
--accent-color-dark: #1971c2;
|
2024-10-05 18:14:52 +02:00
|
|
|
--accent-color-dark-hover: #1864ab;
|
2024-09-22 22:37:52 +02:00
|
|
|
--accent-color-light: #d0ebff;
|
2024-10-05 18:14:52 +02:00
|
|
|
--accent-color-light-hover: #e7f5ff;
|
2024-09-22 22:37:52 +02:00
|
|
|
|
2024-09-23 09:00:22 +02:00
|
|
|
--text-color: #212529;
|
2024-10-05 16:57:16 +02:00
|
|
|
--border-color: rgba(0,0,0,0.15);
|
2024-09-23 09:00:22 +02:00
|
|
|
--hover-color: rgba(0,0,0,0.05);
|
|
|
|
|
2024-09-22 18:48:26 +02:00
|
|
|
--background-color: #f8f9fa;
|
|
|
|
--well-color: #e9ecef;
|
2024-09-22 22:37:52 +02:00
|
|
|
|
|
|
|
--accent-color: var(--accent-color-dark);
|
|
|
|
--accent-color-back: var(--accent-color-light);
|
2024-10-05 18:14:52 +02:00
|
|
|
--accent-color-hover: var(--accent-color-dark-hover);
|
2024-10-05 16:57:16 +02:00
|
|
|
|
|
|
|
--border-radius: 6px;
|
2024-09-22 18:48:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
2024-09-23 09:00:22 +02:00
|
|
|
--text-color: #e9ecef;
|
2024-09-22 18:48:26 +02:00
|
|
|
--background-color: #212529;
|
|
|
|
--well-color: #343a40;
|
2024-09-22 22:37:52 +02:00
|
|
|
--accent-color: var(--accent-color-light);
|
|
|
|
--accent-color-back: var(--accent-color-dark);
|
2024-10-05 18:14:52 +02:00
|
|
|
--accent-color-hover: var(--accent-color-light-hover);
|
2024-09-23 09:00:22 +02:00
|
|
|
|
|
|
|
--border-color: rgba(255,255,255,0.2);
|
|
|
|
--hover-color: rgba(255,255,255,0.1);
|
2024-09-22 18:48:26 +02:00
|
|
|
}
|
2024-09-22 17:57:09 +02:00
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
|
2019-11-04 15:28:23 +01:00
|
|
|
html {
|
2024-09-22 17:57:09 +02:00
|
|
|
font-family: var(--font-family);
|
2018-10-13 16:49:21 +02:00
|
|
|
text-align: left;
|
2024-09-22 18:33:17 +02:00
|
|
|
font-size: 17px;
|
2024-09-22 18:48:26 +02:00
|
|
|
background-color: var(--background-color);
|
|
|
|
accent-color: var(--accent-color);
|
2024-09-22 18:55:39 +02:00
|
|
|
line-height: 1.6rem;
|
2019-11-04 15:28:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2024-09-22 18:48:26 +02:00
|
|
|
color: var(--text-color);
|
2018-10-13 16:49:21 +02:00
|
|
|
font-weight: 400;
|
2024-09-22 18:33:17 +02:00
|
|
|
max-width: 800px;
|
2024-09-22 17:59:41 +02:00
|
|
|
padding:1rem;
|
|
|
|
margin: auto;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
2024-09-22 18:55:39 +02:00
|
|
|
nav ul {
|
|
|
|
display: flex;
|
2024-09-23 10:10:28 +02:00
|
|
|
flex-wrap: wrap;
|
2024-09-22 18:55:39 +02:00
|
|
|
padding: .5rem 0;
|
|
|
|
border-top: 1px solid var(--border-color);
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin:0;
|
|
|
|
a, span {
|
|
|
|
padding: .5rem;
|
|
|
|
}
|
2024-10-05 18:24:02 +02:00
|
|
|
|
|
|
|
&.separator {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2024-09-22 18:55:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
// Typography
|
|
|
|
|
|
|
|
p,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
ul,
|
|
|
|
ol,
|
|
|
|
hr,
|
|
|
|
table,
|
|
|
|
details
|
|
|
|
main,
|
2024-09-29 16:31:01 +02:00
|
|
|
.p,
|
2024-10-05 16:57:16 +02:00
|
|
|
input,
|
2024-10-05 17:13:50 +02:00
|
|
|
textarea,
|
|
|
|
select,
|
2024-10-05 17:25:05 +02:00
|
|
|
hgroup,
|
2024-09-22 22:37:52 +02:00
|
|
|
article {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 1rem 0;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
|
|
|
|
p {
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2024-09-22 18:48:26 +02:00
|
|
|
color: var(--accent-color);
|
2018-10-13 16:49:21 +02:00
|
|
|
text-decoration:none;
|
2024-09-22 19:01:31 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
padding: 1px;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--hover-color);
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
:is(ul, ol) > :is(ul, ol) {
|
|
|
|
margin-bottom:0;
|
2018-10-13 17:35:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
li {
|
2024-09-23 10:00:11 +02:00
|
|
|
margin-left: 1rem;
|
2019-11-07 12:49:17 +01:00
|
|
|
}
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
::selection, ::-moz-selection {
|
|
|
|
background: var(--accent-color-back);
|
|
|
|
color: var(--text-color);
|
2019-11-07 12:49:17 +01:00
|
|
|
}
|
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
hr {
|
|
|
|
border:0;
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
2019-11-07 12:49:17 +01:00
|
|
|
}
|
|
|
|
|
2024-09-23 10:00:11 +02:00
|
|
|
code,
|
2024-09-23 09:47:15 +02:00
|
|
|
mark {
|
2024-09-23 10:00:11 +02:00
|
|
|
background-color:var(--well-color);
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 3px;
|
2024-09-23 09:47:15 +02:00
|
|
|
}
|
|
|
|
|
2024-09-23 10:00:11 +02:00
|
|
|
mark {
|
|
|
|
background-color: var(--accent-color-back);
|
2024-09-29 16:45:17 +02:00
|
|
|
color:currentColor;
|
2024-09-23 10:00:11 +02:00
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
|
2024-09-23 10:00:11 +02:00
|
|
|
pre, code {
|
|
|
|
font-family: var(--font-family-monospace);
|
2018-10-13 17:13:38 +02:00
|
|
|
}
|
|
|
|
|
2024-10-05 17:41:09 +02:00
|
|
|
p > img:only-child {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
margin:auto;
|
|
|
|
}
|
|
|
|
|
2024-09-23 10:00:11 +02:00
|
|
|
/* ------------------ TITLES ------------------- */
|
|
|
|
|
2024-10-05 17:25:05 +02:00
|
|
|
hgroup > :is(h1, h2, h3, h4, h5, h6) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
hgroup {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2024-09-22 18:10:43 +02:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2018-10-13 16:56:11 +02:00
|
|
|
text-align: left;
|
2024-09-22 18:10:43 +02:00
|
|
|
line-height: 1;
|
2024-09-23 10:00:11 +02:00
|
|
|
font-weight:700;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 3rem;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 2.33rem;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 1.75rem;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 1.5rem;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 1.25rem;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2024-09-23 10:00:11 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 800;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ HR ------------------- */
|
|
|
|
|
2024-09-23 10:00:11 +02:00
|
|
|
/* ------------------ blocks ------------------- */
|
2018-10-13 16:49:21 +02:00
|
|
|
|
2024-09-22 22:37:52 +02:00
|
|
|
blockquote,
|
|
|
|
pre,
|
|
|
|
details {
|
|
|
|
border: 0;
|
|
|
|
border-radius: 6px;
|
|
|
|
margin: 0 0 1rem 0;
|
|
|
|
padding: .75rem;
|
|
|
|
max-width: 100%;
|
|
|
|
background-color: var(--well-color);
|
|
|
|
border: 0;
|
|
|
|
border-left: 6px solid var(--accent-color);
|
|
|
|
}
|
|
|
|
|
2024-09-29 16:12:08 +02:00
|
|
|
pre code {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-05 18:02:54 +02:00
|
|
|
pre {
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
2024-09-23 10:13:26 +02:00
|
|
|
summary {
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 0.9em;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--hover-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-05 16:57:16 +02:00
|
|
|
/* ------------------ INPUT ------------------- */
|
|
|
|
|
|
|
|
a, button, input {
|
|
|
|
outline-color: var(--accent-color);
|
|
|
|
outline-style: none;
|
|
|
|
outline-width: 2px;
|
|
|
|
&:focus-visible {
|
|
|
|
outline-style: dashed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-05 17:13:50 +02:00
|
|
|
input, textarea, select {
|
2024-10-05 16:57:16 +02:00
|
|
|
display:block;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
outline-offset: 2px;
|
|
|
|
padding: .5rem;
|
|
|
|
color: var(--text-color);
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--hover-color);
|
|
|
|
}
|
2024-10-05 18:02:54 +02:00
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: scroll;
|
2024-10-05 16:57:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-size: .9rem;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
2024-10-05 17:13:50 +02:00
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2024-10-05 18:05:23 +02:00
|
|
|
box-sizing: border-box;
|
2024-10-05 17:13:50 +02:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-10-05 16:57:16 +02:00
|
|
|
input[type=checkbox], input[type=radio] {
|
|
|
|
display: inline-block;
|
|
|
|
appearance: none;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
font-size: 1rem;
|
|
|
|
height:1em;
|
|
|
|
width:1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
line-height: 1;
|
|
|
|
padding:0;
|
|
|
|
margin: 0 .25em;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
content: "";
|
|
|
|
position: relative;
|
2024-10-05 17:42:12 +02:00
|
|
|
top: .2rem;
|
2024-10-05 16:57:16 +02:00
|
|
|
|
|
|
|
&:checked {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
box-shadow:inset 0px 0px 0px 3px var(--background-color);
|
|
|
|
|
2024-10-05 18:14:52 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--accent-color-hover);
|
|
|
|
box-shadow:inset 0px 0px 0px 3px color-mix(in srgb, var(--background-color) 90%, currentColor);
|
|
|
|
}
|
2024-10-05 16:57:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=radio] {
|
|
|
|
border-radius: 9999px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
button, .button, input[type=submit], input[type=reset], input[type=button] {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
color: var(--background-color);
|
|
|
|
border: none;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
outline-offset: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&:hover {
|
2024-10-05 18:14:52 +02:00
|
|
|
background-color: var(--accent-color-hover);
|
2024-10-05 16:57:16 +02:00
|
|
|
}
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
|
2024-10-05 18:02:54 +02:00
|
|
|
/* Tables */
|
|
|
|
|
|
|
|
.responsive-table {
|
|
|
|
width:100%;
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: separate;
|
|
|
|
width:100%;
|
|
|
|
border:0;
|
|
|
|
border-spacing: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
caption {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.centered th, table.centered td {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr, th, td {
|
|
|
|
border:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
background-color: var(--well-color);
|
|
|
|
padding:.33rem .66rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
table:not(:has(thead)) tr:first-child, table > tr:first-child, table thead tr:first-child {
|
|
|
|
td:first-child, th:first-child {
|
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
td:last-child, th:last-child {
|
|
|
|
border-top-right-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table > tr:last-child, table tbody tr:last-child {
|
|
|
|
td:first-child, th:first-child {
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
td:last-child, th:last-child {
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-13 16:49:21 +02:00
|
|
|
/* ------------------ SPECIAL STYLING ------------------- */
|
|
|
|
|
2024-09-23 09:47:15 +02:00
|
|
|
.flex {
|
|
|
|
display: flex;
|
2024-09-23 10:10:28 +02:00
|
|
|
flex-wrap: wrap;
|
2024-09-23 09:47:15 +02:00
|
|
|
justify-content: space-between;
|
2024-09-22 22:37:52 +02:00
|
|
|
}
|