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/docs/stylesheets/extra.css

83 lines
1.8 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;
}
.md-typeset .emojione svg, .md-typeset .gemoji svg, .md-typeset .twemoji svg {
fill: var(--md-default-fg-color--lighter);
max-height: 100%;
width: var(--md-icon-size);
}
.md-typeset .emojione svg, .md-typeset .gemoji svg, .md-typeset .twemoji svg:hover {
fill: var(--md-accent-fg-color);
transform:rotate(45deg);
}
.md-typeset .md-button.custom_width {
border-radius:0rem;
padding:.625em .91em;
}
.md-typeset .md-button {
border-radius:0rem;
padding:.625em 2.2em;
}