[Glitch] Add keyboard shortcut info banner to the boosting preferences section

Port 20961c7538 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion
2025-10-16 16:53:23 +02:00
committed by Claire
parent d81bdb96e0
commit e1b109f074
3 changed files with 18 additions and 0 deletions

View File

@@ -488,6 +488,14 @@ body,
}
}
kbd {
font-family: Courier, monospace;
background-color: color.change($ui-secondary-color, $alpha: 0.1);
padding: 4px;
padding-bottom: 2px;
border-radius: 5px;
}
.filters {
display: flex;
flex-wrap: wrap;

View File

@@ -755,6 +755,12 @@ code {
display: none;
}
&.hidden-on-touch-devices {
@media screen and (pointer: coarse) {
display: none;
}
}
a {
display: inline-block;
color: $darker-text-color;

View File

@@ -585,3 +585,7 @@ a.sparkline {
opacity: 0.25;
}
}
kbd {
background-color: color.change($ui-highlight-color, $alpha: 0.1);
}