feat: restyle unauthenticated screens #1103
|
@ -74,7 +74,7 @@ const motd = computed(() => store.state.config.motd)
|
|||
left: 0;
|
||||
konrad marked this conversation as resolved
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, .2);
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue
Move these rules to the
@media screen and (min-width: $tablet)
media query=> makes it clearer that it just appies there.
Move media queries before
&::after
and> *
=> those are styling other elements
=> move styles together that style the same stuff
If you change
&::after
in&::before
you can remove the z-index if you replacez-index: 20;
withposition: relative
(this creates a new stacking context.=> less complexity with managing z-index.
Done!