mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Add the theme
This commit is contained in:
parent
cff7000285
commit
142a478a6a
21 changed files with 663 additions and 1 deletions
265
themes/openalt/source/css/style.css
Normal file
265
themes/openalt/source/css/style.css
Normal file
|
|
@ -0,0 +1,265 @@
|
|||
body {
|
||||
font-family: "Open Sans";
|
||||
margin: auto;
|
||||
font-size: 14px;
|
||||
background-color: #0D1117;
|
||||
}
|
||||
|
||||
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: #0D1117;
|
||||
}
|
||||
|
||||
/* Definition of small fonted text, example: footer */
|
||||
.smoll {
|
||||
font-size: 12px !important;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
/* 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: 80%;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav a {
|
||||
padding: 15px 10px;
|
||||
font-size: 15px;
|
||||
align-content: center;
|
||||
color: #dcdcdf;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
color: #dcdcdf !important;
|
||||
text-align: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #dcdcdf !important;
|
||||
}
|
||||
|
||||
/* Footer - 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: 80%;
|
||||
margin: 30px auto 0 auto;
|
||||
}
|
||||
|
||||
.narrow_view{
|
||||
width: 70%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.post {
|
||||
padding: 1em;
|
||||
background-color: #dcdcdf;
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 10px;
|
||||
opacity: 1;
|
||||
transition: all 1s;
|
||||
}
|
||||
|
||||
img:hover {
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
/* Post */
|
||||
.post-header {
|
||||
line-height: 100%;
|
||||
color:#0D1117;
|
||||
}
|
||||
|
||||
.date {
|
||||
color: #0D1117;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
/* Post - Top section */
|
||||
.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: 75px auto 100px auto;
|
||||
}
|
||||
.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-wrapper h1{
|
||||
font-size: 35px;
|
||||
line-height: 40px;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.event-wrapper img{
|
||||
vertical-align: middle;
|
||||
margin:0 auto 25px auto;
|
||||
}
|
||||
|
||||
/* 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: 1rem;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.partners li {
|
||||
width: 300px;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.partners img {
|
||||
width: 300px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue