fix style order (media query's)

This commit is contained in:
KryptoPX 2022-01-28 21:58:41 +00:00
parent 828bb5f0de
commit e203b43a69

View file

@ -51,7 +51,7 @@ a:hover {
} }
#sidebar-btn { #sidebar-btn {
display: block; display: none;
width: fit-content; width: fit-content;
transition-duration: 200ms; transition-duration: 200ms;
transition-property: left; transition-property: left;
@ -327,25 +327,10 @@ td:hover .roll-hover {
visibility: visible; visibility: visible;
} }
@media (min-width: 576px){
.card-deck .card {
flex: 1 0 40%;
margin: 15px;
}
#sidebar-btn {
display: none;
}
}
@media (min-width: 1350px){ @media (min-width: 1350px){
.card-deck .card { .card-deck .card {
flex: 1 0 0%; flex: 1 0 0%;
} }
#content {
margin-left: 280px;
}
} }
@media (max-width: 800px){ @media (max-width: 800px){
@ -364,4 +349,14 @@ td:hover .roll-hover {
#sidebar-toggle:checked ~ #sidebar-btn { #sidebar-toggle:checked ~ #sidebar-btn {
left: 277px; left: 277px;
} }
} #sidebar-btn {
display: block;
}
}
@media (min-width: 576px){
.card-deck .card {
flex: 1 0 40%;
margin: 15px;
}
}