95 lines
No EOL
1.5 KiB
CSS
95 lines
No EOL
1.5 KiB
CSS
:root {
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
color: rgb(44, 41, 53);
|
|
}
|
|
|
|
section {
|
|
max-width: 90vw;
|
|
width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 10px;
|
|
background: rgb(255, 255, 255);
|
|
border: solid rgb(200, 200, 200) 2px;
|
|
border-radius: 10px;
|
|
min-height: 500px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
text-align: center;
|
|
margin: 10px;
|
|
margin-bottom: 0;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
p, pre, s {
|
|
margin: 10px;
|
|
}
|
|
|
|
body {
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.message span {
|
|
display: block;
|
|
text-align: center;
|
|
color: rgb(255, 255, 255);
|
|
font-weight: bold;
|
|
font-size: 50px;
|
|
}
|
|
|
|
.ui-text {
|
|
white-space: pre-wrap;
|
|
font-weight: bold;
|
|
padding: 10px;
|
|
}
|
|
|
|
#canvas {
|
|
width: 768px;
|
|
height: 768px;
|
|
/*image-rendering: pixelated;*/
|
|
background: rgb(63, 63, 71);
|
|
|
|
display: block;
|
|
}
|
|
|
|
section#main {
|
|
width: 1024px;
|
|
}
|
|
|
|
@media (max-width: 1920px) {
|
|
#canvas {
|
|
width: min(512px, 90vw);
|
|
height: min(512px, 90vw);
|
|
}
|
|
}
|
|
|
|
.button {
|
|
background: rgb(44, 41, 53);
|
|
border-radius: 15px;
|
|
color: rgb(255,255,255);
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
margin: 10px;
|
|
padding: 10px;
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.score-content {
|
|
display:none;
|
|
}
|
|
|
|
.score:hover .score-content {
|
|
display: inline;
|
|
} |