rolandjesse.de/css/grayscale.scss
2015-11-12 00:36:06 -03:00

308 lines
6.5 KiB
SCSS

---
---
@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:768px) {
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%);
}
}
.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: $navbar-sm-background-color;
/* Fix height limit and scroll for small screen and many items menu */
max-height: 100%;
overflow-y: auto;
.navbar-toggle {
padding: 4px 6px;
font-size: 16px;
color: $navbar-color;
&:focus,
&:active {
outline: none;
}
}
.navbar-brand {
font-weight: 700;
&:focus {
outline: none;
}
}
a {
color: $navbar-color;
@if $header-text-shadow{
text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}
}
.nav {
li {
a {
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
&:hover {
/* color: rgba($light, 0.8); */
outline: none;
background-color: rgba($light, 0.3);
}
&:focus,
&:active {
outline: none;
background-color: rgba($light, 0.3);
}
}
&.active {
outline: none;
a {
background-color: rgba($light, 0.3);
&:hover {
color: $navbar-color;
}
}
}
}
}
@media(min-width:768px) {
padding: 20px 0;
border-bottom: none;
letter-spacing: 1px;
background: $navbar-lg-background;
-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: $navbar-lg-collapse-background-color;
border-bottom: 1px solid rgba($light, 0.3);
}
}
}
.intro {
display: table;
width: 100%;
height: auto;
padding: 100px 0;
text-align: center;
color: $intro-text-color;
{% if site.background-img %}
background: url({{ site.background-img }}) no-repeat bottom center scroll;
{% endif %}
background-color: $header-background-color;
-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;
@if $header-text-shadow {
text-shadow: 1px 0 1px #000;
}
}
}
@media(min-width:768px) {
height: 100%;
padding: 0;
.intro-body {
.brand-heading {
font-size: 100px;
}
.intro-text {
font-size: 26px;
}
}
}
}
@-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 {
from {
-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;
}
@media(min-width:767px) {
.content-section {
padding-top: 250px;
}
}
/* Added in { Personal } */
ul.social-buttons li a {
display: block;
width: 40px;
height: 40px;
border-radius: 100%;
font-size: 20px;
line-height: 40px;
outline: 0;
color: $social-buttons-color;
background-color: #222;
-webkit-transition: all .3s;
-moz-transition: all .3s;
transition: all .3s;
&:hover,
&:focus,
&:active {
color: #222;
background-color: darken($social-buttons-color, 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);
}
/* Added in { Personal } for responsive images in posts and section contents */
.content-section img {
display: block;
max-width: 100%;
height: auto;
}
img::selection {
background: transparent;
}
img::-moz-selection {
background: transparent;
}
body {
-webkit-tap-highlight-color: rgba($light, 0.2);
}
/* Added in { Personal } for Typed Cursor in Header */
.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; }
}
/* END Added in { Personal } for Typed Cursor in Header */