forked from zer.ooo/web
193 lines
3.7 KiB
SCSS
193 lines
3.7 KiB
SCSS
// imports
|
|
@import "normalize.css";
|
|
@import "flaticon.css";
|
|
@import "navigation.sass";
|
|
@import "forms.sass";
|
|
@import "tables.css";
|
|
@import url(https://fonts.googleapis.com/css?family=Karla|Montserrat|Inconsolata|Rubik);
|
|
|
|
// base, mixins, extensions
|
|
body {
|
|
background-color: #7aa2cb;
|
|
font-family: 'Karla', sans-serif;
|
|
font-size:100%;
|
|
}
|
|
|
|
.flexcontainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flexpage {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
@mixin long-shadow-text ($distance, $blur, $color) {
|
|
$shadows: null;
|
|
$color: darken($color, 10);
|
|
$blur: $blur + px;
|
|
@for$i from 0 through $distance {
|
|
$dist: $i + px;
|
|
$shadows: append($shadows, ($dist $dist $blur $color), comma);
|
|
}
|
|
text-shadow: $shadows;
|
|
}
|
|
|
|
$break-small: 1200px;
|
|
|
|
@mixin break-small {
|
|
@media (max-width: #{$break-small}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
// first section with logo and navigation
|
|
.intro-page {
|
|
@extend .flexpage;
|
|
background: linear-gradient(#070a15, #252b46);
|
|
height: 100vh;
|
|
flex-direction: column;
|
|
@include break-small {
|
|
height: 100%; // remove the 100 VH on mobile devices to prevent unneccessary scrolling
|
|
}
|
|
}
|
|
|
|
.intro-page-logo {
|
|
font-family: 'Montserrat', serif;
|
|
font-size: 12em;
|
|
text-transform: uppercase;
|
|
color: #E08E79;
|
|
@include long-shadow-text(30, 0, #F1D4AF);
|
|
@include break-small {
|
|
font-size: 3.5em;
|
|
padding: 20px;
|
|
@include long-shadow-text(20, 0, #F1D4AF);
|
|
}
|
|
}
|
|
|
|
.intro-page-welcome-text {
|
|
font-family: 'Inconsolata', serif;
|
|
font-size: 2em;
|
|
text-transform: uppercase;
|
|
color: #fff;
|
|
@include break-small {
|
|
font-size: 1em;
|
|
padding-top: 10px;
|
|
}
|
|
}
|
|
|
|
.fa-angle-double-down {
|
|
color: #424769;
|
|
}
|
|
|
|
// second section containing information columns
|
|
.info-page {
|
|
@extend .flexpage;
|
|
background: linear-gradient(#F1D4AF, #eee9d9);
|
|
flex-direction: row;
|
|
min-height: 80vh;
|
|
flex-flow: row wrap;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
align-content: stretch;
|
|
@include break-small {
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.info-page h1 {
|
|
font-family: 'Rubik';
|
|
color: #dab199;
|
|
text-align: center;
|
|
font-size: 3em;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.info-page-item {
|
|
font-size: 0.9em;
|
|
line-height: 1.6em;
|
|
color: #8b6d5c;
|
|
margin: 50px;
|
|
}
|
|
|
|
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
|
|
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
|
|
font-size: 10em;
|
|
color: #fff;
|
|
@include break-small {
|
|
font-size: 5em;
|
|
}
|
|
}
|
|
|
|
// third section containing the footer
|
|
.footer-page {
|
|
@extend .flexpage;
|
|
flex: 1;
|
|
background-color: #e2f2f0;
|
|
flex-direction: column;
|
|
min-height: 20vh;
|
|
@include break-small {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.footer-page a {
|
|
color: black
|
|
}
|
|
|
|
.footer-page-title {
|
|
font-family: 'Inconsolata';
|
|
color: #E08E79;
|
|
font-weight: lighter;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.footer-page h1 {
|
|
@extend .footer-page-title;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.footer-page h2 {
|
|
@extend .footer-page-title;
|
|
font-size: 1.2em;
|
|
@include break-small {
|
|
font-size: 1em;
|
|
margin: 20px;
|
|
}
|
|
}
|
|
|
|
// login and register pages. forms make-up can be found in forms.sass.
|
|
.login-page {
|
|
@extend .flexpage;
|
|
background: linear-gradient(#070a15, #252b46);
|
|
flex-direction: column;
|
|
padding: 40px;
|
|
}
|
|
|
|
.login-page-logo {
|
|
font-family: 'Montserrat', serif;
|
|
font-size: 6em;
|
|
text-transform: uppercase;
|
|
color: #E08E79;
|
|
@include long-shadow-text(10, 0, #F1D4AF);}
|
|
|
|
.login-page-form {
|
|
background-color: #fff;
|
|
padding: 100px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
border-top: 0;
|
|
border-bottom: 3px solid #d2d5e7;
|
|
border-right: 3px solid #d2d5e7;
|
|
border-left: 0;
|
|
}
|
|
|
|
// panel page
|
|
.panel-page {
|
|
@extend .flexpage;
|
|
background: linear-gradient(#F1D4AF, #eee9d9);
|
|
flex-direction: column;
|
|
}
|