roulette-wheel/app.css
2022-01-06 19:54:59 +01:00

137 lines
2.1 KiB
CSS

body {
background-color: #121212;
color: #FAF9F6;
transition-duration: 3s;
}
canvas{
height: 50rem;
}
html {
font-family: "Courier New", Courier, monospace;
}
input {
height: 1.5rem;
width: 15rem;
}
li {
padding: 0.75rem;
}
ul {
padding: 0;
list-style-type: none;
text-align: center;
}
.add-item-button {
height: 2rem;
width: 15.5rem;
margin-top: 0.5rem;
background-color: #6495ED;
border: 0.05rem solid black;
box-shadow: 0 0.7rem 0 -0.1rem #6082B6, 0 0.75rem 0 -0.05rem black;
border-radius: 0.5rem;
}
.add-item-button:hover {
transform: translate(0, 0.25rem);
box-shadow: 0 0.5rem 0 -0.1rem #6082B6, 0 0.55rem 0 -0.05rem black;
}
.add-item-button:active {
transform: translate(0, 0.5rem);
box-shadow: 0 0.1rem 0 -0.1rem #6082B6, 0 0.15rem 0 -0.05rem black;
}
.close-arrow {
width: 1rem;
height: 1rem;
}
.counter {
font-size: 24px;
text-align: center;
}
.item-delete {
width: 1rem;
height: 1rem;
float: right;
}
.light-dark-mode {
float: right;
padding: 1rem;
}
.menu {
width: 24rem;
}
.menu-item-list {
text-align: center;
}
.moon-sun {
width: 3rem;
height: 3rem;
}
.remove-all-items-button {
width: 5.4rem;
height: 2rem;
background-color: #6495ED;
border: 0.05rem solid black;
box-shadow: 0 0.7rem 0 -0.1rem #6082B6, 0 0.75rem 0 -0.05rem black;
border-radius: 0.5rem;
}
.remove-all-items-button:hover {
transform: translate(0, 0.25rem);
box-shadow: 0 0.5rem 0 -0.1rem #6082B6, 0 0.55rem 0 -0.05rem black;
}
.remove-all-items-button:active {
transform: translate(0, 0.5rem);
box-shadow: 0 0.1rem 0 -0.1rem #6082B6, 0 0.15rem 0 -0.05rem black;
}
.roulette-wheel {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin-left: 5rem;
text-align: center;
}
.open-close-menu {
display: flex;
justify-content: right;
}
.winner {
font-size: 32;
margin-bottom: 1rem;
height: 28px;
}
@media screen and (max-width: 940px) {
canvas{
margin-top: 5rem;
height: 30rem;
margin: auto;
}
.roulette-wheel {
position: relative;
top: 0;
left: 0;
width: 100%;
transform: translate(0, 0);
}
}