mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Design updates, adding 2027 posts
This commit is contained in:
parent
2d50bec4cb
commit
e51d53994a
30 changed files with 521 additions and 81 deletions
|
|
@ -346,6 +346,14 @@ section {
|
|||
color: #fcd116;
|
||||
}
|
||||
|
||||
h1.event-cancelled {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1.event.cancelled {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
|
||||
/* Feed Preview */
|
||||
.minifeed {
|
||||
|
|
@ -709,7 +717,7 @@ section {
|
|||
}
|
||||
.event-banner-meta strong { color: #dcdcdf; }
|
||||
.event-banner-loc { color: #8b949e; white-space: nowrap; }
|
||||
.event-banner-loc i { color: #fcd116; margin-right: 0.3em; }
|
||||
.event-banner-loc .icon { color: #fcd116; margin-right: 0.3em; }
|
||||
.event-banner-loc a { color: #8b949e; }
|
||||
.event-banner-agenda {
|
||||
display: inline-flex;
|
||||
|
|
@ -776,4 +784,141 @@ section {
|
|||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Events timeline page */
|
||||
.timeline-page {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 2em 1em 4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.timeline {
|
||||
position: relative;
|
||||
list-style: none;
|
||||
margin: 2em 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Center line */
|
||||
.timeline::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
width: 2px;
|
||||
background: #21262d;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
position: relative;
|
||||
width: 50%;
|
||||
padding: 1em 2.5em;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.timeline-item:nth-child(odd) {
|
||||
left: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.timeline-item:nth-child(even) {
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
/* Dot on the center line */
|
||||
.timeline-item::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 2em;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: #0D1117;
|
||||
border: 2px solid #555d68;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.timeline-item:nth-child(odd)::after { right: -7px; }
|
||||
.timeline-item:nth-child(even)::after { left: -7px; }
|
||||
|
||||
.timeline-item.past::after { background: #555d68; }
|
||||
.timeline-item.next::after {
|
||||
background: #fcd116;
|
||||
border-color: #fcd116;
|
||||
box-shadow: 0 0 0 5px rgba(252, 209, 22, 0.2);
|
||||
}
|
||||
|
||||
.timeline-card {
|
||||
background: #161b22;
|
||||
border: 1px solid #21262d;
|
||||
border-radius: 6px;
|
||||
padding: 1.25em 1.5em;
|
||||
}
|
||||
|
||||
.timeline-item.next .timeline-card { border-color: #fcd116; }
|
||||
.timeline-item.past .timeline-card { opacity: 0.75; }
|
||||
|
||||
.timeline-kicker {
|
||||
font-size: 0.8em;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #8b949e;
|
||||
}
|
||||
|
||||
.timeline-item.next .timeline-kicker { color: #fcd116; }
|
||||
.timeline-item.cancelled .timeline-kicker { color: #CE1126; }
|
||||
|
||||
.timeline-title {
|
||||
margin: 0.3em 0;
|
||||
}
|
||||
|
||||
.timeline-title a { color: #dcdcdf; }
|
||||
.timeline-item.cancelled .timeline-title { text-decoration: line-through; }
|
||||
|
||||
.timeline-meta {
|
||||
color: #8b949e;
|
||||
margin: 0.5em 0 1em;
|
||||
}
|
||||
|
||||
.timeline-meta strong { color: #dcdcdf; }
|
||||
.timeline-loc .icon { color: #fcd116; }
|
||||
|
||||
.timeline-item:nth-child(odd) .event-actions { justify-content: flex-end; }
|
||||
.timeline-item:nth-child(even) .event-actions { justify-content: flex-start; }
|
||||
|
||||
/* Single column on narrow screens */
|
||||
@media (max-width: 700px) {
|
||||
.timeline::before { left: 7px; }
|
||||
|
||||
.timeline-item,
|
||||
.timeline-item:nth-child(odd),
|
||||
.timeline-item:nth-child(even) {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
text-align: left;
|
||||
padding: 0.75em 0 0.75em 2em;
|
||||
}
|
||||
|
||||
.timeline-item:nth-child(odd)::after,
|
||||
.timeline-item:nth-child(even)::after { left: 0; right: auto; }
|
||||
|
||||
.timeline-item:nth-child(odd) .event-actions { justify-content: flex-start; }
|
||||
}
|
||||
|
||||
/* Inline SVG icons (Lucide + Simple Icons, see scripts/icon.js) */
|
||||
.icon {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: -0.125em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Social links: slightly larger brand logos */
|
||||
.social-icon .icon {
|
||||
width: 1.15em;
|
||||
height: 1.15em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue