MediaWiki:Keybinds.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.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 {
/*border-color: #3a8080bf;*/
filter:brightness(1.5);
}
.SB-keybind-key::before {
content: attr(data-keycap);
display: block;
position: absolute;
top: 0.25em;
left: 0.5em;
font-size: 1.1em;
text-transform: uppercase;
white-space: pre;
}
.SB-keybind-key::after {
content: attr(data-keybind);
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;
}
.SB-keybind-gap {
display: inline-block;
}
.SB-keybind-info-title {
display: block;
margin-bottom: 0.5em;
font-family: kenneyfuture;
font-size: 1.3em;
color: #edcd50;
}
.SB-keybind-info {
position: absolute;
width: 300%;
left: -100%;
top: 110%;
background: #193b3bcc;
padding: 1em;
border-radius: 0.5em;
text-align: center;
transition: opacity 0.15s ease-in-out;
font-size: 1.25em;
box-shadow: 2px 2px 4px 2px black;
border: 1px solid #3a80809e;
cursor: auto;
opacity: 0;
transition: opacity 0.15s ease-in-out;
pointer-events: none;
}
.SB-keybind-active::after, .SB-keybind-active::before {
color: #edcd50;
}
.SB-keybind-active .SB-keybind-info {
opacity: 1;
pointer-events: auto;
}
.SB-keybind-active {
z-index: 2;
border-color: #ffffff40;
filter: brightness(1.5);
}
/* Keybind row colors linear-gradient(to bottom,#1e2949,#0a1c2a,#0b2732)*/