Tobias Hopp a356b39bad update
Took 25 hours 49 minutes
2022-11-15 00:58:59 +01:00

185 lines
2.9 KiB
CSS

@import url("/stylesheets/colors.css");
@import url("/stylesheets/fonts.css");
@import url("/stylesheets/buttons.css");
@import url("/stylesheets/modal.css");
:root {
cursor: none !important;
}
html * {cursor: none !important}
body::-webkit-scrollbar {
display: none;
}
body {
color: white;
scroll-behavior: smooth;
font-family: "Roboto", serif;
font-style: normal;
cursor: none !important;
}
#overlay {
color: white;
}
#overlay #top {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 9%;
background-color: #1F5E5F;
color: white;
font-size: 2em;
padding-right: 3px;
padding-left: 3px;
}
#title {
text-align: center;
float: left;
width: calc(100% / 3);
}
#left {
font-size: 0.5em;
float: left;
width: calc(100% / 3);
text-align: left;
padding-top: 1.2%;
}
#right {
float: left;
width: calc(100% / 3);
text-align: right;
font-size: 0.5em;
padding-top: 1.2%;
}
#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%;
padding: 1% 2%;
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: rgba(57, 57, 57, 0.6);
width: 90%;
height: 97%;
display: grid;
grid-template-columns: 100%;
grid-template-rows: repeat(3, calc(100% / 3));
grid-row-gap: 4%;
text-align: center;
border-radius: 30px 10px 30px;
color: black;
/*box-shadow: 3px 3px 3px;*/
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
transition: 0.4s;
overflow: hidden;
padding-bottom: 1%;
}
#main .drink:hover {
background-color: rgba(57, 57, 57, 0.8);
width: 100%;
height: 100%;
}
.drink .thumbnail {
grid-column: span 1;
grid-row: span 2;
margin-left: auto;
margin-right: auto;
max-height: 100%;
overflow: hidden;
transition: 0.5s;
}
.drink .drinkName {
font-family: Ubuntu, sans-serif;
grid-column: span 1;
grid-row: span 1;
font-size: 150%;
}