[TASK] add basic custom styling
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
Marie Birner 2024-02-17 10:55:32 +01:00
parent 42150a6561
commit 2a05afa892
3 changed files with 99 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/target /target
.history

View File

@ -1,3 +1,50 @@
h2,h3,h4,h5,h6 { h2,
display: inline; 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;
}
details summary {
line-height: unset;
}
.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);
}
details[open] summary {
position: sticky;
} }

View File

@ -1,3 +1,50 @@
h2,h3,h4,h5,h6 { h2,
display: inline; 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;
}
details summary {
line-height: unset;
}
.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);
}
details[open] summary {
position: sticky;
} }