rstz
This commit is contained in:
parent
6651912124
commit
a0db933e51
@ -1,52 +1,28 @@
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-family: sans-serif;
|
||||
color: white;
|
||||
font-family: "Cinzel", serif;
|
||||
color: #2b1b0f;
|
||||
}
|
||||
|
||||
.building h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.back {
|
||||
display: inline-block;
|
||||
margin-top: 20px;
|
||||
padding: 12px 20px;
|
||||
|
||||
background: #2c6cff;
|
||||
color: white;
|
||||
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
.back:hover {
|
||||
background: #4a85ff;
|
||||
}
|
||||
/* Progress Bar */
|
||||
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
|
||||
height: 12px;
|
||||
background: #2a1a0b;
|
||||
border: 1px solid #8b6a3c;
|
||||
|
||||
margin-top: 6px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
height: 100%;
|
||||
|
||||
background: linear-gradient(#3cff3c, #1ea01e);
|
||||
|
||||
box-shadow: 0 0 6px #3cff3c;
|
||||
}
|
||||
|
||||
/* Popup */
|
||||
|
||||
.building-popup {
|
||||
position: fixed;
|
||||
|
||||
@ -55,28 +31,32 @@ body {
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
width: 420px;
|
||||
width: 460px;
|
||||
|
||||
background: url("/images/parchment.png") center/cover no-repeat;
|
||||
|
||||
border: 4px solid #6b4b2a;
|
||||
|
||||
border-radius: 8px;
|
||||
border-radius: 10px;
|
||||
|
||||
box-shadow:
|
||||
0 0 40px rgba(0, 0, 0, 0.9),
|
||||
inset 0 0 20px rgba(0, 0, 0, 0.6);
|
||||
inset 0 0 25px rgba(0, 0, 0, 0.5);
|
||||
|
||||
display: none;
|
||||
|
||||
color: #2b1b0f;
|
||||
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
.popup-header {
|
||||
padding: 12px;
|
||||
padding: 14px;
|
||||
|
||||
font-family: "Tangerine", serif;
|
||||
|
||||
font-size: 34px;
|
||||
|
||||
background: linear-gradient(#6b4b2a, #3c2414);
|
||||
|
||||
border-bottom: 2px solid #8b6a3c;
|
||||
@ -85,14 +65,17 @@ body {
|
||||
|
||||
justify-content: space-between;
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
color: #f0d9a6;
|
||||
font-size: 28px;
|
||||
|
||||
text-shadow: 0 0 4px black;
|
||||
text-shadow: 0 2px 4px black;
|
||||
}
|
||||
|
||||
.popup-header span {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
|
||||
.popup-tabs {
|
||||
display: flex;
|
||||
|
||||
@ -101,9 +84,13 @@ body {
|
||||
|
||||
.popup-tabs button {
|
||||
flex: 1;
|
||||
font-weight: bold;
|
||||
|
||||
padding: 10px;
|
||||
|
||||
font-family: "Cinzel", serif;
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
background: linear-gradient(#5c3b20, #3a2513);
|
||||
|
||||
border: 1px solid #8b6a3c;
|
||||
@ -125,13 +112,24 @@ body {
|
||||
color: #2b1b0f;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
|
||||
.popup-content {
|
||||
padding: 15px;
|
||||
padding: 20px;
|
||||
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: 18px;
|
||||
line-height: 1.4;
|
||||
|
||||
font-size: 20px;
|
||||
|
||||
line-height: 1.6;
|
||||
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* Tabs Content */
|
||||
|
||||
.tab-content {
|
||||
display: none;
|
||||
}
|
||||
@ -140,29 +138,23 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@keyframes popupFade {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -40%);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
/* Buttons */
|
||||
|
||||
.popup-content button {
|
||||
margin-top: 10px;
|
||||
|
||||
background: linear-gradient(#7a5a2a, #caa24b);
|
||||
|
||||
border: 1px solid #e0c67b;
|
||||
|
||||
padding: 8px 14px;
|
||||
padding: 10px 18px;
|
||||
|
||||
color: #1a1206;
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
font-family: "Cinzel", serif;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
transition: 0.2s;
|
||||
@ -176,11 +168,26 @@ body {
|
||||
0 0 25px #caa24b;
|
||||
}
|
||||
|
||||
.popup-header span {
|
||||
cursor: pointer;
|
||||
/* Animation */
|
||||
|
||||
@keyframes popupFade {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -40%);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
.building-popup {
|
||||
animation: popupFade 0.25s ease;
|
||||
}
|
||||
|
||||
/* Title */
|
||||
|
||||
#popup-title {
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user