mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-09-24 14:26:49 +00:00
391 lines
No EOL
5.7 KiB
CSS
391 lines
No EOL
5.7 KiB
CSS
body {
|
|
font-family: "Open Sans";
|
|
margin: auto;
|
|
font-size: 14px;
|
|
background-color: #0D1117;
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 99vh;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-weight: lighter;
|
|
color: #0D1117;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 25px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 22px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 15px;
|
|
line-height: 18px;
|
|
font-style: italic;
|
|
}
|
|
|
|
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%;
|
|
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 {
|
|
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;
|
|
}
|
|
|
|
/* 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-without-image .post-blerp,
|
|
.post-event .post-without-image .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;
|
|
}
|
|
|
|
.post {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.date {
|
|
color: #0D1117;
|
|
font-style: italic;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
/* Post - Top section */
|
|
.post-page{
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.post-page img{
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.post-page .post-text-wrapper{
|
|
border-radius: 5px;
|
|
background-color: #becadd;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.post-page .post-text{
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.article {
|
|
font-size: 35px !important;
|
|
line-height: 40px !important;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.page-date{
|
|
text-align: right !important;
|
|
}
|
|
|
|
.page-divider {
|
|
margin-top: 1em;
|
|
border-top: 1px solid #0D1117;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.section-title h1{
|
|
color: #dcdcdf;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
/* Events */
|
|
.event-wrapper {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
min-height: calc(100vh - 63px);
|
|
}
|
|
|
|
.event-spacer{
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.event .event-wrapper h1,
|
|
.event .event-wrapper h2,
|
|
.event .event-wrapper h3,
|
|
.event .event-wrapper h4,
|
|
.event .event-wrapper p {
|
|
color: #dcdcdf;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.event .event-wrapper a {
|
|
color: #fcd116;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.event-wrapper h1{
|
|
font-size: 35px;
|
|
line-height: 40px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.event-wrapper img{
|
|
vertical-align: middle;
|
|
margin:50px auto;
|
|
min-width: 400px;
|
|
min-height: 400px;
|
|
}
|
|
|
|
/* Feed Preview */
|
|
.feed_preview {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1.25%;
|
|
}
|
|
|
|
.feed_preview .post {
|
|
width: 32.5%;
|
|
}
|
|
|
|
|
|
/* Partners */
|
|
.partners {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 3rem;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.partners li {
|
|
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 {
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center;
|
|
gap: 5%;
|
|
margin-top: 50px;
|
|
margin: 0 auto;
|
|
}
|
|
.member-wrapper{
|
|
width: 80%;
|
|
}
|
|
|
|
.member .page-img img {
|
|
border-radius: 250px;
|
|
border: 2px solid #ce1126;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 90%;
|
|
margin: auto;
|
|
display: block;
|
|
}
|
|
|
|
.member .page-img {
|
|
flex: 0 0 25%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.member .page-text {
|
|
flex: 0 0 70%;
|
|
border-radius: 5px;
|
|
margin: 0 auto;
|
|
padding: 25px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
/* page settings */
|
|
.page{
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.page,
|
|
.page h1,
|
|
.page h2,
|
|
.member,
|
|
.member h1,
|
|
.member h2{
|
|
color: #dcdcdf;
|
|
} |