zer.ooo-web/public/css/main.scss

197 lines
3.6 KiB
SCSS
Raw Normal View History

2016-06-21 12:54:43 +00:00
// imports
@import "normalize.css";
@import "flaticon.css";
2016-06-14 12:57:45 +00:00
@import "navigation.sass";
@import "forms.sass";
2016-06-14 13:31:05 +00:00
@import "tables.css";
2016-06-21 13:02:38 +00:00
@import url(https://fonts.googleapis.com/css?family=Karla|Montserrat|Inconsolata|Rubik);
2016-06-21 12:54:43 +00:00
// base, mixins, extensions
body {
background-color: #7aa2cb;
2016-06-21 13:02:38 +00:00
font-family: 'Karla', sans-serif;
2016-06-21 13:33:01 +00:00
font-size:100%;
}
.flexcontainer {
display: flex;
flex-direction: column;
}
2016-06-21 12:49:53 +00:00
.flexpage {
display: flex;
justify-content: center;
align-items: center;
}
2016-06-21 12:54:43 +00:00
@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;
}
2016-06-21 13:33:01 +00:00
$break-small: 768px; // blaze it
@mixin break-small {
@media (max-width: #{$break-small}) {
@content;
}
}
2016-06-14 12:57:45 +00:00
// first section with logo and navigation
.intro-page {
2016-06-21 12:49:53 +00:00
@extend .flexpage;
background: linear-gradient(#070a15, #252b46);
height: 100vh;
flex-direction: column;
2016-06-21 13:33:01 +00:00
@include break-small {
height: 100%;
}
}
2016-06-14 12:57:45 +00:00
.intro-page-logo {
font-family: 'Montserrat', serif;
font-size: 15em;
text-transform: uppercase;
color: #E08E79;
@include long-shadow-text(30, 0, #F1D4AF);
2016-06-21 13:33:01 +00:00
@include break-small {
font-size: 3em;
padding: 20px;
@include long-shadow-text(20, 0, #F1D4AF);
}
}
2016-06-14 12:57:45 +00:00
.intro-page-welcome-text {
font-family: 'Inconsolata', serif;
font-size: 2em;
text-transform: uppercase;
color: #fff;
2016-06-21 13:33:01 +00:00
@include break-small {
font-size: 1em;
padding-top: 10px;
}
}
2016-06-21 13:33:01 +00:00
2016-06-21 12:54:43 +00:00
.fa-angle-double-down {
color: #424769;
margin-top: 50px;
2016-06-21 13:33:01 +00:00
@include break-small {
margin: 0px;
}
2016-06-21 12:54:43 +00:00
}
2016-06-21 13:02:38 +00:00
// second section containing information columns
2016-06-14 12:57:45 +00:00
.info-page {
2016-06-21 12:49:53 +00:00
@extend .flexpage;
2016-06-21 12:54:43 +00:00
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
2016-06-21 13:02:38 +00:00
height: 80vh;
2016-06-21 13:33:01 +00:00
@include break-small {
flex-direction: column;
height: 100%;
2016-06-21 16:30:56 +00:00
justify-content: space-between;
2016-06-21 13:33:01 +00:00
}
}
2016-06-14 12:57:45 +00:00
.info-page h1 {
font-family: 'Rubik';
color: #dab199;
text-align: center;
2016-06-14 12:57:45 +00:00
font-size: 3em;
text-transform: lowercase;
}
2016-06-14 12:57:45 +00:00
.info-page-item {
font-size: 0.9em;
line-height: 1.6em;
color: #8b6d5c;
2016-06-21 16:30:56 +00:00
margin: 50px;
2016-06-21 13:33:01 +00:00
@include break-small {
}
}
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 10em;
color: #fff;
2016-06-21 13:33:01 +00:00
@include break-small {
font-size: 5em;
}
}
2016-06-14 12:57:45 +00:00
// third section containing the footer
.footer-page {
2016-06-21 12:49:53 +00:00
@extend .flexpage;
2016-06-14 12:57:45 +00:00
background-color: #e2f2f0;
flex-direction: column;
2016-06-21 13:02:38 +00:00
height: 20vh;
2016-06-21 13:33:01 +00:00
@include break-small {
height: 100%;
}
2016-06-14 12:57:45 +00:00
}
.footer-page a {
color: black
}
.footer-page-title {
2016-06-14 12:57:45 +00:00
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;
2016-06-21 13:37:14 +00:00
@include break-small {
font-size: 1em;
2016-06-21 16:30:56 +00:00
margin: 20px;
2016-06-21 13:37:14 +00:00
}
}
2016-06-21 13:02:38 +00:00
// login and register pages. forms make-up can be found in forms.sass.
2016-06-14 12:57:45 +00:00
.login-page {
2016-06-21 12:49:53 +00:00
@extend .flexpage;
background: linear-gradient(#070a15, #252b46);
2016-06-14 12:57:45 +00:00
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;
2016-06-14 13:31:05 +00:00
box-sizing: border-box;
2016-06-14 12:57:45 +00:00
border-radius: 5px;
border-top: 0;
border-bottom: 3px solid #d2d5e7;
border-right: 3px solid #d2d5e7;
border-left: 0;
2016-06-14 13:31:05 +00:00
}
2016-06-21 13:02:38 +00:00
// panel page
2016-06-14 13:31:05 +00:00
.panel-page {
2016-06-21 12:49:53 +00:00
@extend .flexpage;
2016-06-21 13:02:38 +00:00
background: linear-gradient(#F1D4AF, #eee9d9);
2016-06-14 13:31:05 +00:00
flex-direction: column;
2016-06-14 12:57:45 +00:00
}