2024-02-19 20:27:45 +01:00
|
|
|
|
|
|
|
|
2024-02-17 22:27:58 +01:00
|
|
|
html {
|
2024-02-19 14:45:43 +01:00
|
|
|
-webkit-hyphens: auto;
|
2024-02-17 22:27:58 +01:00
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
2024-02-17 11:02:48 +01:00
|
|
|
h1 {
|
|
|
|
margin-top: var(--pico-spacing);
|
|
|
|
}
|
|
|
|
|
2024-02-17 10:55:32 +01:00
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
--pico-font-weight: 400;
|
|
|
|
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
--pico-font-size: 1.3rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
--pico-font-size: 1.2rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
--pico-font-size: 1.1rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
2024-02-17 22:05:51 +01:00
|
|
|
mark {
|
|
|
|
--pico-mark-gradient: linear-gradient(270deg, #08AEEA 0%, #2AF598 100%);
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
background: var(--pico-mark-gradient);
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
2024-02-17 10:55:32 +01:00
|
|
|
details summary {
|
|
|
|
line-height: unset;
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:27:45 +01:00
|
|
|
details > summary {
|
|
|
|
position: sticky;
|
|
|
|
top: 0px;
|
|
|
|
z-index: 99;
|
|
|
|
background-color: var(--pico-background-color);
|
|
|
|
}
|
|
|
|
details details > summary {
|
|
|
|
top: 1.3rem; /* Height of h2*/
|
|
|
|
z-index: 98;
|
|
|
|
}
|
|
|
|
details details details > summary {
|
|
|
|
top: calc(1.3rem + 1.2rem);
|
|
|
|
z-index: 97;
|
|
|
|
}
|
|
|
|
details details details details > summary {
|
|
|
|
top: calc(1.3rem + 1.2rem + 1.1rem);
|
|
|
|
z-index: 96;
|
|
|
|
}
|
|
|
|
details details details details details > summary {
|
|
|
|
/* make sure to properly style enough levels of sticky headers :^) */
|
|
|
|
height: 1000px;
|
|
|
|
background-color:red;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-02-17 10:55:32 +01:00
|
|
|
.par {
|
|
|
|
margin-bottom: calc(var(--pico-spacing) * 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.symb {
|
|
|
|
--pico-font-weight: 700;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: calc(var(--pico-spacing) / 3);
|
|
|
|
font-weight: var(--pico-font-weight)
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
--pico-font-weight: 300;
|
|
|
|
|
|
|
|
font-weight: var(--pico-font-weight);
|
|
|
|
}
|
|
|
|
|
2024-02-17 11:02:48 +01:00
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
--pico-font-weight: 400;
|
|
|
|
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
--pico-font-size: 1.3rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
--pico-font-size: 1.2rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
--pico-font-size: 1.1rem;
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
details summary {
|
|
|
|
line-height: unset;
|
|
|
|
}
|
|
|
|
|
2024-02-19 19:24:12 +01:00
|
|
|
.par > ul {
|
2024-02-17 11:18:38 +01:00
|
|
|
margin: var(--pico-spacing) 0;
|
2024-02-19 14:41:19 +01:00
|
|
|
padding: 0;
|
2024-02-17 11:02:48 +01:00
|
|
|
}
|
|
|
|
|
2024-02-19 19:24:12 +01:00
|
|
|
.par > ul > li {
|
2024-02-19 14:41:19 +01:00
|
|
|
list-style: none;
|
2024-02-17 22:11:19 +01:00
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
2024-02-19 19:24:12 +01:00
|
|
|
ul {
|
2024-02-19 14:41:19 +01:00
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
|
2024-02-19 19:24:12 +01:00
|
|
|
li {
|
2024-02-19 14:41:19 +01:00
|
|
|
list-style: square;
|
|
|
|
}
|
|
|
|
|
2024-02-17 16:51:14 +01:00
|
|
|
button {
|
|
|
|
--pico-form-element-spacing-vertical: 0.25rem;
|
|
|
|
}
|
|
|
|
|
2024-02-19 15:05:57 +01:00
|
|
|
body > footer {
|
|
|
|
padding-block: calc(var(--pico-block-spacing-vertical) * 2);
|
2024-02-19 17:51:02 +01:00
|
|
|
background: linear-gradient(180deg, black, transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
:root:not([data-theme=dark]) body > footer,
|
|
|
|
[data-theme=light] body > footer {
|
|
|
|
background: linear-gradient(180deg, rgba(0,0,0,.1), transparent);
|
2024-02-19 15:05:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* approx 800px */
|
|
|
|
.container {
|
|
|
|
max-width: 38rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-container {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0rem;
|
|
|
|
right: 0rem;
|
|
|
|
padding: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
background: linear-gradient(180deg, transparent, var(--pico-background-color), var(--pico-background-color));
|
|
|
|
}
|
|
|
|
|
2024-02-17 16:51:14 +01:00
|
|
|
.btn-open,
|
|
|
|
.btn-close {
|
2024-02-17 21:49:35 +01:00
|
|
|
font-size: .8rem;
|
2024-02-19 15:05:57 +01:00
|
|
|
display: inline-block;
|
2024-02-17 16:51:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-open {
|
2024-02-19 15:05:57 +01:00
|
|
|
margin-right: 1rem;
|
2024-02-17 16:51:14 +01:00
|
|
|
}
|
|
|
|
|
2024-02-17 11:02:48 +01:00
|
|
|
.par {
|
|
|
|
margin-bottom: calc(var(--pico-spacing) * 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.symb {
|
|
|
|
--pico-font-weight: 700;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: calc(var(--pico-spacing) / 3);
|
|
|
|
font-weight: var(--pico-font-weight)
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
--pico-font-weight: 300;
|
|
|
|
|
|
|
|
font-weight: var(--pico-font-weight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2024-02-17 11:07:08 +01:00
|
|
|
.note {
|
|
|
|
--pico-font-weight: 200;
|
|
|
|
|
|
|
|
font-weight: var(--pico-font-weight);
|
2024-02-17 11:18:38 +01:00
|
|
|
display: block;
|
2024-02-17 11:07:08 +01:00
|
|
|
font-style: italic;
|
|
|
|
padding: calc(var(--pico-spacing) / 3) 0;
|
|
|
|
}
|
2024-02-19 17:09:20 +01:00
|
|
|
|
|
|
|
/* List index.html */
|
|
|
|
ol {
|
|
|
|
counter-reset: index;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List element index.html */
|
|
|
|
ol li {
|
|
|
|
counter-increment: index;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 12px 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Element counter */
|
|
|
|
ol li::before {
|
|
|
|
content: "§";
|
|
|
|
font-size: 1.5rem;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 12px;
|
|
|
|
align-self: flex-start;
|
2024-02-19 17:51:02 +01:00
|
|
|
background-image: linear-gradient(to bottom, #08AEEA, #2AF598);
|
2024-02-19 17:09:20 +01:00
|
|
|
background-attachment: fixed;
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Element separation */
|
|
|
|
ol li + li {
|
|
|
|
border-top: var(--pico-contrast-focus) solid 1px;
|
2024-02-19 18:11:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root:not([data-theme=dark]) .dark-inline,
|
|
|
|
[data-theme=light] .dark-inline{
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root:not([data-theme=dark]) .dark-hidden,
|
|
|
|
[data-theme=light] .dark-hidden {
|
|
|
|
display: none;
|
2024-02-19 19:04:05 +01:00
|
|
|
}
|