HerrHulaHoop (talk | contribs) (Removed vector specific changes to own CSS) |
HerrHulaHoop (talk | contribs) (Removed Main page hide css) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Add styling for kbd HTML tag */ | /* Add styling for kbd HTML tag */ |
Revision as of 10:44, 26 December 2021
/* CSS placed here will be applied to all skins */ /* Add styling for kbd HTML tag */ kbd { box-sizing: border-box; text-align: center; color: #555; cursor: pointer; margin: 0 8px; padding: 0 5px; border-color: #f2f2f2; border-style: solid; text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2; border-width: 1px; border-radius: 5px; background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%); font-family: sans-serif; display: inline-block; transition: box-shadow 0.3s ease, transform 0.15s ease; box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1); } kbd:hover, kbd:focus { box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 4px 0 #C0C0C0, 0 2px 35px rgba(#444, 0.3), 2px 2px 4px rgba(#444, 0.25), -2px 2px 4px rgba(#444, 0.25), 0 7px 4px rgba(#444, 0.1); transform: translateY(2px); } kbd:active { box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 0 0 #C0C0C0, 0 0px 30px rgba(#444, 0.15), 2px 2px 4px rgba(#444, 0.25), -2px 2px 4px rgba(#444, 0.25), 0 0px 4px rgba(#444, 0.25); transform: translateY(4px); }