mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-04 18:59:03 +00:00
eab9bcf228
We don't provide web fonts for those, no need to have a fallback font
38 lines
806 B
Plaintext
38 lines
806 B
Plaintext
.citizen-keyboard-hint {
|
|
display: none;
|
|
gap: var( --space-xs );
|
|
font-size: var( --font-size-x-small );
|
|
line-height: 1;
|
|
|
|
/* Should have a keyboard */
|
|
@media ( hover: hover ) and ( pointer: fine ) {
|
|
display: flex;
|
|
}
|
|
|
|
&-label {
|
|
color: var( --color-base );
|
|
}
|
|
|
|
&-key {
|
|
font-size: var( --font-size-x-small );
|
|
font-weight: var( --font-weight-normal );
|
|
color: var( --color-subtle );
|
|
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
|
|
text-transform: capitalize;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
}
|
|
|
|
/* Align keyhint to the right */
|
|
.citizen-menu .mw-list-item .citizen-keyboard-hint-key {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/*
|
|
* Hide key hint in main menu for now
|
|
* It has some wrapping issue with long label text
|
|
*/
|
|
#p-navigation .citizen-keyboard-hint-key {
|
|
display: none;
|
|
}
|