mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Updated template and content
This commit is contained in:
parent
142a478a6a
commit
9dd5ca83c5
33 changed files with 415 additions and 222 deletions
|
|
@ -5,6 +5,12 @@ body {
|
|||
background-color: #0D1117;
|
||||
}
|
||||
|
||||
.body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 99vh;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
|
@ -36,13 +42,13 @@ h4 {
|
|||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #0D1117;
|
||||
color: #31486b;
|
||||
}
|
||||
|
||||
/* Definition of small fonted text, example: footer */
|
||||
.smoll {
|
||||
font-size: 12px !important;
|
||||
line-height: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
/* Topbar header section */
|
||||
|
|
@ -61,6 +67,7 @@ a {
|
|||
/* Topbar menu section */
|
||||
nav {
|
||||
width: 80%;
|
||||
background-color: #0D1117 !important;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
|
@ -74,18 +81,7 @@ nav a {
|
|||
color: #dcdcdf;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
color: #dcdcdf !important;
|
||||
text-align: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #dcdcdf !important;
|
||||
}
|
||||
|
||||
/* Footer - Social */
|
||||
/* Topbar - Social */
|
||||
.social {
|
||||
justify-content: center;
|
||||
margin: 0.5em 0 0 auto;
|
||||
|
|
@ -116,19 +112,46 @@ nav a {
|
|||
main {
|
||||
width: 80%;
|
||||
margin: 30px auto 0 auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.narrow_view{
|
||||
width: 70%;
|
||||
margin: 0 auto;
|
||||
/* Homepage settings */
|
||||
.post-home img {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.post {
|
||||
padding: 1em;
|
||||
background-color: #dcdcdf;
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 16px;
|
||||
.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 */
|
||||
|
|
@ -136,21 +159,23 @@ img {
|
|||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 10px;
|
||||
opacity: 1;
|
||||
transition: all 1s;
|
||||
}
|
||||
|
||||
img:hover {
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
/* Post */
|
||||
.post-header {
|
||||
.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;
|
||||
|
|
@ -163,6 +188,27 @@ iframe {
|
|||
}
|
||||
|
||||
/* Post - Top section */
|
||||
.post-page{
|
||||
width: 75%;
|
||||
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: 75%;
|
||||
margin: 0 auto;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.article {
|
||||
font-size: 35px !important;
|
||||
line-height: 40px !important;
|
||||
|
|
@ -207,18 +253,28 @@ section {
|
|||
/* Events */
|
||||
.event-wrapper {
|
||||
text-align: center;
|
||||
margin: 75px auto 100px auto;
|
||||
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 a ,
|
||||
.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;
|
||||
|
|
@ -227,11 +283,12 @@ section {
|
|||
|
||||
.event-wrapper img{
|
||||
vertical-align: middle;
|
||||
margin:0 auto 25px auto;
|
||||
margin:50px auto;
|
||||
min-width: 400px;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
/* Feed Preview */
|
||||
|
||||
.feed_preview {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
@ -244,22 +301,34 @@ section {
|
|||
|
||||
|
||||
/* Partners */
|
||||
|
||||
.partners {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
gap: 3rem;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.partners li {
|
||||
width: 300px;
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.partners img {
|
||||
width: 300px;
|
||||
}
|
||||
margin: 25px auto;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
color: #dcdcdf !important;
|
||||
text-align: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #dcdcdf !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue