2022-11-11 01:51:43 +01:00

127 lines
1.9 KiB
CSS

@import url("https://fonts.gaminggeneration.de/Roboto.css");
body {
color: white;
scroll-behavior: smooth;
font-family: "Roboto", serif;
font-style: normal;
}
#overlay {
color: white;
}
#overlay #top {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 9%;
background-color: #1F5E5F;
color: white;
}
#title {
float: right;
width: 100%;
font-size: 1.9em;
text-align: center;
}
#overlay #bottom {
display: block;
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 9%;
background-color: #1F5E5F;
}
#overlay #bottom #menuBtn {
height: 100%;
width: 10%;
background-color: blue;
padding: 1px;
font-size: 1.5em;
border: 0;
border-radius: 0 8px 0 0;
color: white;
}
#container {
position: absolute;
top: 10%;
left: 1%;
right: 1%;
height: 80%;
}
#menu {
display: none;
background-color: blue;
width: 100%;
height: 100%;
}
#settings {
display: none;
background-color: red;
width: 100vw;
height: 100vh;
}
#main::-webkit-scrollbar {
display: none;
}
#main {
display: grid;
height: 100%;
grid-template-columns: repeat(3, calc(90% / 3));
grid-template-rows: repeat(2, calc(90% / 2));
grid-gap: 10% 5%;
overflow: auto;
ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
}
#main .drink {
grid-row: span 1;
grid-column: span 1;
background-color: black;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 100%;
grid-template-rows: repeat(3, calc(100% / 3));
grid-row-gap: 5%;
text-align: center;
border-radius: 30px 10px 30px;
}
.drink .thumbnail {
grid-column: span 1;
grid-row: span 2;
}
.drink .name {
grid-column: span 1;
grid-row: span 1;
font-size: 140%;
}