Initial Commit

This commit is contained in:
hoernschen 2021-02-25 22:23:58 +01:00
parent bdbb15e52e
commit c20d262f7c
26 changed files with 1006 additions and 0 deletions

42
assets/scss/footer.scss Normal file
View file

@ -0,0 +1,42 @@
$color: {{ .Param "color" }};
.footer {
margin: auto;
padding: 1.5rem 0rem;
width: 100%;
flex-shrink: 0;
text-align: center;
display: block;
background-color: #333;
color: #f2f2f2;
}
.social-media-footer {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 2em;
color: $color;
}
.links {
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;
}
.copyright {
margin-top: 2rem;
width: 100%;
font-size: small;
}

261
assets/scss/index.scss Normal file
View file

@ -0,0 +1,261 @@
$color: {{ .Param "color" }};
html {
scroll-behavior: smooth;
}
html, body {
height: 100%;
}
body {
margin: 0;
display: flex;
flex-direction: column;
font-family: system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';
color: #333;
}
h1 {
margin: 0rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
p {
margin: 0.5rem;
}
a {
text-decoration: none;
color: inherit;
}
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%;}
.col-6 {flex: 50%; width: 50%; max-width: 50%;}
.col-7 {flex: 58.33%; width: 58.33%; max-width: 58.33%;}
.col-8 {flex: 66.66%; width: 66.66%; max-width: 66.66%;}
.col-9 {flex: 75%; width: 75%; max-width: 75%;}
.col-10 {flex: 83.33%; width: 83.33%; max-width: 83.33%;}
.col-11 {flex: 91.66%; width: 91.66%; max-width: 91.66%;}
.col-12 {flex: 100%; width: 100%; max-width: 100%;}
[class*="col-"] {
float: left;
padding: 1.5rem 1.5rem;
height: 100%;
}
@media screen and (max-width: 600px) {
[class*="col-"] {
width: 100%;
max-width: 100%;
}
}
.row {
display: flex;
flex-wrap: wrap;
flex-flow: column;
}
.content {
align-self: center;
padding-top: 3rem;
width: 100%;
margin: 0;
}
.divider {
height: 3px;
border-radius: 50px;
background: $color;
width: 60px;
}
.title {
font-size: large;
padding-bottom: 1rem;
text-align: start;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
height: 0;
}
.video {
position: absolute;
margin: 0 auto;
border: 5px dotted $color;
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;
}
.section-even {
background-color: #eee;
}
.section-highlight {
background-color: $color;
}
.section-content {
/* width: 100%; */
max-width: 1152px;
margin: auto;
justify-content: center;
}
.article {
padding-top: 9rem;
padding-bottom: 2rem;
// padding-right: 1.5rem;
// padding-left: 1.5rem;
max-width: 1152px;
width: 100%;
margin: 0;
align-self: center;
}
/* Team */
.team {
align-items: center;
text-align: center;
}
.teammember {
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
padding: 1.5rem;
}
.avatar {
width: 15rem;
height: 15rem;
border-radius: 50%;
border: 2px solid $color;
object-fit: cover;
margin: 0 auto;
}
.teammember-title {
font-size: x-large;
padding-bottom: 0.1rem;
}
.social-media {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 1.5em;
padding-top: 1rem;
color: #333;
min-height: 2em;
}
/* Funding */
.funding-logo {
width: 15rem;
padding: 1.5rem;
}
.reference-logo {
max-height: 15rem;
max-width: 15rem;
padding: 1.5rem;
/* -webkit-filter: grayscale(100%);
filter: grayscale(100%); */
}
.services {
padding: 1.5rem 0rem;
}
.service-icon-container {
/* min-width: 300px; */
/* margin: 0 auto;
align-self: center; */
}
.service-icon {
width: 100%;
height: auto;
}
.service-button {
background-color: transparent;
color: $color;
border: 2px solid $color;
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 2rem;
}
.service-button:hover {
background-color: $color;
color: white;
}
.contact {
justify-content: center;
align-items: center;
}
.contact-button-container {
text-align: center;
margin-top: 0;
margin-bottom: 0;
}
.contact-button {
background-color: white;
color: $color;
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 1rem;
}
.contact-text {
text-align: center;
color: white;
}

View file

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

133
assets/scss/slider.scss Normal file
View file

@ -0,0 +1,133 @@
$color: {{ .Param "color" }};
* {
box-sizing: border-box;
}
.slider {
text-align: center;
margin: 0;
margin-top: 5.5rem;
}
.slides {
display: flex;
overflow-x: hidden;
overflow-y: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scroll-snap-stop: inherit;
scroll-snap-points-x: repeat(300px);
scroll-snap-type: mandatory;
}
.slides::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.slides > div {
scroll-snap-align: start;
flex-shrink: 0;
width: 100%;
height: calc(100vh - 5.5rem);
margin-right: 0.5rem;
border-radius: 10px;
background: #eee;
transform-origin: center center;
transform: scale(1);
transition: transform 0.5s;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.slide > img {
object-fit: cover;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.slide-links {
position: absolute;
margin: 0;
top: calc(100vh - 5rem);
left: 0;
right: 0;
}
.slide-link {
display: inline-flex;
width: 1rem;
height: 1rem;
background: $color;
text-decoration: none;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 0 0.5rem 0 0.5rem;
position: relative;
z-index: 1;
}
.slide-link:hover {
cursor: pointer;
background: #444;
}
.slide-link:active {
top: 1px;
}
.slide-link-active {
background: #444;
}
.slider-navigation-left {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
height: inherit;
left: 0;
top: 0;
z-index: 2;
color: $color;
font-size: 3.5em;
}
.slider-navigation-left:hover {
cursor: pointer;
color: #444;
}
.slider-navigation-right {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
height: inherit;
top: 0;
right: 0;
z-index: 2;
color: $color;
font-size: 3.5em;
}
.slider-navigation-right:active > i {
top: 1px;
}
.slider-navigation-right:hover {
cursor: pointer;
/* color: #444; */
}

34
assets/scss/totop.scss Normal file
View file

@ -0,0 +1,34 @@
$color: {{ .Param "color" }};
.totop {
display: inline-flex;
background-color: $color;
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;
}
}