This repository has been archived on 2021-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
theme-geeklab/src/css/_style.css

401 lines
6.8 KiB
CSS
Raw Normal View History

2018-10-09 08:25:05 +02:00
@font-face {
2018-10-13 02:08:36 +02:00
font-family: 'OpenSans';
src: url('/_font/OpenSans/OpenSans-Regular.eot');
src: url('/_font/OpenSans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
url('/_font/OpenSans/OpenSans-Regular.ttf') format('truetype');
2018-10-09 08:25:05 +02:00
}
@font-face {
2018-10-13 02:08:36 +02:00
font-family: 'OpenSansLight';
src: url('/_font/OpenSans/OpenSans-Light.eot');
src: url('/_font/OpenSans/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
url('/_font/OpenSans/OpenSans-Light.ttf') format('truetype');
2018-10-09 08:25:05 +02:00
}
@font-face {
2018-10-13 02:08:36 +02:00
font-family: 'CreteRound';
src: url('/_font/CreteRound/CreteRound-Regular.otf') format('truetype');
2018-10-09 08:25:05 +02:00
}
@font-face {
2018-10-13 02:08:36 +02:00
font-family: 'DroidSans_Mono';
src: url('/_font/DroidSansMono/DroidSansMono-webfont.eot');
src: url('/_font/DroidSansMono/DroidSansMono-webfont.eot?#iefix') format('embedded-opentype'),
url('/_font/DroidSansMono/DroidSansMono-webfont.ttf') format('truetype');
}
2018-10-09 08:25:05 +02:00
html,body {
2018-10-13 02:08:36 +02:00
margin:0;
padding:0;
height: 100%;
2018-10-09 08:25:05 +02:00
}
html{
2018-10-13 02:08:36 +02:00
box-sizing: border-box;
font-family:OpenSans;
2018-10-09 08:25:05 +02:00
}
*, *:before, *:after {
2018-10-13 02:08:36 +02:00
box-sizing: inherit;
2018-10-09 08:25:05 +02:00
}
/*
2018-10-13 02:08:36 +02:00
Global Helper Classes
2018-10-09 08:25:05 +02:00
*/
.table{
2018-10-13 02:08:36 +02:00
display:table;
2018-10-09 08:25:05 +02:00
}
.table-cell{
2018-10-13 02:08:36 +02:00
display:table-cell;
2018-10-09 08:25:05 +02:00
}
.floated{
2018-10-13 02:08:36 +02:00
float:left;
2018-10-09 08:25:05 +02:00
}
.clear{
2018-10-13 02:08:36 +02:00
clear:both;
}
2018-10-13 02:08:36 +02:00
/*************************
Global Blog Header
**************************/
2018-10-10 16:56:52 +02:00
.site-header {
2018-10-13 02:08:36 +02:00
background: #4186C9;
padding: 2em 0;
text-align: center;
color: #FFF;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-header__icon {
2018-10-13 02:08:36 +02:00
font-size: 2.5em;
background: #FFF;
padding: 0 0.25em;
border-radius: 50%;
color: #4186C9;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-header__title {
2018-10-13 02:08:36 +02:00
font-size: 2.5em;
font-family:CreteRound;
font-weight: normal;
padding-left: 0.3em;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-header__description {
2018-10-13 02:08:36 +02:00
display: block;
margin: 0.8em 0 0.5em;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-nav,
.site-nav__mobile {
2018-10-13 02:08:36 +02:00
background: #2F333E;
text-align: center;
color: #D9D9D9;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-nav {
2018-10-13 02:08:36 +02:00
display: block;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-nav__mobile {
2018-10-13 02:08:36 +02:00
display: none;
2018-10-09 08:25:05 +02:00
}
.site-nav__button{
2018-10-13 02:08:36 +02:00
color: #D9D9D9;
text-decoration: none;
padding: 0.2em 0.5em;
border: 1px solid;
border-radius: 6px;
display: inline-block;
margin: 0.8em 0;
2018-10-09 08:25:05 +02:00
}
.site-nav__button:hover,
.site-nav__button.is-active {
2018-10-13 02:08:36 +02:00
background: #3D4352;
cursor: pointer;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-nav__list{
2018-10-13 02:08:36 +02:00
margin:0;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.site-nav__list li {
2018-10-13 02:08:36 +02:00
display:inline-block;
margin: 0 0.3em;
2018-10-09 08:25:05 +02:00
}
2018-10-13 02:08:36 +02:00
/************************
Content Section
*************************/
2018-10-10 16:56:52 +02:00
.site-wrapper {
2018-10-13 02:08:36 +02:00
display: flex;
flex-direction: column;
min-height: 100vh;
}
.site-content {
flex: 1;
2018-10-09 08:25:05 +02:00
}
2018-10-13 02:08:36 +02:00
2018-10-10 16:56:52 +02:00
.site-content,
.site-footer__block {
2018-10-13 02:08:36 +02:00
margin:0 auto;
width:80%;
max-width:980px;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.post {
2018-10-13 02:08:36 +02:00
word-wrap: break-word;
border-top:1px dashed #959595;
margin: 0 2em;
padding: 1.5em 0;
line-height: 1.5;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
.post:first-child{
2018-10-13 02:08:36 +02:00
border:0;
2018-10-09 08:25:05 +02:00
}
.post-header__link {
2018-10-13 02:08:36 +02:00
color:#000000;
text-decoration: none;
2018-10-09 08:25:05 +02:00
}
.post-header__link:hover{
2018-10-13 02:08:36 +02:00
text-decoration: underline;
2018-10-09 08:25:05 +02:00
}
2018-12-22 23:40:39 +01:00
.post-header__title,
.post-content h1 {
2018-10-13 02:08:36 +02:00
font-weight: normal;
2018-12-22 23:40:39 +01:00
font-size: 1.6em;
2018-10-10 16:56:52 +02:00
}
2018-10-09 08:25:05 +02:00
.post-content__link {
2018-10-13 02:08:36 +02:00
color:#0A539A;
text-decoration: underline;
2018-10-09 08:25:05 +02:00
}
.post-content__link:hover {
2018-10-13 02:08:36 +02:00
background:#0A539A;
color:#FFFFFF;
text-decoration:none;
2018-10-09 08:25:05 +02:00
}
.post-content__link.is-readmore:after {
2018-10-13 02:08:36 +02:00
content:' \f30b';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
2018-10-09 08:25:05 +02:00
}
.post-content__link.is-readmore {
2018-10-13 02:08:36 +02:00
margin-bottom: 1.5em;
display: inline-block;
2018-10-09 08:25:05 +02:00
}
.post-meta__link {
2018-10-13 02:08:36 +02:00
border:1px solid #BFBFBF;
padding:1px 4px;
margin:2px 0;
border-radius: 4px;
text-decoration: none;
color:#505050;
text-transform: uppercase;
position:relative;
display:inline-block;
2018-10-09 08:25:05 +02:00
}
.post-meta__icon {
2018-10-13 02:08:36 +02:00
font-size: 20px;
padding: 0 2px;
2018-10-09 08:25:05 +02:00
}
.post-meta__link:hover {
2018-10-13 02:08:36 +02:00
background:#4CA0F4;
border-color: #3E82C7;
color:#FFFFFF;
text-decoration:none;
cursor:pointer;
2018-10-09 08:25:05 +02:00
}
.post-meta__button {
2018-10-13 02:08:36 +02:00
color: #4A4A4A;
margin-right:10px;
position:relative;
display:inline-block;
white-space:nowrap;
2018-10-09 08:25:05 +02:00
}
.post-footer {
padding: 1em 0;
}
.post-content blockquote {
font-size: 1.1em;
margin:40px auto;
font-style:italic;
color: #555555;
padding:0.2em 30px 0.2em 55px;
border-left:4px solid #dcdfe3 ;
position: relative;
background:#f3f3f3;
}
.post-content blockquote::before {
font-family:Arial;
content: "\201C";
color:#dcdfe3;
font-size:3.5em;
position: absolute;
left: 10px;
top:-10px;
}
.post-content blockquote::after {
content: '';
}
.post-content ul {
list-style: none;
margin:20px auto;
padding-left: 60px;
}
.post-content ul li::before {
content: "\203A";
font-size: 1.5em;
font-weight: bold;
width: 1em;
position: absolute;
margin-left: -20px;
2019-02-14 15:48:18 +01:00
margin-top: -8px;
color: #505050
}
.post-content li {
margin: 8px auto;
}
.post-figure {
padding: 0.25rem;
margin: 2rem 0;
background-color: #dcdfe3
}
.post-figure__img {
max-width: 100%;
height: auto;
}
.post-figure__caption {
font-size: 1.1em;
padding: 2px 0;
font-style:italic;
color: #555555;
}
2018-10-13 02:08:36 +02:00
/************************
Global Blog Footer
*************************/
.site-footer {
2018-10-13 02:08:36 +02:00
width: 100%;
background: #2F333E;
color: #FFFFFF;
padding: 1em 0;
2018-10-09 08:25:05 +02:00
}
.site-footer__block {
line-height: 2;
2018-10-09 08:25:05 +02:00
}
.site-footer__link {
2018-10-13 02:08:36 +02:00
color:#FFA31E;
text-decoration:underline;
2018-10-09 08:25:05 +02:00
}
.site-footer__link:hover{
2018-10-13 02:08:36 +02:00
background:#FFA31E;
color:#000000;
text-decoration:none;
2018-10-09 08:25:05 +02:00
}
.site-footer__button {
2018-10-13 02:08:36 +02:00
margin:0 10px 0 0;
2018-10-09 08:25:05 +02:00
}
2018-10-10 16:56:52 +02:00
2018-10-09 08:25:05 +02:00
/* page navigation */
2018-10-13 02:08:36 +02:00
.paging {
display: flex;
padding: 1.5em 0;
}
.paging__button {
width: 110px;
}
.paging__button.is-prev {
margin-left: auto;
}
.paging__button.is-next {
margin-right: auto;
}
.paging__state {
padding: 0.8em 0;
text-align: center;
2018-10-09 08:25:05 +02:00
}
2018-10-13 02:08:36 +02:00
.paging__link {
display:inline-block;
text-align:center;
border:1px solid #BFBFBF;
text-decoration: none;
color:#505050;
font-size:15px;
text-transform: uppercase;
text-align: center;
font-weight:bold;
background:#FFF;
width: 110px;
padding: 0.8em 0;
2018-10-09 08:25:05 +02:00
}
2018-10-13 02:08:36 +02:00
.paging__link:hover {
background: #4CA0F4;
border-color: #3E82C7;
color: #FFF;
text-decoration: none;
cursor: pointer;
2018-10-09 08:25:05 +02:00
}
@media all and (max-device-width: 900px),
all and (max-width: 900px){
2018-10-13 02:08:36 +02:00
.container-centered{
margin:0;
width:100%;
}
.site-content,
.site-footer__block {
margin:0 1em;
width: auto;
max-width:auto;
}
.post {
margin: auto;
}
2018-10-09 08:25:05 +02:00
}
@media all and (max-device-width: 710px), all and (max-width: 710px){
2018-10-13 02:08:36 +02:00
.site-nav {
2018-10-13 03:31:09 +02:00
display: none;
}
.site-nav.is-visible {
display: block;
2018-10-13 02:08:36 +02:00
}
.site-nav__mobile,
.site-footer__button {
display: block;
}
.site-header__banner{
padding-left: 1em;
padding-right: 1em;
}
2018-10-09 08:25:05 +02:00
2018-10-13 02:08:36 +02:00
.site-nav {
background: #3E4352;
}
.site-nav__list {
padding: 0;
}
.site-nav__list li {
display: block;
margin: 0;
}
.site-nav .site-nav__button {
color: #D9D9D9;
text-decoration: none;
padding: 0.6em 0;
width: 100%;
border: 0;
border-radius: 0;
display: inline-block;
margin: auto;
}
.site-nav .site-nav__button:hover,
.site-nav__button.is-active {
background: #383C4A;
}
2018-10-09 08:25:05 +02:00
}