i-eat.rocks/style.css
2024-08-15 17:51:36 -06:00

130 lines
No EOL
2 KiB
CSS

@font-face {
font-family: "PC";
src: url("/images/ui/joystix monospace.otf");
font-smooth: never;
}
p, h1, button {
font-family: "PC", monospace;
}
@keyframes appear {
0% {
transform: scale(0%);
}
100% {
transform:scale(100%);
}
}
.window {
animation: appear cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
position: absolute;
border: outset 4px white;
background:white;
text-align: center;
padding:0;
margin:0;
max-width: 100vw;
left:200px;
top:200px;
box-shadow: 4px 4px rgba(0,0,0,0.5), 0px 0px 4px rgba(0,0,0,0.5);
}
.body {
border: outset 4px white;
background:white;
text-align: center;
padding:0;
margin:auto;
margin-top: 64px;
max-width: 800px;
width: calc(100% - 48px);
box-shadow: 4px 4px rgba(0,0,0,0.5);
margin-bottom: 8px;
}
@media only screen and (max-width:800px) {
.body {
margin-top: 24px;
}
}
.header {
background-color: #4592b5;
color: white;
border-bottom: inset 4px rgb(219, 219, 219);
display: flex;
padding:3px;
padding-bottom: 2px;
touch-action: none;
}
.drag {
cursor: move;
}
.header p {
margin:0;
padding:0;
margin-left:4px;
margin-right:auto;
text-shadow: 2px 2px rgba(0,0,0,0.5);
}
.content {
border: inset 4px white;
max-width: calc(100vw - 24px);
}
button, button:hover {
border: outset white 4px;
background-color: white;
color:black;
text-align: center;
box-shadow: 0px 0px 2px rgba(0,0,0,0.25);
}
.header button, .header button:hover {
width: 18px;
height: 18px;
padding:0;
margin:0;
border: outset white 2px;
}
button:active {
border: inset white 4px;
background-color: lightgray;
}
.header button:active {
border: inset white 2px;
}
body, html {
background: url("images/ui/wallpaper1.png");
overflow: hidden;
width: 100vw;
max-width: 99vw;
padding:0;
margin:0;
min-height: 100vh;
}