/*
* 2.1 Basic
* -----------
*/
html {
font: {
family: $ssfont;
size: 1em;
size: $root_font_size;
weight: $sslight;
}
@media screen and (max-width: 700px){
font-size: $root_font_size - 3;
}
color: $main_color;
}
body {
@extend html;
line-height: $general_line-height;
background: {
color: $bodybg;
}
}
img,
hr {
max-width: 100%;
}
div.content {
max-width: $max-width;
width: $content_width;
@include center();
}
/*
* 2.2 Typography
* ----------------
*/
h1, h2, h3, h4, h5, h6 {
font-weight: $ssnormal;
text-transform: $h_text_transform;
line-height: 1;
padding: 10px 0px;
}
h1 {
font-size: 2.1em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.2em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: .83em;
}
h6 {
font-size: .75em;
}
a {
transition: .3s all;
color: $a_color;
text-decoration: none;
&:hover {
transiton: .3s all;
color: $a_hover_color;
}
.post &,
article footer &,
.widget & {
@include linkline();
}
}
blockquote {
width: 90%;
margin-left: 10%;
display: block;
padding: 5px 10px;
border-left: $line;
font-family: $sfont;
font-size: 1.1em;
letter-spacing: 2px;
box-sizing: border-box;
}
/*
* 2.3 Helper Classes
* --------------------
*/
.hidden {
display: none;
}
.responsive_vid {
@include paddinghack(100%, 16, 9, 'iframe');
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.aligncenter {
margin: 0 auto;
display: block;
}
.wp-caption {
margin-bottom: 1.5em;
text-align: center;
padding-top: 5px;
}
.wp-caption-text {
font-size: .6em;
}
.gallery-caption {
@extend .wp-caption;
}
.bypostauthor {
font-weight: bold;
}
.sticky {
border: $line;
padding: 20px;
box-sizing: border-box;
}
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
}