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

223 lines
4.4 KiB
SCSS
Raw Normal View History

/* Primary Sass file.
2016-06-23 12:41:02 +00:00
========================================================================== */
/**
* 1. Import modules (functions, mixins and variables -- everything that doesn't actually cause Sass to output CSS).
* 2. Import partials (breakdown by element type)
* 3. Import vendors (all third-party CSS)
2016-06-23 12:41:02 +00:00
*/
// modules
@import "modules/_modules";
2016-06-21 12:54:43 +00:00
// partials
@import "partials/_base";
@import "partials/_navigation";
@import "partials/_forms";
@import "partials/_typography";
// vendors
@import "vendors/normalize.css";
@import "vendors/flaticon.css";
@import url(https://fonts.googleapis.com/css?family=Karla|Montserrat|Inconsolata|Rubik);
2016-06-24 10:00:38 +00:00
<<<<<<< HEAD
=======
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: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
}
2016-06-21 12:49:53 +00:00
.flexpage {
display: flex;
display: -webkit-flex;
2016-06-21 12:49:53 +00:00
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-22 07:04:26 +00:00
$break-small: 1200px;
2016-06-21 13:33:01 +00:00
@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;
-webkit-flex-direction: column;
2016-06-21 13:33:01 +00:00
@include break-small {
min-height: 80vh;
2016-06-21 13:33:01 +00:00
}
}
2016-06-14 12:57:45 +00:00
.intro-page-logo {
font-family: 'Montserrat', serif;
2016-06-22 07:04:26 +00:00
font-size: 12em;
text-transform: uppercase;
color: #E08E79;
@include long-shadow-text(30, 0, #F1D4AF);
2016-06-21 13:33:01 +00:00
@include break-small {
2016-06-22 07:04:26 +00:00
font-size: 3.5em;
2016-06-21 13:33:01 +00:00
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;
}
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;
-webkit-flex-direction: row;
min-height: 80vh;
2016-06-21 13:33:01 +00:00
@include break-small {
flex-direction: column;
-webkit-flex-direction: column;
min-height: 80vh;
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;
font-size: 2em;
text-transform: uppercase;
line-height: 2em;
@include break-small {
line-height: 1em;
}
}
2016-06-14 12:57:45 +00:00
.info-page-item {
font-size: 1em;
2016-06-14 12:57:45 +00:00
line-height: 1.6em;
color: #8b6d5c;
2016-06-21 16:30:56 +00:00
margin: 50px;
}
[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-22 08:01:39 +00:00
flex: 1;
2016-06-14 12:57:45 +00:00
background-color: #e2f2f0;
flex-direction: column;
-webkit-flex-direction: column;
min-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;
-webkit-flex-direction: column;
2016-06-14 12:57:45 +00:00
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;
-webkit-flex-direction: column;
2016-06-14 12:57:45 +00:00
}
2016-06-24 10:00:38 +00:00
>>>>>>> 379d4f3f03a754a4a72fcb834e108e0887be39af