Template:Keypress/styles.css: Difference between revisions
From Vintage Story Wiki
(Creating keyboard-key class. Copied from English Wikipedia styling.) |
(added .nowrap class) |
||
Line 9: | Line 9: | ||
font-family: inherit; | font-family: inherit; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
} | |||
.nowrap { | |||
white-space: nowrap; | |||
} | } |
Latest revision as of 22:11, 6 August 2023
.keyboard-key {
border: 1px solid #aaa;
border-radius: 0.2em;
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
background-color: #f9f9f9;
background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee);
color: #000;
padding: 0.1em 0.3em;
font-family: inherit;
font-size: 0.85em;
}
.nowrap {
white-space: nowrap;
}