padding: 0;
color: #fff0;
}
- .ui-page.title button {
+ .ui-page.title::before {
+ /* image preloading hack */
+ content: url('textures/button-hover.png') url('textures/button-pressed.png');
+ position: absolute;
+ left: -9999px;
+ top: -99999px;
+ opacity: 0;
+ }
+ .ui-page > button {
+ padding: 0;
width: 8em;
- padding: .45em .6em;
+ font-family: Cookie;
font-size: 2.5em;
line-height: 1em;
- font-family: Cookie;
+ appearance: none;
+ background: #f4f09a;
+ border: .5em outset #888;
+ border-radius: 1em;
+ border-image: url('textures/button-standard.png') 20 / .75em round;
+ border-image-outset: .2em;
+ }
+ .ui-page > button:hover {
+ background: #e9ce8a;
+ border-image-source: url('textures/button-hover.png');
+ }
+ .ui-page > button:active {
+ background: #f9c8d5;
+ border-image-source: url('textures/button-pressed.png');
}
.ui-page.title .footer {
position: absolute;
align-items: center;
gap: 1em;
}
- .ui-page.credits button {
- width: 8em;
- padding: .45em .6em;
- font-size: 2.5em;
- line-height: 1em;
- font-family: Cookie;
- }
.ui-page.options {
padding: 1em;
display: flex;
gap: 1ex;
}
.ui-page.options .areatabs button {
- font-size: 1.6em;
+ appearance: none;
+ width: 8em;
+ padding: .5em;
+ border: none;
+ border-radius: 1em 1em 0 0;
background: #000b;
color: #fff;
font-family: 'Nihonium113';
- border: none;
- border-radius: 1em 1em 0 0;
+ font-size: 1.6em;
cursor: pointer;
}
.ui-page.options .areatabs button.active {
padding-bottom: .7em;
}
- .ui-page.options button {
- width: 8em;
- padding: .45em .6em;
- font-size: 2.5em;
- line-height: 1em;
- font-family: Cookie;
- }
.ui-page input[type=range] {
font-size: 1em;
accent-color: #c50031;
align-items: center;
gap: 1em;
}
- .ui-page.outro button {
- width: 8em;
- padding: .45em .6em;
- font-size: 2.5em;
- line-height: 1em;
- font-family: Cookie;
- }
.ui-page.pause {
background: #000b;
padding: 1em;
color: #fff;
text-shadow: unset;
}
- .ui-page.pause button {
- width: 8em;
- padding: .45em .6em;
- font-size: 2.5em;
- line-height: 1em;
- font-family: Cookie;
- }
.ui-page.pause button.small {
width: 5em;
- padding: .45em .6em;
+ padding: 0;
+ border-image-width: 1em;
font-size: 1.6em;
}
.ui-page.gameplay, .ui-page.openingcutscene, .ui-page.endingcutscene {