You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.1 KiB
66 lines
1.1 KiB
* {
|
|
font-family: sans-serif;
|
|
color: ghostwhite;
|
|
}
|
|
body {
|
|
background: slategrey;
|
|
font-size: 1.75em;
|
|
}
|
|
div#content {
|
|
width: max-content;
|
|
margin: auto;
|
|
}
|
|
div#shiritori p {
|
|
margin: 0;
|
|
animation-duration: 1s;
|
|
animation-name: slidein;
|
|
animation-fill-mode: forwards;
|
|
opacity: 0;
|
|
}
|
|
@keyframes slidein {
|
|
from {
|
|
transform: translateX(-32px);
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
transform: none;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
div#shiritori {
|
|
padding: 2px;
|
|
height: 24em;
|
|
overflow-y: scroll;
|
|
text-align: center;
|
|
}
|
|
div#shiritori, input#shiritori-input {
|
|
padding: 0.25em;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border: 1px solid;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
input {
|
|
font-size: 1em;
|
|
}
|
|
input#shiritori-input {
|
|
width: 100%;
|
|
|
|
border-top: none;
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
}
|
|
input#shiritori-input:focus {
|
|
outline: none;
|
|
background: rgba(0, 0, 0, 0.125);
|
|
}
|
|
div#shiritori {
|
|
border-bottom: none;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
p#shiritori-players {
|
|
text-align: center;
|
|
}
|