You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.3 KiB
CSS
92 lines
1.3 KiB
CSS
:root {
|
|
scroll-behavior: smooth;
|
|
}
|
|
body, #app {
|
|
width: 100vw;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #444;
|
|
color: #EEE;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
font: 20px/1.35 monospace;
|
|
}
|
|
|
|
#app > header {
|
|
margin: 2em 0;
|
|
}
|
|
|
|
.letter {
|
|
width: 2em;
|
|
height: 2em;
|
|
border: 2px solid #444;
|
|
background: #222;
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
line-height: 2;
|
|
color: #EEE;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.letter.red { background: #222; }
|
|
.letter.yellow { background: #EE23; }
|
|
.letter.green { background: #2E23; }
|
|
|
|
.history, .input { display: flex; }
|
|
.input { margin-bottom: 3em; }
|
|
|
|
.solution {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: opacity 3s ease-in;
|
|
opacity: 1.0;
|
|
}
|
|
.solution.solved {
|
|
opacity: 0.0;
|
|
}
|
|
|
|
button {
|
|
border: 2px solid black;
|
|
border-radius: 4px;
|
|
padding: .5em 2em;
|
|
font-size: 1em;
|
|
}
|
|
|
|
p { margin: .5em 0; }
|
|
p:first-of-type { margin-top: 1em; }
|
|
p:last-of-type { margin-bottom: 1em; }
|
|
|
|
.v-enter-active,
|
|
.v-leave-active {
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
.v-enter-from,
|
|
.v-leave-to {
|
|
opacity: 0;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.image-box {
|
|
text-align: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
margin: 2em 0;
|
|
}
|
|
|
|
.footer {
|
|
display: block;
|
|
height: 5em;
|
|
}
|