roulette-wheel/app.css

159 lines
2.3 KiB
CSS
Raw Normal View History

body {
background-color: #121212;
color: #faf9f6;
transition-duration: 3s;
}
button {
2022-01-11 23:29:13 +01:00
cursor: pointer;
}
canvas {
2022-01-11 23:29:13 +01:00
cursor: pointer;
}
footer {
position: absolute;
padding: 1rem;
bottom: 0;
right: 0;
}
footer p {
text-align: right;
cursor: pointer;
}
2021-12-30 18:19:00 +01:00
html {
font-family: "Courier New", Courier, monospace;
2021-12-30 18:19:00 +01:00
}
2021-12-30 18:19:00 +01:00
input {
height: 1.5rem;
width: 15rem;
}
li {
padding: 0.75rem;
2022-01-11 23:29:13 +01:00
cursor: pointer;
2021-12-30 18:19:00 +01:00
}
ul {
padding: 0;
list-style-type: none;
text-align: center;
2021-12-30 18:19:00 +01:00
}
.add-item-button {
height: 2rem;
width: 15.5rem;
margin-top: 0.5rem;
background-color: #6495ed;
2022-01-06 19:54:59 +01:00
border: 0.05rem solid black;
box-shadow: 0 0.7rem 0 -0.1rem #6082b6, 0 0.75rem 0 -0.05rem black;
2022-01-06 19:54:59 +01:00
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;
2022-01-06 19:54:59 +01:00
}
.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;
2021-12-30 18:19:00 +01:00
}
.counter {
font-size: 24px;
text-align: center;
2021-12-30 18:19:00 +01:00
}
2022-01-05 19:19:33 +01:00
.item-delete {
width: 1rem;
height: 1rem;
float: right;
2021-12-31 21:42:08 +01:00
}
2022-01-05 19:19:33 +01:00
.light-dark-mode {
float: right;
padding: 1rem;
2021-12-31 21:42:08 +01:00
}
.menu {
width: 24rem;
2021-12-30 18:19:00 +01:00
}
.menu-item-list {
text-align: center;
2021-12-30 18:19:00 +01:00
}
.moon-sun {
width: 3rem;
height: 3rem;
2021-12-30 18:19:00 +01:00
}
2022-01-05 19:19:33 +01:00
.remove-all-items-button {
width: 5.4rem;
2022-01-06 19:54:59 +01:00
height: 2rem;
background-color: #6495ed;
2022-01-06 19:54:59 +01:00
border: 0.05rem solid black;
box-shadow: 0 0.7rem 0 -0.1rem #6082b6, 0 0.75rem 0 -0.05rem black;
2022-01-06 19:54:59 +01:00
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;
2022-01-06 19:54:59 +01:00
}
.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;
2022-01-05 19:19:33 +01:00
}
2022-01-05 19:19:33 +01:00
.roulette-wheel {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2022-01-08 23:41:57 +01:00
width: 60rem;
2022-01-05 19:19:33 +01:00
text-align: center;
}
.open-close-menu {
display: flex;
justify-content: right;
2021-12-30 18:19:00 +01:00
}
2022-01-05 19:19:33 +01:00
.winner {
font-size: 32px;
2022-01-05 19:19:33 +01:00
margin-bottom: 1rem;
2022-01-06 19:54:59 +01:00
height: 28px;
2022-01-05 19:19:33 +01:00
}
@media screen and (max-width: 1580px) {
canvas {
margin-top: 5rem;
2022-01-08 23:41:57 +01:00
height: 20rem;
margin: auto;
}
2021-12-30 18:19:00 +01:00
.menu {
2022-01-10 22:40:07 +01:00
width: 23.5rem;
}
.roulette-wheel {
position: relative;
top: 0;
left: 0;
width: 100%;
transform: translate(0, 0);
2022-01-08 23:41:57 +01:00
margin: 0;
}
2022-01-11 23:29:13 +01:00
footer {
position: relative;
}
}