Update extra.css

- Cleaned: CSS.
- Changed: Increase width of the page.
- Removed: bottom navigation.
pull/966/head
TRaSH 2 years ago
parent 2458719396
commit c3f1be090c

@ -1,21 +1,30 @@
/* Footer */
:root > * { :root > * {
/* Footer */
--md-footer-bg-color: hsla(232, 54%, 41%, 1); --md-footer-bg-color: hsla(232, 54%, 41%, 1);
--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32); --md-footer-bg-color--dark: hsla(232, 54%, 41%, 1);
} }
/*Change footnotes font size */ /*Change footnotes font size */
.md-typeset .footnote { .md-typeset .footnote {
font-size: 12px; font-size: 12px;
} }
th {
color:white !important; /* Maximum space for text block */
background-color:hsla(232, 54%, 41%, 1) !important; .md-grid {
font-weight: bold; max-width: 76%; /* or 100%, if you want to stretch to full-width */
}
/* remove bottom navigation */
.md-footer__inner:not([hidden]) {
display: none
} }
/* Change color of links */
.md-content { .md-content {
--md-typeset-a-color: orange; --md-typeset-a-color: orange;
} }
/* center buy me a coffee */
footer.sponsorship { footer.sponsorship {
text-align: center; text-align: center;
hr { hr {
@ -23,6 +32,7 @@ footer.sponsorship {
vertical-align: middle; vertical-align: middle;
} }
} }
/*Better table view */ /*Better table view */
th, td { th, td {
border: 1px solid var(--md-typeset-table-color); border: 1px solid var(--md-typeset-table-color);
@ -43,10 +53,12 @@ th, td {
.md-typeset__table table:not([class]) td, .md-typeset__table table:not([class]) th { .md-typeset__table table:not([class]) td, .md-typeset__table table:not([class]) th {
padding: 9px; padding: 9px;
} }
/* light mode alternating table bg colors */ /* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) { .md-typeset__table tr:nth-child(2n) {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
/* dark mode alternating table bg colors */ /* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) { [data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue),25%,25%,1) background-color: hsla(var(--md-hue),25%,25%,1)

Loading…
Cancel
Save