i-eat.rocks/style.css

136 lines
2 KiB
CSS
Raw Normal View History

2024-08-15 22:09:42 +00:00
@font-face {
font-family: "PC";
src: url("/images/ui/joystix monospace.otf");
font-smooth: never;
}
2024-08-16 05:45:22 +00:00
p, h1, button, sub {
2024-08-15 22:09:42 +00:00
font-family: "PC", monospace;
}
2024-08-16 05:45:22 +00:00
sub {
color: white;
font-size: x-small;
}
2024-08-15 22:09:42 +00:00
@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:rgb(219, 219, 219);
2024-08-15 22:09:42 +00:00
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);
}
@media only screen and (max-width:800px) {
.body {
margin-top: 24px;
}
}
.header {
background-color: #4592b5;
color: white;
border: solid 4px rgb(219, 219, 219);
2024-08-15 22:09:42 +00:00
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: rgb(219, 219, 219);
2024-08-15 22:09:42 +00:00
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");
2024-08-15 23:51:36 +00:00
overflow: hidden;
2024-08-15 22:09:42 +00:00
width: 100vw;
max-width: 99vw;
padding:0;
margin:0;
2024-08-15 23:51:36 +00:00
min-height: 100vh;
2024-08-16 05:45:22 +00:00
}
.app {
margin:4px;
width:72px;
display: grid;
text-align: center;
}
.app:active {
margin:2px;
border: dotted 2px black;
transform: translate(2px, 2px);
}
.icons {
margin:4px;
display: flex;
2024-08-15 22:09:42 +00:00
}