zer.ooo-web/public/css/typography.scss
2016-06-23 14:41:02 +02:00

106 lines
2 KiB
SCSS

// main
body {
font-family: 'Karla', sans-serif;
font-size:100%;
}
@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;
}
// first section with logo and navigation
.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 h1 {
font-family: 'Rubik';
color: #dab199;
text-align: center;
font-size: 2em;
text-transform: uppercase;
line-height: 2em;
@include break-small {
line-height: 1em;
}
}
.info-page-item {
font-size: 1em;
line-height: 1.6em;
color: #8b6d5c;
}
[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 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-logo {
font-family: 'Montserrat', serif;
font-size: 6em;
text-transform: uppercase;
color: #E08E79;
@include long-shadow-text(10, 0, #F1D4AF);}