Remove iwb, remove templates, reduce margins
This commit is contained in:
parent
239be7235f
commit
723974d103
|
@ -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 */
|
/* Container with table of contents */
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
.container-with-toc {
|
.container-with-toc {
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
/* Make arrow next to dropdown visible */
|
/* pico.css: Halve header margins */
|
||||||
select {
|
|
||||||
-webkit-appearance: menulist;
|
|
||||||
-moz-appearance: menulist;
|
|
||||||
appearance: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set spacing to half that of pico.css */
|
|
||||||
h1 {
|
h1 {
|
||||||
--typography-spacing-vertical: 1.5rem;
|
--typography-spacing-vertical: 1.5rem;
|
||||||
}
|
}
|
||||||
|
@ -29,3 +22,22 @@ h5 {
|
||||||
h6 {
|
h6 {
|
||||||
--typography-spacing-vertical: 0.75rem;
|
--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;
|
||||||
|
}
|
||||||
|
|
|
@ -225,4 +225,4 @@ doAfterLoad(() => {
|
||||||
|
|
||||||
|
|
||||||
// Export to namespace
|
// Export to namespace
|
||||||
window.fwdekker = {stringToHtml, $, $a, doAfterLoad, nav, footer};
|
window.fwdekker = {stringToHtml, $, $a, doAfterLoad};
|
||||||
|
|
Loading…
Reference in New Issue