rolandjesse.de/css/grayscale.scss
2015-10-05 20:25:17 +05:30

414 lines
8.2 KiB
SCSS
Executable file

---
---
@import "variables";
@import "mixins";
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
width: 100%;
height: 100%;
font-family: "Lora","Helvetica Neue",Helvetica,Arial,sans-serif;
color: $light;
background-color: $dark;
}
html {
width: 100%;
height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 35px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: 1px;
}
p {
margin: 0 0 25px;
font-size: 18px;
line-height: 1.5;
}
@media(min-width:767px) {
p {
margin: 0 0 35px;
font-size: 20px;
line-height: 1.6;
}
}
a {
color: $primary;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
&:hover,
&:focus {
text-decoration: none;
color: darken($primary, 20%);
}
}
.light {
font-weight: 400;
}
.personal-list {
text-align: center;
margin: 0 0 35px;
font-size: 20px;
line-height: 1.5;
list-style-position: inside;
}
.navbar-custom {
margin-bottom: 0;
border-bottom: 1px solid rgba($light, 0.3);
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
background-color: $dark;
.navbar-brand {
font-weight: 700;
&:focus {
outline: none;
}
.navbar-toggle {
padding: 4px 6px;
font-size: 16px;
color: $light;
&:focus,
&:active {
outline: none;
}
}
}
a {
color: $light;
}
.nav {
li {
&.active {
outline: nonte;
background-color: rgba($light, 0.3);
}
a {
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
&:hover,
&:focus,
&.active {
outline: none;
background-color: rgba($light, 0.3);
}
}
}
}
}
@media(min-width:767px) {
.navbar {
padding: 20px 0;
border-bottom: none;
letter-spacing: 1px;
background: transparent;
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
transition: background .5s ease-in-out,padding .5s ease-in-out;
}
.top-nav-collapse {
padding: 0;
background-color: $dark;
}
.navbar-custom.top-nav-collapse {
border-bottom: 1px solid rgba($light, 0.3);
}
}
.intro {
display: table;
width: 100%;
height: auto;
padding: 100px 0;
text-align: center;
color: $light;
background: url( {{ site.background-img }} ) no-repeat bottom center scroll;
background-color: $dark;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
.intro-body {
display: table-cell;
vertical-align: middle;
.brand-heading {
font-size: 40px;
}
.intro-text {
font-size: 18px;
}
}
}
@media(min-width:767px) {
.intro {
height: 100%;
padding: 0;
.intro-body {
.brand-heading {
font-size: 100px;
}
.intro-text {
font-size: 25px;
}
}
}
}
.btn-circle {
width: 70px;
height: 70px;
margin-top: 15px;
padding: 7px 16px;
border: 2px solid $light;
border-radius: 35px;
font-size: 40px;
color: $light;
background: transparent;
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
&:hover,
&:focus {
outline: none;
color: $light;
background: rgba($light, 0.1);
}
i.animated {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-moz-transition-property: -moz-transform;
-moz-transition-duration: 1s;
}
&:hover {
i.animated {
-webkit-animation-name: pulse;
-moz-animation-name: pulse;
-webkit-animation-duration: 1.5s;
-moz-animation-duration: 1.5s;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-timing-function: linear;
}
}
}
@-webkit-keyframes pulse {
from {
-webkit-transform: scale(1);
transform: scale(1);
}
50% {
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@-moz-keyframes pulse {
fom {
-moz-transform: scale(1);
transform: scale(1);
}
50% {
-moz-transform: scale(1.2);
transform: scale(1.2);
}
100% {
-moz-transform: scale(1);
transform: scale(1);
}
}
.content-section {
padding-top: 100px;
}
.download-section {
width: 100%;
padding: 50px 0;
color: $light;
background: url(../img/downloads-bg.jpg) no-repeat center center scroll;
background-color: $dark;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
#map {
width: 100%;
height: 200px;
margin-top: 100px;
}
@media(min-width:767px) {
.content-section {
padding-top: 250px;
}
.download-section {
padding: 100px 0;
}
#map {
height: 400px;
margin-top: 250px;
}
}
.btn {
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 400;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
.btn-default {
border: 1px solid $primary;
color: $primary;
background-color: transparent;
&:hover,
&:focus {
border: 1px solid $primary;
outline: none;
color: $dark;
background-color: $primary;
}
}
ul.banner-social-buttons {
margin-top: 0;
}
@media(max-width:1199px) {
ul.banner-social-buttons {
margin-top: 15px;
}
}
@media(max-width:767px) {
ul.banner-social-buttons {
li {
display: block;
margin-bottom: 20px;
padding: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
ul.social-buttons li a {
display: block;
width: 40px;
height: 40px;
border-radius: 100%;
font-size: 20px;
line-height: 40px;
outline: 0;
/* color: #fff; */
background-color: #222;
-webkit-transition: all .3s;
-moz-transition: all .3s;
transition: all .3s;
&:hover,
&:focus,
&:active {
color: #222;
background-color: darken($primary, 10%);
}
}
footer {
padding: 50px 0;
p {
margin: 0;
}
}
::-moz-selection {
text-shadow: none;
background: #fcfcfc;
background: rgba($light, 0.2);
}
::selection {
text-shadow: none;
background: #fcfcfc;
background: rgba($light, 0.2);
}
img::selection {
background: transparent;
}
img::-moz-selection {
background: transparent;
}
body {
webkit-tap-highlight-color: rgba($light, 0.2);
}
.typed-cursor{
opacity: 1;
-webkit-animation: blink 0.7s infinite;
-moz-animation: blink 0.7s infinite;
animation: blink 0.7s infinite;
}
@keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-webkit-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@-moz-keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}