nicojensen.de/_sass/main.scss
2021-06-21 18:50:40 +02:00

191 lines
No EOL
3.3 KiB
SCSS

body {
height: 100%;
max-height: 100%;
font: .625em/1 'Open Sans', sans-serif;
letter-spacing: 0.01rem;
font-size: 1.6em;
line-height: 1.75em;
color: #3A4145;
}
a {
padding: 0 2px;
color: #4A4A4A;
text-decoration: none;
background: linear-gradient(to bottom,transparent 0,transparent 85%,#FFC0CB 60%,#FFC0CB 100%);
transition: all 0.15s linear;
}
a:hover {
//color: #fff;
//background-color: #FFC0CB;
background: none;
}
.header {
position: fixed;
z-index: 20;
width: 100%;
height: 7rem;
border-bottom: #EBF2F6 1px solid;
padding: 1rem 0 1rem 2rem;
background-color:hsla(0,0%,100%,.95);
}
.header:after {
display: block;
content: "";
width: 7px;
height: 7px;
border: #E7EEF2 1px solid;
position: relative;
bottom: -20px;
left: 50%;
margin-left: -25px;
background-color:hsla(0,0%,100%,.95);
border-radius: 100%;
}
.header h1 {
margin: 0 0 1rem 0;
padding: 0;
font: 400 32px/1 'Open Sans', sans-serif;
letter-spacing: -1px;
color: #333;
text-decoration: none;
}
.header p {
margin: 0;
padding: 0 0 0 2px;
font: 700 14px/1 'Open Sans', sans-serif;
color: #444444;
}
.red {
color: red;
}
.wrapper {
margin: 0 auto;
width: 100%;
max-width: 700px;
padding: 0 10px;
}
#navView {
margin-top: 3rem;
margin-bottom: 3.6rem;
height: 80px;
text-align: center;
padding-top: 50px;
background: url(/assets/images/background/moeve.jpg) no-repeat -1300px -550px;
}
.post:not(:first-child) {
margin-top: 3.6rem;
}
.post-content a {
font-weight: 600;
}
.post-content pre {
padding: 10px;
background-color: #333;
color: #fff;
}
.pagination {
margin-bottom: 3.6rem;
}
.pagination-inner {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
blockquote {
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 1.75em 0 1.75em 0;
padding: 0 0 0 1.75em;
border-left: #FFC0CB 0.4em solid;
}
.post .post-content {
padding-bottom: 3.6rem;
}
.single-post {
padding-top: 10rem;
}
article.post:first-child {
padding-top: 0;
}
article.post header.post-header div.post-title h2 {
margin-bottom: 0;
}
article.post header.post-header div.post-featured-image {
text-align: center;
}
article.post header.post-header div.post-featured-image img {
max-width: 100%;
width: 760px;
opacity: 75%;
}
article.post header.post-header p.public-date {
margin-top: 0;
font-size: 0.8em;
}
footer.site-footer div.wrapper, article .post-header, .pagination {
padding-top: 2rem;
border-top: #EBF2F6 1px solid;
}
article.post:first-child .post-header {
padding-top: 10rem;
}
footer.site-footer div.wrapper:before, article.post header.post-header:before, .pagination:before {
display: block;
content: "";
width: 7px;
height: 7px;
border: #E7EEF2 1px solid;
position: relative;
top: -25px;
left: 50%;
margin-left: -5px;
background: #FFF;
border-radius: 100%;
}
article.post:first-child header.post-header,
article.post:first-child header.post-header:before {
border: none!important;
}
footer.site-footer {
position: relative;
padding-bottom: 1.5rem;
font-size: 1.2rem;
line-height: 1.75em;
text-align: center;
}
#contact ul {
list-style-type: none;
padding: 0;
margin: 0;
}