blog/assets/main.scss
2023-05-22 22:49:02 +02:00

631 lines
11 KiB
SCSS

---
# only the main sass file needs front matter
---
@import "minima";
@import url(reset.css);
* {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004) !important;
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
text-rendering: optimizelegibility !important;
}
html,
body {
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
margin: 0;
color: rgba(0, 0, 0, 0.84);
font-size: 20px;
line-height: 1.5;
font-family: medium-content-sans-serif-font, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif !important;
letter-spacing: 0;
font-weight: 400;
font-style: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
a:visited {
color: #bb4a03;
}
a {
color: #bb4a03;
text-decoration: underline;
}
}
.category-head {
text-transform: capitalize;
}
header.site-header {
background-color: #80ae3c !important;
width: 100%;
}
footer.site-footer {
background: #fff;
}
footer svg {
display: inline;
}
.footer-site-title a {
color: rgba(141, 191, 66, 0.97) !important;
text-transform: uppercase;
font-weight: bold;
}
.site-header {
border: 0px !important;
border-bottom: 1px solid hsla(0, 0%, 100%, 0.3) !important;
}
table,
table.image,
table td,
table th,
table.image td,
table.image th {
border: 0px !important;
}
table.image img {
border: 1px solid #cccccc;
}
caption {
font-size: 16px;
}
.page-content {
padding: 15px 0 !important;
}
.page-content-home {
background-color: #e4e2dd;
}
.page-content .wrapper {
margin: 0 auto;
max-width: calc(100% - 60px);
}
.desc-list {
list-style: none;
margin: 0;
}
.wrapper {
max-width: 1000px;
}
.site-title {
text-decoration: none;
text-transform: uppercase;
color: #ffffff !important;
font-weight: bold;
}
.site-nav .page-link {
color: #ffffff !important;
text-transform: uppercase;
font-size: 16px;
font-weight: bold;
}
.categories {
width: 100%;
/*
height: 700px;
background: url('../assets/background/people_devices.jpg');
background-repeat: no-repeat;
background-size: 100%;
*/
text-align: center;
}
.categories-content {
span.categories-title {
color: rgba(141, 191, 66, 0.97);
text-transform: uppercase;
font-size: 36px;
font-weight: bold;
}
.categories-card {
width: 360px;
margin-top: 80px;
border: 2px solid #ccc;
border-radius: 5px !important;
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
background: white;
div.categories-text {
padding: 10px;
}
}
}
.jumbotron {
background-color: rgba(141, 191, 66, 0.97) !important;
/*
background-image: url('/assets/background/people_devices.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
background-size: 100% auto;
*/
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
width: 100%;
}
.categories-content,
.jumbotron-content {
margin: 0 auto;
width: 800px;
padding: 80px 0;
}
#about-me h2 {
font-size: 23px;
font-weight: bold;
}
#about-me {
padding: 1rem 1rem 0.5rem;
position: relative;
text-align: center;
font-size: 14px;
}
#about-me::after {
content: "";
margin-left: -10px;
display: block;
width: 0;
height: 0;
position: absolute;
bottom: -10px;
left: 50%;
border-bottom: 0 inset transparent;
border-left: 10px inset transparent;
border-right: 10px inset transparent;
border-top: 10px solid #8dbf42;
}
#donate-form {
background-color: #80ae3c !important;
padding: 1em 0;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
.clear-both {
clear: both;
}
.ayo-thumb img {
border-radius: 50%;
border: 1px solid hsla(0, 0%, 100%, 0.3) !important;
margin: 2px;
}
.ayo-thumb {
width: 100px;
margin: 0 auto;
}
.site-body {
max-width: 1000px;
margin: 0 auto;
}
main.page-content {
width: calc(70% - 20px);
}
nav#side-nav {
width: calc(30% - 10px);
margin: 1em 0;
// box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
// position: sticky;
// position: -webkit-sticky;
// top: 1em;
}
.side-panel-top {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.side-panel-bottom {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.side-panel {
background-color: rgba(141, 191, 66, 0.97) !important;
color: white;
font-size: normal;
padding: 0 15px;
}
.page-content .wrapper .home {
background-color: transparent;
}
.page-content .wrapper .post {
background-color: white;
margin: 1em 0;
}
.site-container {
background-color: #ffffff;
}
table.image caption {
font-size: small;
font-style: italic;
}
.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.tip-jar {
width: 100%;
text-align: center;
}
.blog-post {
&__header {
margin-bottom: 1em;
&__category {
span {
a:hover {
color: #bb4a03;
border-bottom: solid 3px #bb4a03;
text-decoration: none;
}
a {
text-transform: uppercase;
padding: 3px;
width: auto;
text-decoration: none;
font-weight: bold;
font-size: small;
color: #bb4a03;
border-bottom: solid 3px #bb4a03;
}
}
}
&__title {
--x-height-multiplier: 0.342;
--baseline-multiplier: 0.22;
font-family: "Source Serif Pro", serif;
font-weight: 900;
font-style: normal;
font-size: 56px;
margin: 0 0 10px -2.63px;
line-height: 1.04;
padding-top: 5px !important;
}
&__description {
font-size: small;
}
&__meta {
font-size: 14px;
margin: 10px 0 10px;
&__author {
font-weight: bold;
}
}
&__image {
border-radius: 5px;
}
&__image-caption {
font-size: small;
text-align: center;
margin-bottom: 0px;
}
}
&__content {
h1,
h2,
h3 {
padding-top: 20px;
font-weight: bold;
}
p:not(blockquote *):first-of-type::first-letter {
font-weight: 900;
font-size: 75px;
line-height: 60px;
float: left;
padding: 0px 3px;
color: #80ae3c;
margin-top: -8px;
}
p {
margin-top: 1em;
a {
text-decoration: underline;
}
}
blockquote {
font-style: normal;
margin: 35px 0 !important;
}
p,
ul li,
ol li,
li p:first-of-type::first-letter {
--x-height-multiplier: 0.375;
--baseline-multiplier: 0.17;
font-family: medium-content-serif-font, Georgia, Cambria,
"Times New Roman", Times, serif;
letter-spacing: 0.01rem;
color: #333;
font-weight: 400;
font-style: normal;
font-size: 18px;
line-height: 1.58;
letter-spacing: -0.003em;
margin-top: 0px;
}
}
&__after-content {
#rss-sign-up {
color: rgba(141, 191, 66, 0.97);
font-weight: bold;
font-size: 24px;
text-align: center;
margin: 1em auto;
max-width: 350px;
}
// #rss-sign-up a,
#rss-sign-up em {
color: rgba(141, 191, 66, 1);
}
#rss-sign-up a {
text-decoration: underline;
color: #ee4a03;
}
}
}
.blog-home {
&__list-items {
list-style: none;
margin-left: 0;
&__item {
background-color: #fff;
padding-bottom: 40px;
&__header {
margin-bottom: 1em;
&__title {
margin: 10px 0;
font-family: "Source Serif Pro", serif;
font-weight: 900;
font-size: 36px;
line-height: 1.04;
a {
color: #222 !important;
}
a:hover {
color: #bb4a03 !important;
}
}
&__description {
font-size: small;
}
}
&__excerpt {
&__thumb {
border-radius: 5px;
}
p {
margin: 15px 0 0;
--x-height-multiplier: 0.375;
--baseline-multiplier: 0.17;
font-family: medium-content-serif-font, Georgia, Cambria,
"Times New Roman", Times, serif;
letter-spacing: 0.01rem;
font-weight: 400;
font-style: normal;
font-size: 18px;
line-height: 1.58;
letter-spacing: -0.003em;
}
p:not(blockquote *):first-of-type::first-letter {
font-weight: 900;
font-size: 3em;
line-height: 60px;
float: left;
padding: 0px 3px;
color: #80ae3c;
margin-top: -4px;
}
/*
p:first-of-type::first-letter {
font-size: 75px;
line-height: 60px;
float: left;
padding: 0px 3px;
color: #8a2be2;
}
*/
}
&__readmore {
margin-top: 1em;
a:hover {
color: #ee4a03;
}
a {
color: #bb4a03;
font-weight: bold;
}
}
}
}
}
@media not all and (min-resolution: 0.001dpcm) {
.jumbotron {
display: none;
}
}
@media only screen and (min-width: 0px) and (max-width: 350px) {
div.subscription-message-div {
display: none !important;
}
.blog-home {
&__list-items {
margin-left: 0;
}
}
}
@media only screen and (min-width: 0px) and (max-width: 767px) {
article .post-content p,
article .post-content ul li,
article .post-content ol li,
.blog-home {
&__list-items {
margin-left: 0;
&__item {
&__header {
&__description {
font-size: small;
}
}
}
}
}
.blog-post {
&__header {
&__description {
font-size: small;
}
&__title {
font-size: 42px;
}
}
}
caption {
font-size: 12px;
}
.jumbotron {
background: rgba(141, 191, 66, 0.97) !important;
width: 100%;
}
.jumbotron-content {
width: calc(100% - 120px);
padding: 80px 60px;
}
.page-content .wrapper {
max-width: 100%;
}
main.page-content {
width: 100%;
}
nav#side-nav {
width: 100%;
margin: 0 0 1em;
padding: 0 1em;
}
.side-panel {
width: 100%; // calc(100%-1em) !important;
// margin: 0 15px;
}
.jumbotron {
background: rgba(141, 191, 66, 0.97) !important;
width: 100%;
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
}
.jumbotron-content {
padding: 1em 0;
}
.post-list li h3 a {
font-size: 31px;
}
.jumbotron-content #logo-div {
width: 100%;
}
.jumbotron-content {
width: 100%;
}
.site-nav {
background-color: rgba(141, 191, 66, 0.97) !important;
border: 1px solid hsla(0, 0%, 100%, 0.3) !important;
}
.site-nav .menu-icon {
width: 27px;
}
.site-nav .menu-icon > svg path {
fill: #ffffff;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.jumbotron-content {
width: calc(100% - 100px);
padding: 60px 50px;
}
.jumbotron {
background: rgba(141, 191, 66, 0.97) !important;
}
}