Template:TemplateBox/styles.css: Difference between revisions
Template page
More actions
No text-shadow, please - makes the text difficult to read for ppl with vision problems (like me) |
Dark mode support |
||
| Line 5: | Line 5: | ||
} | } | ||
.templatebox-usagesample { | .templatebox-usagesample { | ||
font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', | font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', | ||
'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace; | 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace; | ||
| Line 15: | Line 13: | ||
} | } | ||
.templatebox-example { | .templatebox-example { | ||
border: 1px solid | border:1px solid var(--border-color-base,#a2a9b1); | ||
width: 90%; | width: 90%; | ||
padding: 1.5em; | padding: 1.5em; | ||
Revision as of 21:27, 4 July 2024
.templatebox-desc {
font-size: 1.2em;
font-weight: bolder;
padding: 0.2em;
}
.templatebox-usagesample {
font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono',
'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace;
}
.templatebox-languagedependant {
background: rgba(255, 255, 255, 0.5);
padding: 0.2em;
}
.templatebox-example {
border:1px solid var(--border-color-base,#a2a9b1);
width: 90%;
padding: 1.5em;
}
.templatebox-example:after {
display: block;
content: "";
clear: both;
}
hr.templatebox-examples-separator {
margin: 1em 0;
}