nunta/scss/_global.scss

94 lines
1.2 KiB
SCSS
Raw Normal View History

// Global styling for this template
body {
2017-08-11 21:12:34 +02:00
overflow-x: hidden;
@include body-font;
}
p {
2017-08-11 21:12:34 +02:00
line-height: 1.75;
}
a {
color: $primary;
2017-08-11 21:12:34 +02:00
&.active,
&:active,
&:focus,
&:hover {
color: darken($primary, 10%);
2017-08-11 21:12:34 +02:00
}
}
.text-primary {
color: $primary !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
2017-08-11 21:12:34 +02:00
font-weight: 700;
@include heading-font;
}
section {
2017-08-11 21:12:34 +02:00
padding: 100px 0;
h2.section-heading {
font-size: 40px;
margin-top: 0;
margin-bottom: 15px;
}
h3.section-subheading {
font-size: 16px;
font-weight: 400;
font-style: italic;
margin-bottom: 75px;
text-transform: none;
@include serif-font;
}
}
@media(min-width:768px) {
2017-08-11 21:12:34 +02:00
section {
padding: 150px 0;
}
}
// Button Styles
.btn {
@include heading-font;
font-weight: 700;
}
.btn-primary {
@include button-variant(white, $primary, $primary);
}
.btn-xl {
font-size: 18px;
padding: 20px 40px;
}
// Highlight color customization
::-moz-selection {
background: $primary;
2017-08-11 21:12:34 +02:00
text-shadow: none;
}
::selection {
background: $primary;
2017-08-11 21:12:34 +02:00
text-shadow: none;
}
img::selection {
2017-08-11 21:12:34 +02:00
background: transparent;
}
img::-moz-selection {
2017-08-11 21:12:34 +02:00
background: transparent;
}
body {
-webkit-tap-highlight-color: $primary;
}