LookingGlass/doc/css/lg-custom.css
Quantum b6f994b511 [doc] css: add custom style for <kbd> elements
This makes them look like actual keys.
2022-09-19 14:59:40 +10:00

35 lines
656 B
CSS

/* Center content in the RTD theme */
@media screen and (min-width: 1100px) {
.wy-nav-content-wrap {
margin-left: auto;
}
.wy-nav-content {
margin: auto;
}
}
@media screen and (min-width:769px) and (max-width:1420px) {
.wy-nav-content-wrap {
margin-left: 300px;
}
.wy-nav-content {
margin: 0;
}
}
/* Make <kbd> look like a key */
kbd {
background-color: #eee;
border-radius: 3px;
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
color: #333;
display: inline-block;
font-size: .85em;
line-height: 1;
padding: 2px 4px;
white-space: nowrap;
}