mutate-a-word/css/theme.css

89 lines
1.4 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);
}
#input-line {
display: flex;
justify-content: center;
align-items: center;
}
#starting-regen {
background: transparent;
border: 0;
font-size: 200%;
cursor: pointer;
margin-left: 0.5em;
}
#header {
/* Ref https://app.haikei.app/ */
background: url("./layered-waves-haikei.svg") bottom/cover;
}
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);
}