CHANGE image handling, ADD partials to reuse structure, REFACTOR

This commit is contained in:
Hoernschen 2025-04-17 16:22:33 +02:00
parent 1265491dee
commit 01dcf04b8a
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
36 changed files with 1181 additions and 864 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -1,53 +1,53 @@
.footer {
margin: auto;
padding: 1.5rem 0rem;
width: 100%;
flex-shrink: 0;
text-align: center;
display: block;
background-color: #333;
color: #f2f2f2;
margin: auto;
padding: 1.5rem 0rem;
width: 100%;
flex-shrink: 0;
text-align: center;
display: block;
background-color: {{ .Site.Params.footer.color | default "#333" }};
color: #f2f2f2;
}
.social-media-footer {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 2em;
color: {{ .Site.Params.color.primary }};
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 2em;
color: {{ .Site.Params.color.primary }};
}
.social-media-footer a {
color: {{ .Site.Params.color.primary }};
color: {{ .Site.Params.color.primary }};
}
.links {
margin-top: 1.5rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 0;
margin-top: 1.5rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 0;
}
.link {
display: flex;
justify-content: space-around;
flex-grow: 0;
flex-shrink: 1;
line-height: 32px;
padding: 0px 24px;
display: flex;
justify-content: space-around;
flex-grow: 0;
flex-shrink: 1;
line-height: 32px;
padding: 0px 24px;
}
.link a {
color: inherit;
color: inherit;
}
.link:before {
content: none;
content: none;
}
.copyright {
margin-top: 2rem;
width: 100%;
font-size: small;
}
margin-top: 2rem;
width: 100%;
font-size: small;
}

View file

@ -1,170 +1,171 @@
.header {
margin: auto;
width: 100%;
padding: 0.5rem;
padding-right: 0rem;
display: flex;
font-size: large;
overflow: hidden;
flex-shrink: 0;
background: white;
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.2);
position: fixed;
z-index: 999;
top: 0;
margin: auto;
width: 100%;
padding: 0.5rem;
padding-right: 0rem;
display: flex;
font-size: large;
overflow: hidden;
flex-shrink: 0;
background: white;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
position: fixed;
z-index: 999;
top: 0;
}
.header-container {
width: 100%;
max-width: 1152px;
display: flex;
margin: auto;
width: 100%;
max-width: 1152px;
display: flex;
margin: auto;
}
.header-blocker {
width: 100%;
min-height: 4rem;
width: 100%;
min-height: 4rem;
}
.sticky {
position: fixed;
top: 0;
position: fixed;
top: 0;
}
.logo {
height: 3rem;
max-width: 10rem;
height: 3rem;
max-width: 10rem;
}
.small-logo {
height: 2.5rem;
max-width: 10rem;
height: 2.5rem;
max-width: 10rem;
}
.menu-icon {
display: none;
font-size: larger;
color: inherit;
display: none;
font-size: larger;
color: inherit;
}
.header-items {
margin: auto;
margin-right: 0px;
padding-right: 24px;
display: flex;
justify-content: center;
margin: auto;
margin-right: 0px;
padding-right: 24px;
display: flex;
justify-content: center;
}
.header-item {
margin: auto;
margin-inline: 1rem;
color: inherit;
margin: auto;
margin-inline: 1rem;
color: inherit;
}
.dropdown {
overflow: hidden;
overflow: hidden;
}
.dropdown .dropbtn {
border: none;
outline: none;
margin: 0;
.dropdown .dropbtn {
border: none;
outline: none;
margin: 0;
}
.dropdown-content {
display: none;
position: fixed;
background-color: #ffffff;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
display: none;
position: fixed;
background-color: #ffffff;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
padding: 0.5rem 1rem;
display: block;
color: inherit;
padding: 0.5rem 1rem;
display: block;
color: inherit;
}
.dropdown-content a:hover {
background-color: #ddd;
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
display: block;
}
@media screen and (max-width: 600px) {
.header {
padding: 0.5rem;
padding-right: 0.5rem;
}
.header-container {
display: block;
}
.home {
width: 100vw;
}
.menu-icon {
display: block;
position: fixed;
top: 15px;
right: 30px;
}
.header {
padding: 0.5rem;
padding-right: 0.5rem;
}
.menu-icon .hide {
display: none;
}
.header-container {
display: block;
}
.small-icon {
top: 15px;
}
.home {
width: 100vw;
}
.header-items {
display: none;
}
.menu-icon {
display: block;
position: fixed;
top: 15px;
right: 30px;
}
.header-items.responsive {
position: relative;
float: none;
display: block;
text-align: left;
margin-top: 0.5rem;
padding-right: 0rem;
}
.menu-icon .hide {
display: none;
}
.header-items.responsive .header-item {
display: block;
margin-left: 0rem;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
}
.small-icon {
top: 15px;
}
.header-items.responsive .header-contact-button {
display: block;
margin-left: 0rem;
}
.header-items {
display: none;
}
.header-items.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.header-items.responsive {
position: relative;
float: none;
display: block;
text-align: left;
margin-top: 0.5rem;
padding-right: 0rem;
}
.header-items.responsive .dropdown {
float: none;
}
.header-items.responsive .dropdown-content {
position: relative;
box-shadow: none;
}
.header-items.responsive .dropdown .dropbtn {
display: block;
width: 100vw;
text-align: left;
}
.header-items.responsive .header-item {
display: block;
margin-left: 0rem;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
}
}
.header-items.responsive .header-contact-button {
display: block;
margin-left: 0rem;
}
.header-items.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.header-items.responsive .dropdown {
float: none;
}
.header-items.responsive .dropdown-content {
position: relative;
box-shadow: none;
}
.header-items.responsive .dropdown .dropbtn {
display: block;
width: 100vw;
text-align: left;
}
}

View file

@ -1,14 +1,9 @@
.hero {
min-height: 700px;
{{ with .hero.background }}
background-image: url({{ . }}) !important;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
{{ end }}
}
.hero-icon-container {
padding: 1rem;
margin: auto;
min-height: 700px;
{{ with .hero.background }}
background-image: url({{ . }}) !important;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
{{ end }}
}

View file

@ -1,97 +1,90 @@
$font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
{{ with .Site.Params.font }}
{{ if .name }}
{{ if .url }}
@font-face {
font-family: {{ .name }};
src: url({{ .url }}) format( {{ .format | default "ttf" }} );
font-weight: 400;
font-style: normal;
}
{{ end }}
$font: {{ .name }} !important;
{{ if .name }}
{{ if .url }}
@font-face {
font-family: {{ .name }};
src: url({{ .url }}) format( {{ .format | default "ttf" }} );
font-weight: 400;
font-style: normal;
}
{{ end }}
$font: {{ .name }} !important;
{{ end }}
{{ end }}
* {
box-sizing: border-box;
word-break: break-word;
box-sizing: border-box;
word-break: break-word;
}
html {
scroll-behavior: smooth;
scroll-behavior: smooth;
}
html, body {
height: 100%;
height: 100%;
}
body {
margin: 0;
display: flex;
flex-direction: column;
color: #333;
font-family: $font;
font-weight: 400;
font-style: normal;
margin: 0;
display: flex;
flex-direction: column;
color: #333;
font-family: $font;
font-weight: 400;
font-style: normal;
}
main {
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: center;
}
h1 {
margin: 0rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
margin: 0rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
p {
margin: 0.5rem;
margin: 0.5rem;
}
a {
text-decoration: none;
color: {{ .Site.Params.color.secondary }};
text-decoration: none;
color: {{ .Site.Params.color.secondary }};
}
img {
max-width: 100%;
height: auto;
margin: auto;
object-fit: contain;
border-radius: 6px;
}
{{ if .Site.Params.list.image }}
ul {
list-style: none;
padding-left: 1rem;
}
ul li {
display: flex;
}
ul li:before {
content: url({{ .Site.Params.list.image }});
display: inline-block;
width: 21px;
height: 21px;
margin-right: 10px;
flex-shrink: 0;
}
ul {
list-style: none;
padding-left: 1rem;
}
ul li {
display: flex;
}
ul li:before {
content: url({{ .Site.Params.list.image }});
display: inline-block;
width: 21px;
height: 21px;
margin-right: 10px;
flex-shrink: 0;
}
{{ end }}
button {
font-family: inherit;
font-size: 100%;
line-height: inherit;
color: inherit;
background-color: transparent;
background-image: none;
text-transform: none;
padding: 0;
}
.col-3 {flex: 25%; width: 25%; max-width: 25%;}
.col-4 {flex: 33.33%; width: 33.33%; max-width: 33.33%;}
.col-5 {flex: 41.66%; width: 41.66%; max-width: 41.66%;}
@ -104,246 +97,246 @@ button {
.col-12 {flex: 100%; width: 100%; max-width: 100%;}
[class*="col-"] {
float: left;
float: left;
}
.row {
display: flex;
flex-wrap: wrap;
flex-flow: column;
display: flex;
flex-wrap: wrap;
flex-flow: column;
}
.content {
align-self: center;
padding-top: 3rem;
width: 100%;
margin: 0;
align-self: center;
padding-top: 3rem;
width: 100%;
margin: 0;
}
.content p img {
width: 100%;
// height: 500px;
width: 100%;
// height: 500px;
}
.divider {
height: 3px;
border-radius: 50px;
background: {{ .Site.Params.color.primary }};
width: 60px;
height: 3px;
border-radius: 50px;
background: {{ .Site.Params.color.primary }};
width: 60px;
}
.title {
font-size: large;
padding-bottom: 1rem;
text-align: start;
font-size: large;
padding-bottom: 1rem;
text-align: start;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
height: 0;
position: relative;
padding-bottom: 56.25%;
height: 0;
}
.video {
position: absolute;
margin: 0 auto;
border: 5px dotted {{ .Site.Params.color.primary }};
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
margin: 0 auto;
border: 5px dotted {{ .Site.Params.color.primary }};
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.section {
padding-top: 2rem;
padding-bottom: 2.5rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
margin: 0;
align-self: center;
flex: 1 0 auto;
padding-top: 2rem;
padding-bottom: 2.5rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
margin: 0;
align-self: center;
flex: 1 0 auto;
}
.section-even {
background-color: #eee;
background-color: {{ .Site.Params.color.background | default "#eee" }};
}
.section-highlight {
background-color: {{ .Site.Params.color.primary }};
background-color: {{ .Site.Params.color.primary }};
}
.section-content {
width: 100%;
max-width: 1152px;
margin: auto;
justify-content: center;
width: 100%;
max-width: 1152px;
margin: auto;
justify-content: center;
}
.content {
padding-top: 9rem;
padding-bottom: 2rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
max-width: 1152px;
margin: 0;
align-self: center;
flex-grow: 1;
padding-top: 9rem;
padding-bottom: 2rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
max-width: 1152px;
margin: 0;
align-self: center;
flex-grow: 1;
}
.notfound {
display: flex;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
max-width: 1152px;
margin: 0;
align-self: center;
justify-content: center;
flex-grow: 1;
display: flex;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
max-width: 1152px;
margin: 0;
align-self: center;
justify-content: center;
flex-grow: 1;
}
.notfoundimage {
width: 100%;
max-width: 912px;
.notfound img {
width: 100%;
max-width: 912px;
}
/* Team */
.team {
align-items: center;
text-align: center;
align-items: center;
text-align: center;
}
.team-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.team-list a {
display: flex;
flex-direction: row;
flex-wrap: wrap;
a {
color: inherit;
margin: 0 auto;
}
}
.teammember {
display: inline-block;
align-items: center;
text-align: center;
padding: 1rem;
display: inline-block;
align-items: center;
text-align: center;
padding: 1rem;
}
.avatar {
width: 15rem;
height: 15rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
margin: 0 auto;
width: 15rem;
height: 15rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
margin: 0 auto;
}
.avatar-small {
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
margin: 0 auto;
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
margin: 0 auto;
}
.teammember-title {
font-size: x-large;
padding-bottom: 0.1rem;
font-size: x-large;
padding-bottom: 0.1rem;
}
.teammember-header {
display: flex;
justify-content: left;
margin-bottom: 2rem;
display: flex;
justify-content: left;
margin-bottom: 2rem;
}
.teammember-header-avatar {
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
}
.teammember-header-title {
font-size: x-large;
padding-bottom: 0.1rem;
margin: auto 1rem;
font-size: x-large;
padding-bottom: 0.1rem;
margin: auto 1rem;
}
.teammember-header-social-media {
display: flex;
flex-wrap: wrap;
color: #333;
margin-top: -0.5rem;
padding-block-end: 0.25rem;
display: flex;
flex-wrap: wrap;
color: #333;
margin-top: -0.5rem;
padding-block-end: 0.25rem;
}
.teammember-header-social-media a {
color: inherit;
color: inherit;
}
.teammember-posts {
margin-top: 2rem;
margin-top: 2rem;
}
.social-media {
font-size: 1.5em;
font-size: 1.5em;
}
.author {
width: 100%;
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
padding-top: 2rem;
width: 100%;
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
padding-top: 2rem;
}
.author a {
color: inherit;
color: inherit;
}
.author-title {
font-size: x-large;
padding-bottom: 0.1rem;
margin: 0;
font-size: x-large;
padding-bottom: 0.1rem;
margin: 0;
}
/* Funding */
.funding-logo {
max-width: 11rem;
max-height: 9rem;
padding: 1rem;
max-width: 11rem;
max-height: 9rem;
padding: 1rem;
}
.services {
display: flex;
align-items: center;
padding: 1.5rem 0rem;
display: flex;
align-items: center;
padding: 1.5rem 0rem;
}
.services-section-content {
display: flex;
align-items: center;
display: flex;
align-items: center;
}
.service-icon-container {
padding: 1.5rem;
margin: auto;
.side-image {
padding: 1rem;
margin: auto;
}
.service-icon {
width: 100%;
height: auto;
object-fit: contain;
.side-image img {
width: 100%;
height: auto;
max-height: 90vh;
object-fit: contain;
}
.quote {
@ -366,194 +359,258 @@ button {
margin-inline-end: -0.5rem;
}
.button-filled {
background-color: {{ .Site.Params.color.primary }};
color: white;
border: 2px solid {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
button {
font-family: inherit;
font-size: 100%;
line-height: inherit;
color: inherit;
background-color: transparent;
background-image: none;
text-transform: none;
padding: 0;
}
.button-outlined {
background-color: transparent;
color: {{ .Site.Params.color.primary }};
border: 2px solid {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
.button:hover {
filter: brightness(60%);
}
.button-outlined:hover {
background-color: {{ .Site.Params.color.primary }};
color: white;
.button.filled {
background-color: {{ .Site.Params.color.primary }};
color: white;
border: 2px solid {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
}
.button.outlined {
background-color: transparent;
color: {{ .Site.Params.color.primary }};
border: 2px solid {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
}
.button.outlined:hover {
background-color: {{ .Site.Params.color.primary }};
color: white;
}
.button.text {
display: inline-block;
padding: 0.5rem 1.5rem;
text-align: center;
font-size: 1rem;
color: {{ .Site.Params.color.primary }};
}
.button.inverted {
background-color: white;
color: {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 1rem;
}
.button.fab {
display: inline-flex;
background-color: {{ .Site.Params.color.primary }};
color: #f2f2f2;
width: 50px;
height: 50px;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 30px;
position: fixed;
bottom: 0px;
right: 0px;
transition: background-color .3s;
z-index: 1000;
}
.button.play {
background: url('/button/google-play-button.svg');
background-repeat: no-repeat;
background-size: cover;
display: inline-block;
width: 10rem;
height: 3rem;
}
.button.appstore {
background: url('/button/apple-appstore-button.svg');
background-repeat: no-repeat;
background-size: cover;
display: inline-block;
width: 10rem;
height: 3rem;
}
.button.block {
width: 100%;
}
.show {
visibility: visible;
opacity: 1;
}
.hide {
visibility: hidden;
opacity: 0;
}
.contact {
justify-content: center;
align-items: center;
justify-content: center;
align-items: center;
}
.contact-button-container {
text-align: center;
margin-top: 0;
margin-bottom: 0;
}
.contact-button {
background-color: white;
color: {{ .Site.Params.color.primary }};
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 1rem;
text-align: center;
margin-top: 0;
margin-bottom: 0;
}
.contact-text {
text-align: center;
color: white;
text-align: center;
color: white;
}
.cardList {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
width: 100%;
}
.cardList a {
color: inherit;
flex-grow: 1;
color: inherit;
flex-grow: 1;
}
.smallCard {
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
width: 360px;
height: 100px;
margin: 10px;
justify-content: center;
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
width: 360px;
height: 100px;
margin: 10px;
justify-content: center;
}
.mediumCard {
display: flex;
flex-direction: column;
flex: 1 1 300px;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
max-width: 350px;
height: 200px;
margin: 10px;
justify-content: center;
display: flex;
flex-direction: column;
flex: 1 1 300px;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
max-width: 350px;
height: 200px;
margin: 10px;
justify-content: center;
}
.card {
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
max-width: 350px;
height: 400px;
margin: 1rem auto;
justify-content: center;
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
max-width: 350px;
height: 400px;
margin: 1rem auto;
justify-content: center;
}
.cardContent {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.cardImage {
display: flex;
width: 100%;
height: 150px;
border-radius: 5px 5px 0px 0px;
object-fit: cover;
}
.noCover {
object-fit: unset !important;
}
.cardIcon {
display: flex;
width: 100%;
height: 150px;
border-radius: 5px 5px 0px 0px;
object-fit: cover;
i {
margin: auto;
font-size: 8em;
color: {{ .Site.Params.color.secondary }};
}
}
.noCover {
object-fit: unset !important;
}
.cardTitle {
text-align: center;
font-size: 18px;
font-weight: 600;
padding-top: 1rem;
padding-bottom: 0.5rem;
text-align: center;
font-size: 18px;
font-weight: 600;
padding-top: 1rem;
padding-bottom: 0.5rem;
}
.cardDescription {
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
padding: 6px;
padding-top: 0px;
word-wrap: break-word;
height: 100%;
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
padding: 6px;
padding-top: 0px;
word-wrap: break-word;
height: 100%;
}
.cardDetail {
padding: 6px;
font-size: 12px;
text-align: right;
padding: 6px;
font-size: 12px;
text-align: right;
}
.post-detail {
margin-top: -6px;
padding-bottom: 6px;
font-size: 14px;
margin-top: -6px;
padding-bottom: 6px;
font-size: 14px;
}
.coverimage {
height: 60vh;
min-width: 100%;
padding-top: 68px;
object-fit: cover;
height: 60vh;
min-width: 100%;
padding-top: 68px;
object-fit: cover;
}
.image-copyright {
width: 100%;
max-width: 1152px;
align-self: center;
padding-right: 1.5rem;
padding-left: 1.5rem;
font-size: small;
}
.more-button {
padding-top: 1rem;
text-align: center;
color: {{ .Site.Params.color.primary }};
width: 100%;
max-width: 1152px;
align-self: center;
padding-right: 1.5rem;
padding-left: 1.5rem;
font-size: small;
}
@media screen and (max-width: 600px) {
[class*="col-"] {
display: block;
width: 100%;
max-width: 100%;
}
.services {
display: inline-block;
}
[class*="col-"] {
display: block;
width: 100%;
max-width: 100%;
}
.services {
display: inline-block;
}
}

View file

@ -1,8 +1,8 @@
.progress {
background: linear-gradient(to right, {{ .Site.Params.color.primary }} var(--scroll), transparent 0);
background-repeat: no-repeat;
position: fixed;
width: 100%;
height: 4px;
z-index: 1000;
}
background: linear-gradient(to right, {{ .Site.Params.color.primary }} var(--scroll), transparent 0);
background-repeat: no-repeat;
position: fixed;
width: 100%;
height: 4px;
z-index: 1000;
}

View file

@ -1,33 +0,0 @@
.totop {
display: inline-flex;
background-color: {{ .Site.Params.color.primary }};
color: #f2f2f2;
width: 50px;
height: 50px;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 30px;
position: fixed;
bottom: 0px;
right: 0px;
transition: background-color .3s;
z-index: 1000;
}
.show {
visibility: visible;
opacity: 1;
}
.hide {
visibility: hidden;
opacity: 0;
}
@media screen and (min-width: 600px) {
.totop:hover {
cursor: pointer;
background-color: black;
}
}