You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TRaSH-Guides/stylesheets/extra.css

66 lines
1.3 KiB

/* Footer */
:root > * {
--md-footer-bg-color: hsla(232, 54%, 41%, 1);
--md-footer-bg-color--dark: hsla(232, 54%, 41%, 1);
}
/*Change footnotes font size */
.md-typeset .footnote {
font-size: 12px;
}
/* remove bottom navigation */
.md-footer__inner:not([hidden]) {
display: none;
}
/* Change color of links */
.md-content {
--md-typeset-a-color: orange;
}
/* center buy me a coffee */
footer.sponsorship {
text-align: center;
hr {
display: inline-block;
vertical-align: middle;
}
}
/*Better table view */
th,
td {
border: 1px solid var(--md-typeset-table-color);
border-spacing: 0;
border-bottom: none;
border-left: none;
border-top: none;
}
.md-typeset__table {
width: 100%;
line-height: 1;
}
.md-typeset__table table:not([class]) {
display: table;
font-size: 0.74rem;
border-right: none;
}
.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
padding: 9px;
}
/* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) {
background-color: #f8f8f8;
}
/* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue), 25%, 25%, 1);
}
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
color: #f8f8f8;
}