Aktualizacja widoku scenerii

This commit is contained in:
2022-07-09 20:24:57 +02:00
parent c6938821c3
commit 29e9924339
13 changed files with 436 additions and 355 deletions
+9 -24
View File
@@ -25,7 +25,6 @@ body {
padding: 0;
font-family: 'Quicksand', sans-serif;
overflow-y: scroll;
}
*:focus-visible {
@@ -59,19 +58,16 @@ body {
.content {
position: absolute;
left: 50%;
top: 0;
left: 0;
z-index: 100;
transform: translate(-50%, -120%);
visibility: hidden;
opacity: 0;
min-width: 250px;
background-color: gray;
background-color: #202020;
text-align: center;
border-radius: 0.5em;
@@ -79,25 +75,14 @@ body {
transition: opacity 0.3s;
padding: 0.25em;
&::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: gray transparent transparent transparent;
}
// @include smallScreen() {
// right: 0;
// left: 0;
@include smallScreen() {
right: 0;
left: 0;
&::after {
left: 75%;
}
}
// &::after {
// left: 75%;
// }
// }
}
&:hover > .content {