Difference between revisions of "MediaWiki:Keybinds.css"
Jump to navigation
Jump to search
m |
m |
||
Line 15: | Line 15: | ||
} | } | ||
.SB-keybind-key::before { | .SB-keybind-key::before { | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
Line 25: | Line 25: | ||
} | } | ||
.SB-keybind-key::after { | .SB-keybind-key::after { | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; |
Revision as of 13:33, 19 July 2021
.SB-keybind-key {
border: 1px solid #ffffff36;
display: inline-block;
margin: 0.25em;
border-radius: 0.25em;
position: relative;
line-height: 1.3em;
font-size: 1em;
height: 5em;
cursor: pointer;
transition: border-color, 0.1s ease-in-out;
}
.SB-keybind-key:hover {
filter:brightness(1.5);
}
.SB-keybind-key::before {
display: block;
position: absolute;
top: 0.25em;
left: 0.5em;
font-size: 1.1em;
text-transform: uppercase;
white-space: pre;
}
.SB-keybind-key::after {
display: block;
position: absolute;
bottom: 0;
left: 0;
text-align: center;
margin: 0 0.25em 0.25em 0;
font-size: 1.2em;
font-variant: petite-caps;
}