Remove iwb, remove templates, reduce margins

This commit is contained in:
Florine W. Dekker 2022-11-19 22:12:32 +01:00
parent 239be7235f
commit 723974d103
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
3 changed files with 21 additions and 24 deletions

View File

@ -35,21 +35,6 @@ a[target="_blank"]::after {
}
}
/* Input with button next to it */
.input-with-button {
display: flex;
}
.input-with-button > *:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.input-with-button > *:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/* Container with table of contents */
@media (min-width: 576px) {
.container-with-toc {

View File

@ -1,11 +1,4 @@
/* Make arrow next to dropdown visible */
select {
-webkit-appearance: menulist;
-moz-appearance: menulist;
appearance: auto;
}
/* Set spacing to half that of pico.css */
/* pico.css: Halve header margins */
h1 {
--typography-spacing-vertical: 1.5rem;
}
@ -29,3 +22,22 @@ h5 {
h6 {
--typography-spacing-vertical: 0.75rem;
}
/* pico.css: Reduce `article` margins */
article {
--block-spacing-vertical: 0;
margin-bottom: 3rem;
}
article > header {
padding: 2rem;
}
article > header hgroup {
margin-bottom: 0;
}
article > .article-contents {
margin-top: 1rem;
margin-bottom: 3rem;
}

View File

@ -225,4 +225,4 @@ doAfterLoad(() => {
// Export to namespace
window.fwdekker = {stringToHtml, $, $a, doAfterLoad, nav, footer};
window.fwdekker = {stringToHtml, $, $a, doAfterLoad};