mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-09-24 14:26:49 +00:00
779 lines
No EOL
13 KiB
CSS
779 lines
No EOL
13 KiB
CSS
body {
|
|
font-family: "Open Sans";
|
|
margin: auto;
|
|
font-size: 14px;
|
|
background-color: #0D1117;
|
|
color: #dcdcdf;
|
|
position: relative;
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 99vh;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-weight: lighter;
|
|
}
|
|
|
|
.post h2,
|
|
.post {
|
|
color: #0D1117;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 25px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 22px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 15px;
|
|
line-height: 18px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.homepage h1 {
|
|
font-size: 35px !important;
|
|
line-height: 40px !important;
|
|
padding-bottom: 15px;
|
|
color: #dcdcdf;
|
|
}
|
|
|
|
.vhsky-video {
|
|
width: 75%;
|
|
margin: 0 auto 1em;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #31486b;
|
|
}
|
|
|
|
/* Definition of small fonted text, example: footer */
|
|
.smoll {
|
|
font-size: 12px !important;
|
|
line-height: 14px;
|
|
}
|
|
|
|
/* Topbar header section */
|
|
.topbar {
|
|
position: sticky;
|
|
margin: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 100;
|
|
box-shadow:0 .125rem .25rem rgba(255,255,255,0.075) !important;
|
|
}
|
|
|
|
.topbar-header {
|
|
width: 150px;
|
|
}
|
|
|
|
/* Topbar menu section */
|
|
nav {
|
|
width: 70%;
|
|
background-color: #0D1117 !important;
|
|
list-style: none;
|
|
display: flex;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
}
|
|
|
|
nav a,
|
|
nav .menu,
|
|
.menu a {
|
|
padding: 15px 10px;
|
|
font-size: 15px;
|
|
align-content: center;
|
|
color: #dcdcdf;
|
|
}
|
|
|
|
|
|
/* Topbar - Social */
|
|
.social {
|
|
justify-content: center;
|
|
margin: 0.5em 0 0 auto;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.social-icon a {
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
display:inline-block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: 19px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.social-icon img {
|
|
width: 15px !important;
|
|
height: 15px !important;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Posts */
|
|
main {
|
|
width: 70%;
|
|
margin: 30px auto 0 auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.program{
|
|
padding: 10px !important;
|
|
}
|
|
|
|
.break{
|
|
font-weight: 100 !important;
|
|
letter-spacing: 0.5em !important;
|
|
}
|
|
|
|
/* Homepage settings */
|
|
.post-home img {
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
.post-home .post-blerp {
|
|
border-radius: 0 0 5px 5px;
|
|
}
|
|
|
|
.post-feed .post-with-image {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
}
|
|
|
|
.post-feed .post-with-image img {
|
|
border-radius: 5px 0 0 5px;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.post-feed .post-with-image .post-cover {
|
|
width: 35% !important;
|
|
display: flex;
|
|
}
|
|
|
|
.post-feed .post-with-image .post-blerp {
|
|
border-radius: 0 5px 5px 0;
|
|
width: 65% !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-feed .post-with-video {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
}
|
|
|
|
.post-feed .post-with-video iframe {
|
|
border-radius: 0 5px 5px 0;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.post-feed .post-with-video .post-vhsky-cover {
|
|
width: 49.4% !important;
|
|
display: flex;
|
|
}
|
|
|
|
.post-feed .post-with-video .post-blerp {
|
|
border-radius: 5px 0 0 5px;
|
|
width: 49.4% !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.post-feed .post-without-image .post-blerp,
|
|
.post-feed .post-without-video .post-blerp {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* Images */
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
opacity: 1;
|
|
transition: all 1s;
|
|
}
|
|
|
|
/* Post */
|
|
.post-blerp {
|
|
padding: 1em;
|
|
background-color: #becadd;
|
|
box-sizing: border-box;
|
|
line-height: 100%;
|
|
color:#0D1117;
|
|
}
|
|
|
|
.date {
|
|
color: #0D1117;
|
|
font-style: italic;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
/* Post - Top section */
|
|
.post{
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.post-page img{
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.post .post-text-wrapper{
|
|
border-radius: 5px;
|
|
background-color: #becadd;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.post .post-text{
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.post .post-event{
|
|
width: 75%;
|
|
margin: 0 auto;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
/* Post - Tags */
|
|
.tags {
|
|
text-align: right;
|
|
margin-bottom: 0em;
|
|
}
|
|
|
|
.tags a {
|
|
color: #6c6f72 !important;
|
|
border-radius: 5px;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.tags a:hover {
|
|
color: #9fa5aa !important;
|
|
}
|
|
|
|
/* Section info */
|
|
section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Events */
|
|
.event{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.event-wrapper {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
min-height: calc(100vh - 63px);
|
|
display: block;
|
|
}
|
|
|
|
.event-wrapper .post-content {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.event-wrapper img{
|
|
vertical-align: middle;
|
|
margin: auto;
|
|
min-width: 400px;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.event .event-wrapper {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.event .event-wrapper a {
|
|
color: #fcd116;
|
|
}
|
|
|
|
|
|
/* Event blog page */
|
|
.post-event {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
min-height: calc(100vh - 63px);
|
|
display: block;
|
|
}
|
|
|
|
.event-wrapper div,
|
|
.post-event div{
|
|
margin: 2.5em 0;
|
|
}
|
|
|
|
.event .post-event {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.event .post-event a {
|
|
color: #fcd116;
|
|
}
|
|
|
|
|
|
/* Feed Preview */
|
|
.minifeed {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1.25%;
|
|
}
|
|
|
|
.minifeed .post {
|
|
width: 32.5%;
|
|
}
|
|
|
|
|
|
/* Partners (homepage) */
|
|
.partners {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 3rem;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.partners a {
|
|
width: 200px;
|
|
text-align: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.partners img {
|
|
margin: 25px auto;
|
|
width: 200px;
|
|
}
|
|
|
|
|
|
/* Footer */
|
|
.footer {
|
|
color: #dcdcdf !important;
|
|
text-align: center;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.footer a {
|
|
color: #dcdcdf !important;
|
|
}
|
|
|
|
|
|
/* Page - Members */
|
|
.member-wrapper,
|
|
.partner-wrapper{
|
|
max-width: 600px;
|
|
align-items: center;
|
|
margin: 0 auto;
|
|
padding: 25px;
|
|
}
|
|
.member, .partner {
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center;
|
|
gap: 5px;
|
|
width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.member .page-img img {
|
|
border-radius: 300px;
|
|
border: 2px solid #ce1126;
|
|
}
|
|
|
|
.member .page-img img,
|
|
.partner .page-img img {
|
|
width: 150px;
|
|
height: auto;
|
|
margin: auto;
|
|
display: block;
|
|
}
|
|
|
|
.member .page-img,
|
|
.partner .page-img {
|
|
flex: 0 0 150px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.member .page-text,
|
|
.partner .page-text {
|
|
flex: 0 0 445px;
|
|
border-radius: 5px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
padding-left:10px;
|
|
padding-right:10px;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.member h1 {
|
|
margin-bottom: 5px !important;
|
|
}
|
|
|
|
.member h2,
|
|
.title h2 {
|
|
text-align: center;
|
|
}
|
|
|
|
.member p {
|
|
margin-top: 5px !important;
|
|
}
|
|
|
|
|
|
/* page settings */
|
|
.page{
|
|
width: 75%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
/* Branding Page brand pictures */
|
|
.brand-line-wrapper{
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center;
|
|
gap: 5%;
|
|
margin: 0 auto;
|
|
margin-top: 25px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.brand-img-dark {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 25px;
|
|
border-radius: 5px;
|
|
background-color: #fff;
|
|
max-width: 50%;
|
|
}
|
|
|
|
.brand-img-dark a {
|
|
margin-top:10px;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
background-color: rgba(0, 0, 0, 0.04) !important;
|
|
}
|
|
|
|
.brand-img-dark a:hover {
|
|
background-color: rgba(0, 0, 0, 0.12) !important;
|
|
}
|
|
|
|
.brand-img-light {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 25px;
|
|
border-radius: 5px;
|
|
background-color: #000;
|
|
max-width: 50%;
|
|
}
|
|
|
|
.brand-img-light a {
|
|
margin-top:10px;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
background-color: rgba(255, 255, 255, 0.035) !important;
|
|
}
|
|
|
|
.brand-img-light a:hover {
|
|
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
}
|
|
|
|
.osm iframe {
|
|
margin-top: 10px;
|
|
border-radius: 5px;
|
|
border: 1px solid #becadd;
|
|
}
|
|
|
|
@media (max-width: 1250px) {
|
|
.minifeed {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.minifeed .post {
|
|
width: 100%;
|
|
}
|
|
|
|
.post-home .post-with-image {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
}
|
|
|
|
.post-home .post-with-image img {
|
|
border-radius: 5px 0 0 5px;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.post-home .post-with-image .post-cover {
|
|
width: 35% !important;
|
|
display: flex;
|
|
}
|
|
|
|
.post-home .post-with-image .post-blerp {
|
|
border-radius: 0 5px 5px 0;
|
|
width: 65% !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar-avatar {
|
|
display:none;
|
|
}
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.social,
|
|
.menu{
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
} |