mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
* {
|
|
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
|
|
--color:black;
|
|
--background-color:white;
|
|
}
|
|
|
|
@media(prefers-color-scheme:dark){body{--color:white;--background-color:#111;}}
|
|
|
|
body {
|
|
display:flex;
|
|
min-height:100vh;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size:10vmin;
|
|
margin:0;
|
|
color:var(--color);
|
|
background-color:var(--background-color);
|
|
}
|
|
|
|
canvas:not(.fullbleed) {
|
|
border:1px solid black;
|
|
max-height: 90vh;
|
|
max-width: 90vw;
|
|
}
|
|
|
|
canvas.fullbleed {
|
|
max-height: 100vh;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
|
|
.toolbar {
|
|
position:
|
|
absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
padding: 0;
|
|
font-size: 16px;
|
|
opacity: 0.2;
|
|
}
|
|
|
|
.toolbar:hover {
|
|
opacity:1.0;
|
|
}
|
|
|
|
.toolbar select,
|
|
.toolbar a {
|
|
height: 2em;
|
|
border-radius: 3em;
|
|
line-height:2em;
|
|
font-weight: bold;
|
|
padding: 0.25em 0.5em;
|
|
border:1px solid black;
|
|
border-radius: 99em;
|
|
background-color: rgba(0,0,0,0.5);
|
|
color: white;
|
|
margin-left: 0.5em;
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
#save {
|
|
cursor:
|
|
pointer;
|
|
padding: 0.25em 0.5em;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
}
|