dedrtu
This commit is contained in:
parent
b73a7223bf
commit
262c96943d
@ -1,27 +1,12 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.building {
|
|
||||||
background: rgba(0, 0, 0, 0.7);
|
|
||||||
|
|
||||||
padding: 40px;
|
|
||||||
|
|
||||||
border-radius: 12px;
|
|
||||||
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
width: 420px;
|
|
||||||
|
|
||||||
box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
|
|
||||||
}
|
|
||||||
|
|
||||||
.building h1 {
|
.building h1 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
@ -64,7 +49,7 @@ body {
|
|||||||
|
|
||||||
.building-popup {
|
.building-popup {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
animation: popupFade 0.25s ease;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
width: 420px;
|
width: 420px;
|
||||||
@ -148,10 +133,6 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.building-popup {
|
|
||||||
animation: popupFade 0.25s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes popupFade {
|
@keyframes popupFade {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -187,3 +168,7 @@ body {
|
|||||||
0 0 10px #ffd66b,
|
0 0 10px #ffd66b,
|
||||||
0 0 25px #caa24b;
|
0 0 25px #caa24b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popup-header span {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user