Polish 2026 election visual showcase
This commit is contained in:
97
styles.css
97
styles.css
@@ -909,8 +909,8 @@ body.is-ready .loader {
|
||||
|
||||
.election-spotlight__grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
|
||||
gap: 58px;
|
||||
grid-template-columns: minmax(0, 0.72fr) minmax(580px, 1.12fr);
|
||||
gap: 48px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -966,101 +966,22 @@ body.is-ready .loader {
|
||||
.election-showcase {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
border: 1px solid var(--line);
|
||||
border: 1px solid rgba(241, 238, 230, 0.14);
|
||||
border-radius: 6px;
|
||||
background: #050505;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
|
||||
}
|
||||
|
||||
.election-showcase::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 14px;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
border: 1px solid rgba(200, 255, 73, 0.18);
|
||||
box-shadow:
|
||||
0 32px 100px rgba(0, 0, 0, 0.42),
|
||||
0 0 0 1px rgba(200, 255, 73, 0.04);
|
||||
}
|
||||
|
||||
.election-showcase img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.election-showcase__bar {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid rgba(241, 238, 230, 0.18);
|
||||
border-radius: 4px;
|
||||
background: rgba(7, 7, 6, 0.7);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.election-showcase__bar span {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 999px;
|
||||
background: var(--muted-dark);
|
||||
}
|
||||
|
||||
.election-showcase__bar span:first-child {
|
||||
background: var(--hot-2);
|
||||
}
|
||||
|
||||
.election-showcase__bar span:nth-child(2) {
|
||||
background: var(--signal);
|
||||
}
|
||||
|
||||
.election-showcase__bar strong {
|
||||
margin-left: auto;
|
||||
color: var(--paper-2);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.election-preview-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.election-preview-grid figure {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 5px;
|
||||
background: #050505;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.election-preview-grid img {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: cover;
|
||||
opacity: 0.76;
|
||||
}
|
||||
|
||||
.election-preview-grid figcaption {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
bottom: 8px;
|
||||
color: var(--paper);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.66rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.station-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
@@ -1881,10 +1802,6 @@ html.js .reveal[data-delay="2"] {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.election-preview-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.value-strip strong,
|
||||
.system-list div,
|
||||
.system-list div:nth-child(2n),
|
||||
|
||||
Reference in New Issue
Block a user