mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-11 22:16:22 +00:00
249ce640e9
This is causing some wrapping issue and needs to be revisited in the future
34 lines
644 B
Plaintext
34 lines
644 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-weight: var( --font-weight-normal );
|
|
color: var( --color-subtle );
|
|
}
|
|
}
|
|
|
|
/* Align keyhint to the right */
|
|
.citizen-menu .mw-list-item a > span:has( + .citizen-keyboard-hint-key ) {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/*
|
|
* 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;
|
|
}
|