site-max/scss/_global.scss

96 lines
1.2 KiB
SCSS

// Global styling for this template
html,
body {
width: 100%;
height: 100%;
}
body {
@include serif-font;
}
hr {
max-width: 50px;
border-width: 3px;
border-color: $theme-primary;
}
hr.light {
border-color: white;
}
a {
color: $theme-primary;
@include transition-all;
&:hover,
&:focus {
color: darken($theme-primary, .1);
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
@include sans-serif-font;
}
p {
font-size: 16px;
line-height: 1.5;
margin-bottom: 20px;
}
.bg-primary {
background-color: $theme-primary !important;
}
.bg-dark {
color: white;
background-color: $gray-darker !important;
}
.text-faded {
color: fade-out(white, .3);
}
section {
padding: 100px 0;
}
.section-heading {
margin-top: 0;
}
.no-padding {
padding: 0;
}
::-moz-selection {
color: white;
background: $gray-darker;
text-shadow: none;
}
::selection {
color: white;
background: $gray-darker;
text-shadow: none;
}
img::selection {
color: white;
background: transparent;
}
img::-moz-selection {
color: white;
background: transparent;
}
body {
-webkit-tap-highlight-color: $gray-darker;
}