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