hochzeit/src/client/sass/index.scss
2020-12-17 16:07:58 +01:00

187 lines
2.7 KiB
SCSS

@import "../../../node_modules/foundation-sites/scss/foundation";
@import "settings";
//Importiere zuerst foundation vor anderen Imports, damit foundation-settings überschrieben werden
@include foundation-everything;
@import "navbar";
@import "unterkunft";
@import "geschenke";
@import "tagesablauf";
@font-face {
font-family: "WinterSunrise";
src: url("../img/WinterSunrise.ttf");
}
@mixin fullHeight{
height: calc(100vh - 4rem);
@include breakpoint(medium down) {
height: calc(100vh - 3rem);
//height: calc(100vh - 4rem);
}
}
.width-100 {
width: 100%;
}
.height-100 {
height: 100%;
}
html {
height: 100%;
font-size: 20px;
letter-spacing: 1.1px;
}
.grow {
flex: 1;
}
body {
background: $background-color;
width: 100%;
height: 100%;
#main-content-container {
@include fullHeight;
position: relative;
overflow: auto;
#scroll-container {
min-height: 100%;
background: $background-color;
> div {
min-height: 100%;
> .grid-x {
min-height: 100%;
}
}
#main-content {
height: 100%;
padding: 0;
}
}
}
}
.overflow-auto {
overflow: auto;
}
h1, p, .padding-default {
padding-left: 1rem;
padding-right: 1rem;
}
a.hidden-link, a.hidden-link:hover {
text-decoration: none;
color: inherit;
}
h1 {
font-family: WinterSunrise, serif;
font-size: 3rem;
@include breakpoint(large) {
font-size: 4.5rem;
}
}
#home-img-container {
&.hide-for-medium #start-text-img-overlay {
display: none;
}
#home-img {
width: 100%;
height: 100%;
z-index: -1;
position: fixed;
img {
width: 100%;
@include fullHeight;
object-fit: cover;
}
#start-text-img-overlay {
position: absolute;
bottom: 3rem;
left: 0.625rem;
color: white;
font-size: 2.77rem;
line-height: 1.2;
@include breakpoint(medium) {
font-size: 6rem;
left: 2rem;
}
@include breakpoint(large) {
font-size: 8rem;
}
}
}
#img-spacer {
display: block;
width: 100%;
height: 100%;
}
}
img.full-screen-width {
width: 100vw;
}
.hidden {
display: none;
}
.site-content {
padding: 2rem 0.625rem;
@include breakpoint(large) {
padding: 3rem 2rem;
}
}
.fill-height {
@include fullHeight;
}
.fill-height-medium-up {
@include breakpoint(medium) {
height: calc(100vh - 3rem);
//height: calc(100vh - 4rem);
@include breakpoint(large){
height: calc(100vh - 4rem);
}
}
}
.img-column {
max-width: 40%;
img {
object-fit: cover;
}
}
.padding-bottom-0 {
padding-bottom: 0;
}
.hide-scrollbar{
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar{
display: none;
}
}