website-risg/templates/style.css
2024-02-19 17:09:20 +01:00

217 lines
3.1 KiB
CSS

html {
-webkit-hyphens: auto;
hyphens: auto;
}
h1 {
margin-top: var(--pico-spacing);
}
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;
}
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;
}
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);
}
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;
}
ul {
margin: var(--pico-spacing) 0;
padding: 0;
}
ul > li {
list-style: none;
margin: 1rem 0;
}
ul > li > ul {
padding: 0 2rem;
}
ul > li > ul > li {
list-style: square;
}
button {
--pico-form-element-spacing-vertical: 0.25rem;
}
body > footer {
padding-block: calc(var(--pico-block-spacing-vertical) * 2);
}
/* 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));
}
.btn-open,
.btn-close {
font-size: .8rem;
display: inline-block;
}
.btn-open {
margin-right: 1rem;
}
.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;
}
.note {
--pico-font-weight: 200;
font-weight: var(--pico-font-weight);
display: block;
font-style: italic;
padding: calc(var(--pico-spacing) / 3) 0;
}
/* 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;
background-image: linear-gradient(to bottom, aquamarine, orangered);
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;
}