mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Improved homepage, added newsletter self-subscription
This commit is contained in:
parent
e820431d0c
commit
4ac6e74cdc
9 changed files with 348 additions and 36 deletions
|
|
@ -56,7 +56,7 @@ h4 {
|
|||
|
||||
.vhsky-video {
|
||||
width: 75%;
|
||||
margin-bottom: 1em;
|
||||
margin: 0 auto 1em;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
@ -76,6 +76,7 @@ a {
|
|||
margin: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
box-shadow:0 .125rem .25rem rgba(255,255,255,0.075) !important;
|
||||
}
|
||||
|
||||
|
|
@ -564,6 +565,207 @@ section {
|
|||
}
|
||||
}
|
||||
|
||||
/* Newsletter side tab */
|
||||
.newsletter-tab {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 6em;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.newsletter-tab-label {
|
||||
writing-mode: vertical-rl;
|
||||
transform: rotate(180deg);
|
||||
background-color: #002B7F;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
padding: 1em 0.5em;
|
||||
border-radius: 0 6px 6px 0;
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.newsletter-tab-panel {
|
||||
background-color: #161b22;
|
||||
border: 1px solid #21262d;
|
||||
border-right: none;
|
||||
border-radius: 0 6px 6px 0;
|
||||
padding: 1.25em 0;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
|
||||
}
|
||||
|
||||
.newsletter-tab.is-open .newsletter-tab-panel {
|
||||
width: 220px;
|
||||
opacity: 1;
|
||||
padding: 1.25em 1em;
|
||||
}
|
||||
|
||||
.newsletter-tab-heading {
|
||||
font-size: 12px;
|
||||
color: #8b949e;
|
||||
margin: 0 0 0.75em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.newsletter-tab-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.newsletter-input {
|
||||
padding: 0.45em 0.75em;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #30363d;
|
||||
background-color: #0D1117;
|
||||
color: #dcdcdf;
|
||||
font-size: 13px;
|
||||
font-family: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.newsletter-input::placeholder {
|
||||
color: #484f58;
|
||||
}
|
||||
|
||||
.newsletter-btn {
|
||||
padding: 0.45em 1em;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background-color: #002B7F;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
font-family: inherit;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.newsletter-btn:hover {
|
||||
background-color: #003fa3;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.newsletter-tab {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Homepage event banner */
|
||||
.event-banner {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: #0d1117;
|
||||
min-height: calc(100vh - 63px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
margin-left: calc(50% - 50vw);
|
||||
}
|
||||
.event-banner-logo {
|
||||
position: absolute;
|
||||
right: 4%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
height: 70vh;
|
||||
width: auto;
|
||||
opacity: 0.15;
|
||||
pointer-events: none;
|
||||
min-width: unset !important;
|
||||
min-height: unset !important;
|
||||
}
|
||||
.event-banner-inner {
|
||||
width: 70%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
padding: 4em 0;
|
||||
}
|
||||
.event-banner-kicker {
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.35em;
|
||||
text-transform: uppercase;
|
||||
color: #fcd116;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.event-banner-title {
|
||||
font-size: 8em !important;
|
||||
font-weight: 700 !important;
|
||||
margin: 0 0 0.15em !important;
|
||||
color: #dcdcdf;
|
||||
line-height: 0.9 !important;
|
||||
text-align: center;
|
||||
}
|
||||
.event-banner-meta {
|
||||
font-size: 1.5em;
|
||||
color: #8b949e;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
.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 a { color: #8b949e; }
|
||||
.event-banner-agenda {
|
||||
display: inline-flex;
|
||||
gap: 3em;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
background: rgba(255,255,255,0.04);
|
||||
border: 1px solid #21262d;
|
||||
border-radius: 6px;
|
||||
padding: 1em 2.5em;
|
||||
}
|
||||
.event-banner-agenda-item { font-size: 1em; text-align: center; }
|
||||
.event-banner-agenda-item .event-banner-spk { color: #8b949e; font-size: 0.85em; display: block; }
|
||||
|
||||
/* Event action buttons (Luma RSVP, Add to Calendar) */
|
||||
.event-actions {
|
||||
display: flex;
|
||||
gap: 0.75em;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.btn-event {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4em;
|
||||
padding: 0.55em 1.1em;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.btn-event:hover {
|
||||
opacity: 0.85;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.btn-luma {
|
||||
background-color: #fcd116;
|
||||
color: #0D1117 !important;
|
||||
}
|
||||
|
||||
.btn-luma:hover {
|
||||
background-color: #ffffff;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.btn-speaker {
|
||||
background-color: transparent;
|
||||
color: #dcdcdf !important;
|
||||
border: 1px solid #555d68;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
nav {
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue