Init with some changes to the Serif Theme

This commit is contained in:
Waldehyd 2025-09-12 16:54:28 +02:00
commit 912d143813
243 changed files with 15251 additions and 0 deletions

View file

@ -0,0 +1,25 @@
.button {
white-space: nowrap;
display: inline-block;
height: 40px;
line-height: 40px;
padding: 0 14px;
//box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
background: $primary;
border-radius: 4px;
font-size: 14px;
font-weight: normal;
text-transform: uppercase;
letter-spacing: 0.025em;
color: #ffffff;
text-decoration: none;
-webkit-transition: all 0.15s ease;
transition: all 0.15s ease;
&:hover {
color: #ffffff;
background-color: lighten($primary, 10%);
transform: translateY(-1px);
//box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
text-decoration: none;
}
}

View file

@ -0,0 +1,60 @@
.call {
position: relative;
overflow: hidden;
background-color: $white-offset;
border-radius: 4px;
// box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
width: 100%;
display: flex;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
z-index: 2;
@include media-breakpoint-up(sm) {
align-items: center;
flex-direction: row;
flex-wrap: wrap;
}
.call-box-top {
flex: 1 0 auto;
padding: 20px;
@include media-breakpoint-up(md) {
}
}
.call-box-bottom {
flex: auto;
padding: 20px;
border-top: 1px solid darken($white-offset, 5%);
@include media-breakpoint-up(sm) {
flex: 0 0 auto;
border: none;
}
}
.call-name {
font-size: 1.1rem;
font-weight: bold;
}
.call-phone {
margin-bottom: 5px;
}
.call-email {
a {
color: $black;
}
}
strong {
font-weight: bold;
}
svg {
fill: lighten($secondary, 40%);
position: absolute;
bottom: -9px;
right: 0;
width: 100px;
height: 100px;
@include media-breakpoint-up(sm) {
width: 120px;
height: 120px;
}
}
}

View file

@ -0,0 +1,93 @@
.content {
a {
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
margin-top: 20px;
margin-bottom: 20px;
}
strong {
font-width: bold;
}
em {
font-style: italic;
}
p {
font-family: $font-family-base;
line-height: 1.56;
color: $steel;
}
h1 {
font-family: $font-family-base;
font-size: 34px;
line-height: 1.26;
font-weight: normal;
margin-top: 30px;
margin-bottom: 20px;
}
h2 {
font-family: $font-family-base;
font-size: 26px;
font-weight: normal;
line-height: 1.4;
margin-top: 30px;
}
h3 {
font-family: $font-family-base;
font-size: 20px;
line-height: 1.4;
font-weight: normal;
margin-top: 30px;
}
ul,
ol {
margin-bottom: 20px;
ul,
ol {
margin-bottom: 0;
}
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li {
margin-bottom: 5px;
line-height: 1.56;
margin-left: 20px;
color: $steel;
}
hr {
border: none;
border-bottom: 1px solid $white-offset;
}
table {
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
th,
td {
padding: 5px;
vertical-align: top;
border-top: 1px solid $white-offset;
}
thead th {
vertical-align: bottom;
border-bottom: 1px solid $white-offset;
text-align: left;
font-weight: bold;
}
tbody + tbody {
border-top: 1px solid $white-offset;
}
}
blockquote {
padding: 0 1em;
color: $steel;
border-left: .25em solid $secondary;
}
}

View file

@ -0,0 +1,29 @@
.feature {
height: 100%;
border: 1px solid $white-offset;
border-radius: 3px;
padding: 20px;
background-color: #ffffff;
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
.feature-image {
flex: 0 0 auto;
width: 80px;
height: 80px;
display: flex;
margin-bottom: 20px;
text-align: center;
}
img {
width: 100%;
height: auto;
}
.feature-title {
}
.feature-content {
margin-bottom: 0;
margin-top: auto;
}
}

View file

@ -0,0 +1,7 @@
@font-face {
font-family: 'Playfair Display';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local(''), url('../fonts/playfair-display.woff2') format('woff2');
}

View file

@ -0,0 +1,65 @@
.footer {
background: $footer-background-color;
padding-top: 15px;
padding-bottom: 15px;
.footer-inner {
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: flex-start;
@include media-breakpoint-up(sm) {
justify-content: space-between;
flex-direction: row;
align-items: center;
}
}
.footer-title {
color: #ffffff;
font-size: 1.3rem;
font-family: $font-family-heading;
font-weight: bold;
margin-bottom: 10px;
@include media-breakpoint-up(sm) {
margin: 0;
}
}
ul {
list-style: none;
margin: 0;
padding: 0;
li {
color: $footer-text-color;
font-size: 1rem;
a {
color: $footer-text-color;
text-decoration: none;
padding: 12px 14px 12px 0;
display: block;
&:hover {
text-decoration: underline;
}
}
}
@include media-breakpoint-up(sm) {
height: inherit;
display: flex;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
justify-content: flex-end;
li {
list-style: none;
margin-right: 10px;
&:last-of-type {
margin-right: 0;
}
a {
display: inline-block;
height: 40px;
padding: 10px 8px 10px 8px;
}
}
}
}
}

View file

@ -0,0 +1,27 @@
.hamburger {
padding: 10px 0 10px 10px;
outline: none;
z-index: 30;
cursor: pointer;
@include media-breakpoint-up(md) {
display: none;
}
&:focus {
outline: none;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
background: $primary;
}
.hamburger-inner::after {
width: 18px;
right: 0;
}
&.is-active {
.hamburger-inner::after {
width: inherit;
right: unset;
}
}
}

View file

@ -0,0 +1,27 @@
.header {
color: $primary;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
// box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2);
border-bottom: 1px solid $white-offset;
padding: 10px 0px;
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
&.header-absolute {
position: absolute;
z-index: 10;
width: 100%;
}
}
.lock-scroll {
.header {
&.header-absolute {
position: static;
}
}
}

View file

@ -0,0 +1,35 @@
.intro-image {
width: 100%;
height: auto;
margin-top: -40px;
}
.intro-image-absolute {
max-width: none;
padding: 0;
margin-bottom: 30px;
@include media-breakpoint-up(sm) {
}
@include media-breakpoint-up(md) {
position: absolute;
bottom: -50px;
left: -50px;
width: 700px;
}
@include media-breakpoint-up(lg) {
bottom: -60px;
left: -60px;
width: 800px;
}
@include media-breakpoint-up(xl) {
bottom: -100px;
left: -70px;
width: 850px;
}
}
.intro-image-hide-mobile {
display: none;
@include media-breakpoint-up(md) {
display: block;
}
}

View file

@ -0,0 +1,47 @@
.intro {
display: flex;
justify-content: flex-start;
align-items: center;
padding-top: 60px;
padding-bottom: 60px;
overflow: hidden;
@include media-breakpoint-up(md) {
padding-top: 140px;
padding-bottom: 140px;
}
h1 {
color: $black;
font-size: 42px;
font-weight: bold;
line-height: 1.2;
@include media-breakpoint-up(md) {
width: 80%;
font-size: 48px;
}
@include media-breakpoint-up(lg) {
font-size: 50px;
}
}
h2 {
width: 80%;
font-size: 1.2rem;
line-height: 1.4;
margin-bottom: 30px;
color: $black;
font-family: $font-family-base;
}
p {
font-size: 1.2rem;
font-weight: light;
line-height: 1.5;
color: $steel;
@include media-breakpoint-up(md) {
width: 80%;
}
}
}
.intro-small {
padding-top: 100px;
padding-bottom: 30px;
}

View file

@ -0,0 +1,32 @@
.logo {
display: none;
@include media-breakpoint-up(sm) {
display: block;
}
img {
max-width: unset;
height: 20%;
}
a {
display: block;
width: 100%;
height: 100%;
}
}
.logo-mobile {
display: block;
width: 40px;
padding: 10px 0 10px 0;
@include media-breakpoint-up(sm) {
display: none;
}
img {
width: 100%;
height: auto;
}
a {
display: block;
width: 100%;
height: 100%;
}
}

View file

@ -0,0 +1,79 @@
.main-menu-mobile {
position: fixed;
background: $primary;
top: 0;
left: 0;
width: 100%;
height: 100vh;
opacity: 0;
visibility: hidden;
transition: opacity 0.35s, visibility 0.35s, height 0.35s;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
&.open {
opacity: 0.9;
visibility: visible;
height: 100%;
z-index: 20;
li {
animation: fadeInRight 0.5s ease forwards;
animation-delay: 0.35s;
&:nth-of-type(2) {
animation-delay: 0.4s;
}
&:nth-of-type(3) {
animation-delay: 0.45s;
}
&:nth-of-type(4) {
animation-delay: 0.5s;
}
&:nth-of-type(5) {
animation-delay: 0.55s;
}
&:nth-of-type(6) {
animation-delay: 0.6s;
}
}
}
ul {
font-size: 30px;
font-family: $font-family-heading;
text-align: center;
list-style: none;
padding: 0;
margin: 0;
flex: 0;
li {
display: block;
position: relative;
opacity: 0;
padding: 10px;
a {
display: block;
position: relative;
color: #ffffff;
text-decoration: none;
overflow: hidden;
&:hover {
opacity: 0.8;
}
}
}
}
}
@keyframes fadeInRight {
0% {
opacity: 0;
left: 20%;
}
100% {
opacity: 1;
left: 0;
}
}
.lock-scroll {
overflow: hidden;
}

View file

@ -0,0 +1,38 @@
.main-menu {
display: none;
@include media-breakpoint-up(md) {
display: block;
}
> ul {
display: flex;
align-items: center;
justify-content: flex-start;
> li {
list-style: none;
font-size: 1rem;
> a {
padding: 10px 12px 10px 12px;
margin-left: 10px;
display: inline-block;
font-weight: normal;
color: white;
text-decoration: none;
background-color: $primary;
border-radius: 5px;
&:hover {
text-decoration: underline;
}
}
&.active {
> a {
font-weight: bold;
text-decoration: none;
&:hover {
text-decoration: none;
transition: all 225ms ease-in 0s;
}
}
}
}
}
}

View file

@ -0,0 +1,8 @@
.page {
display: flex;
min-height: 100vh;
flex-direction: column;
.wrapper {
flex: 1 0 0;
}
}

View file

@ -0,0 +1,14 @@
.social {
display: block;
img {
width: 20px;
height: 20px;
}
a {
padding: 10px;
display: inline-block;
&:hover {
opacity: 0.8;
}
}
}

View file

@ -0,0 +1,56 @@
.strip {
background: white;
background-repeat: no-repeat;
}
.strip-white {
background-color: white;
}
.strip-grey {
background-color: $white-offset;
}
.strip-diagonal {
transform: skewY(5deg);
padding-bottom: 50px;
margin-bottom: 65px;
> div {
transform: skewY(-5deg);
}
}
.strip-primary-gradient {
background-image: linear-gradient(to right, $primary, $secondary);
}
.strip-primary-gradient-top-bottom {
background-image: linear-gradient(to bottom, $primary, $secondary);
}
.strip-primary {
background-color: $primary;
}
.strip-secondary {
background-color: $secondary;
}
.strip-diagonal-right {
margin-top: -100px;
transform: skewY(-5deg);
padding-bottom: 100px;
> div {
transform: skewY(5deg);
}
}
.strip-diagonal-left {
margin-top: -100px;
transform: skewY(5deg);
padding-bottom: 100px;
> div {
transform: skewY(-5deg);
}
}
.strip-bg-contain {
background-size: contain;
}
.strip-bg-cover {
background-size: cover;
}

View file

@ -0,0 +1,31 @@
.sub-footer {
background: $sub-footer-background-color;
color: $sub-footer-text-color;
padding-top: 15px;
padding-bottom: 15px;
@include media-breakpoint-up(md) {
padding-top: 10px;
padding-bottom: 10px;
}
.sub-footer-inner {
display: flex;
flex-direction: column;
justify-content: space-between;
@include media-breakpoint-up(md) {
flex-direction: row;
}
}
.copyright {
margin-top: 10px;
font-size: 14px;
a {
font-weight: bold;
color: inherit;
}
}
.social {
a:first-of-type {
margin-left: -10px;
}
}
}

View file

@ -0,0 +1,8 @@
.title {
color: $black;
font-size: 48px;
line-height: 1.2;
@include media-breakpoint-up(lg) {
font-size: 50px;
}
}

View file

@ -0,0 +1,43 @@
p {
line-height: 26px;
color: $steel;
font-family: $font-family-base;
margin-bottom: 20px;
}
h1 {
font-size: 30px;
font-family: $font-family-heading;
line-height: 1.2;
margin-bottom: 20px;
@include media-breakpoint-up(md) {
font-size: 32px;
line-height: 1.2;
}
}
h2 {
font-size: 24px;
font-family: $font-family-heading;
line-height: 1.4;
margin-bottom: 10px;
@include media-breakpoint-up(md) {
font-size: 26px;
line-height: 1.4;
}
}
h3 {
font-size: 16px;
line-height: 1.4;
@include media-breakpoint-up(md) {
font-size: 20px;
line-height: 1.4;
}
}
ul,
ol {
margin: 0;
padding: 0;
li {
padding: 0;
margin: 0;
}
}