mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
54 lines
No EOL
1.1 KiB
CSS
54 lines
No EOL
1.1 KiB
CSS
* {
|
|
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
|
|
--color: black;
|
|
}
|
|
|
|
@media(prefers-color-scheme:dark) {
|
|
body {
|
|
--color: white;
|
|
--background-color: #111;
|
|
}
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 10vmin;
|
|
margin: 0;
|
|
color: var(--color);
|
|
background-color: var(--background-color);
|
|
background: linear-gradient(107.56deg, #6D5C69 0%, #2C2B2A 100%);
|
|
}
|
|
.window {
|
|
border: 2px solid #87EDD3;
|
|
box-shadow: 5px 12px rgba(0, 0, 0, 0.2);
|
|
border-radius: 3px;
|
|
color: #87EDD3;
|
|
display:flex;
|
|
flex-direction: column;
|
|
background-color:#384747;
|
|
}
|
|
#titlebar {
|
|
font-size:18px;
|
|
text-align:left;
|
|
width: 1000px;
|
|
max-width: 90vw;
|
|
padding:8px;
|
|
box-sizing: border-box;
|
|
border-bottom: 2px solid #87EDD3;
|
|
}
|
|
|
|
#titlebar a {
|
|
float:right;
|
|
color: #87EDD3;
|
|
}
|
|
|
|
canvas {
|
|
width: 1000px;
|
|
max-width: 90vw;
|
|
image-rendering: pixelated;
|
|
background-color: #192F30;
|
|
} |