mutate-a-word/css/theme.css

94 lines
1.5 KiB
CSS
Raw Normal View History

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