MediaWiki:Common.less/templates.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created blank page) |
No edit summary |
||
Line 1: | Line 1: | ||
/* ================== |
|||
TEMPLATES |
|||
==================*/ |
|||
:root { |
|||
--keypress-background: @gallery; |
|||
--keypress-border: @silver; |
|||
--keypress-color: @mineshaft; |
|||
} |
|||
// Template:Key press |
|||
.keypress { |
|||
background: var(--keypress-background); |
|||
color: var(--keypress-color); |
|||
font-family: inherit; |
|||
border: 1px solid var(--keypress-border); |
|||
border-radius: @border-radius; |
|||
font-size: 0.9em; |
|||
margin: 0 0.1em; |
|||
padding: 0.1em 0.4em; |
|||
white-space: nowrap; |
|||
} |
Revision as of 18:38, 22 March 2024
/* ==================
TEMPLATES
==================*/
:root {
--keypress-background: @gallery;
--keypress-border: @silver;
--keypress-color: @mineshaft;
}
// Template:Key press
.keypress {
background: var(--keypress-background);
color: var(--keypress-color);
font-family: inherit;
border: 1px solid var(--keypress-border);
border-radius: @border-radius;
font-size: 0.9em;
margin: 0 0.1em;
padding: 0.1em 0.4em;
white-space: nowrap;
}