gohugo-theme-bree/assets/sass/_customize.scss
2022-05-31 09:35:31 +02:00

277 lines
4.4 KiB
SCSS

@import "_mixins";
.masthead-title small {
font-size: .78rem;
}
#page-contact,
#page-thanks,
.introduction {
min-height: 40px;
margin-bottom: 40px;
@include mq(tabletp) {
min-height: 60px;
margin-bottom: 60px;
}
@include mq(tabletl) {
min-height: 80px;
margin-bottom: 80px;
}
@include mq(laptop) {
min-height: 100px;
margin-bottom: 100px;
}
}
#page-contact .container,
#page-thanks .container,
.introduction .container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
.introduction h1.accent {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
.post {
margin-top: 40px;
@include mq(tabletp) {
margin-top: 60px;
}
@include mq(tabletl) {
margin-top: 80px;
}
@include mq(laptop) {
margin-top: 100px;
}
&:first-of-type {
margin-top: 0;
}
}
#main article {
min-height: 100px;
}
#TableOfContents ul ul,
#TableOfContents ul ul ul,
#TableOfContents ul ul ul ul,
#TableOfContents ul ul ul ul ul,
#TableOfContents ul ul ul ul ul ul,
#TableOfContents ul ul ul ul ul ul ul {
margin-bottom: 0;
}
.post-meta {
margin-top: 5px;
font-size: .85rem;
color: $text-light-color;
}
.post .byline {
font-style: italic;
font-weight: normal;
letter-spacing: 0;
margin-top: -.5rem;
}
.post .byline,
.poem .byline,
.poetry .byline {
margin-bottom: 1rem;
}
.byline .author,
.post-meta .author {
padding-right: 1rem;
}
nav.pagination {
justify-content: center;
}
ul.pager {
margin: 0;
padding: 0;
list-style: none;
}
ul.pager li {
display: inline;
padding: 10px;
margin: 5px;
}
.divider {
position: relative;
margin: 2.5rem 0;
}
.divider::after {
content: "";
display: table;
clear: both;
}
.d-flex {
display: flex;
}
.footnotes hr {
margin: 0;
border: 0;
}
.footnotes blockquote + a.footnote-backref {
margin-bottom: 1rem;
display: inline-block;
}
.post-tags-wrapper {
position: relative;
}
.post-tags {
margin: 0;
padding: 0;
position: absolute;
right: 24px;
bottom: -12px;
list-style: none;
}
.post-tags li,
.post-tags a {
font-family: $heading-font;
float: left;
height: 24px;
line-height: 24px;
position: relative;
font-size: .75em;
}
.post-tags a {
margin-left: 20px;
padding: 0 10px 0 12px;
background: $link-color;
color: #fff;
text-decoration: none;
-webkit-border-bottom-right-radius:4px;
-moz-border-radius-bottomright:4px;
border-bottom-right-radius:4px;
-webkit-border-top-right-radius:4px;
-moz-border-radius-topright:4px;
border-top-right-radius:4px;
}
.post-tags a:before {
content: "";
float: left;
position: absolute;
top: 0;
left: -12px;
width: 0;
height: 0;
border-color: transparent $link-color transparent transparent;
border-style: solid;
border-width: 12px 12px 12px 0;
}
.post-tags a:after {
content: "";
position: absolute;
top: 10px;
left: 0;
float: left;
width: 4px;
height: 4px;
background: #fff;
@include border-radius (2px);
@include box-shadow (-1px -1px 2px $text-color);
}
.post-tags a:hover {
background: $text-light-color;
}
.post-tags a:hover:before {
border-color: transparent $text-light-color transparent transparent;
}
/* Themes */
/* Red */
.theme-base-red .post-tags a {
background: #ac4142;
}
.theme-base-red .post-tags a:before {
border-color: transparent #ac4142 transparent transparent;
}
/* Orange */
.theme-base-orange .post-tags a {
background: #d28445;
}
.theme-base-orange .post-tags a:before {
border-color: transparent #d28445 transparent transparent;
}
/* Green */
.theme-base-green .post-tags a {
background: #90a959;
}
.theme-base-green .post-tags a:before {
border-color: transparent #90a959 transparent transparent;
}
/* Cyan */
.theme-base-cyan .post-tags a {
background: #75b5aa;
}
.theme-base-cyan .post-tags a:before {
border-color: transparent #75b5aa transparent transparent;
}
/* Blue */
.theme-base-blue .post-tags a {
background: #6a9fb5;
}
.theme-base-blue .post-tags a:before {
border-color: transparent #6a9fb5 transparent transparent;
}
/* Magenta */
.theme-base-magenta .post-tags a {
background: #aa759f;
}
.theme-base-magenta .post-tags a:before {
border-color: transparent #aa759f transparent transparent;
}
/* Brown */
.theme-base-brown .post-tags a {
background: #8f5536;
}
.theme-base-brown .post-tags a:before {
border-color: transparent #8f5536 transparent transparent;
}