phanpy/src/components/keyboard-shortcuts-help.css

45 lines
1 KiB
CSS
Raw Normal View History

2023-09-06 17:54:05 +03:00
#keyboard-shortcuts-help-container {
table {
tr > * {
border-top: 1px solid var(--outline-color);
vertical-align: middle;
}
2023-09-06 17:54:05 +03:00
th {
font-weight: normal;
text-align: start;
padding: 0.25em 0;
line-height: 1;
2023-09-08 10:32:31 +03:00
width: 60%;
2023-09-06 17:54:05 +03:00
}
td {
padding: 0.25em 1em;
}
}
kbd {
border-radius: 4px;
display: inline-block;
2023-09-08 10:32:31 +03:00
padding: 0.2em 0.3em;
margin: 1px 0;
2023-09-06 17:54:05 +03:00
line-height: 1;
border: 1px solid var(--outline-color);
background-color: var(--bg-faded-color);
2023-09-08 10:32:31 +03:00
background-image: linear-gradient(
to top,
var(--bg-blur-color),
transparent
);
text-shadow: 0 1px var(--bg-color);
box-shadow: 0 1px var(--drop-shadow-color),
0 1px 1px var(--drop-shadow-color), 0 1px 8px var(--drop-shadow-color),
inset 0 1px var(--bg-blur-color);
&:active {
box-shadow: 0 1px 4px var(--drop-shadow-color),
inset 0 1px var(--bg-blur-color);
transform: translateY(1px);
filter: brightness(0.95);
}
2023-09-06 17:54:05 +03:00
}
}