mutate-a-word/css/theme.css

130 lines
2.8 KiB
CSS

:root {
--bg: #bbdbf6;
--bg2: #0066ff;
--accent: #333333;
--accent-alt: #f4d48c;
--selected: hsl(330, 64%, 53%);
}
html, body { font-size: 100%; }
body {
margin: 0; padding: 0;
display: flex;
flex-direction: column;
font-family: "Ubuntu", sans-serif;
text-align: center;
font-size: 150%;
min-height: 100vh;
background: var(--bg);
color: var(--accent);
}
h1 { margin: 3em 0; }
.hidden { visibility: hidden; }
.icon { vertical-align: middle; max-width: 1.1em; }
#header {
/* Ref https://app.haikei.app/ */
background: url("./layered-waves-haikei.svg") bottom/cover;
}
#input-line {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
#starting-regen, .starting-regen {
background: transparent;
border: 0;
font-size: 200%;
cursor: pointer;
margin-left: 0.5em;
}
input[type=text] {
color: var(--accent);
font-family: "Ubuntu", sans-serif;
text-align: center;
font-size: 150%;
max-width: 80%;
background: transparent;
border: 0;
border-bottom: 0.2em solid var(--accent-alt);
}
input[type=text]:focus {
outline: 0.2em solid var(--selected);
}
#mutations {
padding-top: 1em;
padding-bottom: 10vh;
background: #0066ff;
flex: 1;
}
.mutation-step {
display: flex;
justify-content: space-evenly;
padding: 1em 0;
}
hr {
width: 60%;
border-bottom: 0.2em solid hsla(0, 0%, 10%, 0.5);
}
.mutation-option {
cursor: pointer;
background: var(--accent-alt);
border-radius: 0.25em;
padding: 0.5em 0.75em;
}
.mutation-option.selected {
color: white;
background: var(--selected);
}
footer {
background: #0066ff;
}
/*
███████ ███ ███ █████ ██ ██
██ ████ ████ ██ ██ ██ ██
███████ ██ ████ ██ ███████ ██ ██
██ ██ ██ ██ ██ ██ ██ ██
███████ ██ ██ ██ ██ ███████ ███████
███████ ██████ ██████ ███████ ███████ ███ ██ ███████
██ ██ ██ ██ ██ ██ ████ ██ ██
███████ ██ ██████ █████ █████ ██ ██ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████ ██████ ██ ██ ███████ ███████ ██ ████ ███████
*/
@media (max-width: 723px) {
.starting-regen {
display: none;
}
.mutation-step {
flex-wrap: wrap;
}
.mutation-option {
margin: 0.25em 0;
padding: 0.1em 0.2em;
}
}