nicojensen.de/_sass/main.scss

269 lines
4.7 KiB
SCSS
Raw Normal View History

2019-03-12 13:49:49 +01:00
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 {
2023-02-01 13:39:26 +01:00
padding: 0;
2019-03-12 13:49:49 +01:00
color: #4A4A4A;
text-decoration: none;
2023-01-31 19:41:22 +01:00
//background: linear-gradient(to bottom,transparent 0,transparent 85%,#FFC0CB 60%,#FFC0CB 100%);
transition: all 0.15s linear;
2019-03-12 13:49:49 +01:00
}
a:hover {
//color: #fff;
//background-color: #FFC0CB;
2023-01-31 19:41:22 +01:00
//background: none;
color: #ff90a3;
2019-03-12 13:49:49 +01:00
}
2021-06-21 18:50:40 +02:00
.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%;
2019-03-12 13:49:49 +01:00
}
2021-06-21 18:50:40 +02:00
.header h1 {
margin: 0 0 1rem 0;
padding: 0;
2019-03-12 13:49:49 +01:00
font: 400 32px/1 'Open Sans', sans-serif;
letter-spacing: -1px;
color: #333;
text-decoration: none;
}
2021-06-21 18:50:40 +02:00
.header p {
margin: 0;
2021-06-21 19:06:30 +02:00
padding: 0 0 0 4px;
2019-03-12 13:49:49 +01:00
font: 700 14px/1 'Open Sans', sans-serif;
color: #444444;
}
.red {
color: red;
}
.wrapper {
margin: 0 auto;
width: 100%;
2021-06-21 17:12:13 +02:00
max-width: 700px;
2019-03-12 13:49:49 +01:00
padding: 0 10px;
}
#navView {
margin-top: 3rem;
margin-bottom: 3.6rem;
2019-03-12 13:49:49 +01:00
height: 80px;
text-align: center;
padding-top: 50px;
background: url(/assets/images/background/moeve.jpg) no-repeat -1300px -550px;
2019-03-12 13:49:49 +01:00
}
.post:not(:first-child) {
margin-top: 3.6rem;
2019-03-12 13:49:49 +01:00
}
2021-06-21 19:21:21 +02:00
.post:last-child {
margin-bottom: 3.6rem;
}
2019-03-12 13:49:49 +01:00
2023-02-24 14:38:00 +01:00
//.post-content a {
// font-weight: 600;
//}
2019-03-12 13:49:49 +01:00
.post-content a {
2023-02-24 14:38:00 +01:00
padding: 0;
color: rgb(255, 144, 163, 1);
background: linear-gradient( 90deg, rgba(255, 144, 163, 0.2), rgba(255, 144, 163, 0.25) ) no-repeat 0 100%;
background-size: 100% 5%;
background-position-y: 90%;
text-decoration: none;
transition: all 0.2s 0.1s;
2019-03-12 13:49:49 +01:00
font-weight: 600;
}
2023-02-24 14:38:00 +01:00
.post-content a:hover {
padding: 2px 0;
background: linear-gradient( 90deg, rgba(255, 144, 163, 0.2), rgba(255, 144, 163, 0.25) ) no-repeat 0 100%;
background-position-y: 100%;
background-size: 100% 100%;
}
2019-03-12 13:49:49 +01:00
.post-content pre {
2021-06-21 19:15:06 +02:00
margin-left: 0.4rem;
2019-03-12 13:49:49 +01:00
padding: 10px;
2021-06-21 19:15:06 +02:00
border-left: 0.4rem solid #89cff0;
2019-03-12 13:49:49 +01:00
}
.pagination {
margin-bottom: 3.6rem;
2019-03-12 13:49:49 +01:00
}
.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;
2023-01-31 19:41:22 +01:00
margin: 1.75rem 0.4rem 1.75rem 0.4rem;
2021-06-21 19:15:06 +02:00
padding: 0 0 0 1.75rem;
2023-01-31 19:41:22 +01:00
border-left-width: 0.3125rem;
border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
2021-06-21 19:15:06 +02:00
border-left: #FFC0CB 0.4rem solid;
}
.post .post-content {
2021-06-21 19:21:21 +02:00
padding-bottom: 0.1rem;
}
2021-06-21 18:50:40 +02:00
.single-post {
2021-06-21 19:06:30 +02:00
padding-top: 2.5rem;
2021-06-21 18:50:40 +02:00
}
article.post:first-child {
2021-06-21 18:50:40 +02:00
padding-top: 0;
}
2021-06-21 19:37:01 +02:00
article.post h2,
2021-06-21 19:06:30 +02:00
article.post p {
2021-06-21 19:07:59 +02:00
padding-left: 4px;
2021-06-21 19:06:30 +02:00
}
2023-01-31 19:41:22 +01:00
div.post-title h2,
h2.post-title {
margin-bottom: 0;
2023-01-31 19:41:22 +01:00
font-size: 3.5rem;
}
2021-06-21 17:12:13 +02:00
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;
2021-06-21 18:50:40 +02:00
opacity: 75%;
2021-06-21 17:12:13 +02:00
}
article.post header.post-header p.public-date {
margin-top: 0;
font-size: 0.8em;
}
footer.site-footer div.wrapper, article .post-header, .pagination {
2021-06-21 18:50:40 +02:00
padding-top: 2rem;
2019-03-12 13:49:49 +01:00
border-top: #EBF2F6 1px solid;
}
2021-06-21 18:50:40 +02:00
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;
2021-06-21 18:50:40 +02:00
top: -25px;
left: 50%;
margin-left: -5px;
background: #FFF;
border-radius: 100%;
2021-06-21 18:50:40 +02:00
}
article.post:first-child header.post-header,
article.post:first-child header.post-header:before {
border: none!important;
}
2019-03-12 13:49:49 +01:00
footer.site-footer {
position: relative;
2022-10-09 11:22:48 +02:00
margin-top: 1.5rem;
2019-03-12 13:49:49 +01:00
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;
2022-10-09 11:22:48 +02:00
}
.smbtn {
position: relative;
margin: 0px auto;
width: 250px;
}
.smbtn:first-child {
margin-top: 50px;
}
.smbtn a {
display: block;
margin: 0px auto;
margin-bottom: 12px;
padding: 5px 15px;
width: 250px;
border-radius: 50rem !important;
border: 1px solid #FFC0CB;
background: none !important;
}
.smbtn a:hover {
border-color: #99ddff;
2023-03-09 01:12:43 +01:00
padding: 5px 15px !important;
2022-10-09 11:22:48 +02:00
}
.smbtn img {
position: absolute;
top: 8px;
right: -10px;
height: 25px;
2023-03-09 01:09:18 +01:00
}
.reviewRating {
font-size: 2rem;
}
.ratingUnset {
color: rgba(255, 144, 163, 0.25);
}
.ratingSet {
color: rgba(255, 144, 163, 1);
}