tale/_sass/_layout.scss

75 lines
787 B
SCSS
Raw Normal View History

2017-03-11 05:09:18 +00:00
* {
@include box-sizing;
}
html,
body {
margin: 0;
padding: 0;
}
html {
2017-03-12 10:44:45 +00:00
font-family: $serif-font;
2017-03-11 05:09:18 +00:00
font-size: $default-font-size;
}
2017-03-12 10:44:45 +00:00
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $sans-font;
}
pre,
code {
font-family: menlo;
}
a {
text-decoration: none;
}
.container {
margin: 0 auto;
max-width: 1200px;
width: 80%;
}
2017-03-11 05:09:18 +00:00
header {
2017-03-12 10:44:45 +00:00
margin: 1.5rem 0;
2017-03-11 05:09:18 +00:00
text-align: center;
* {
margin: 0;
}
h2 {
@include transition(all .3s ease-out);
color: $default-color;
display: inline-block;
2017-03-12 10:44:45 +00:00
font-size: 3rem;
2017-03-11 05:09:18 +00:00
2017-03-12 10:44:45 +00:00
&:hover,
&:focus {
2017-03-11 05:09:18 +00:00
opacity: .6;
}
}
h4 {
color: $default-tint;
font-family: $serif-font;
font-weight: 400;
}
}
2017-03-12 10:44:45 +00:00
footer {
font-family: $sans-font;
margin: 3rem 0;
span {
color: $default-color;
}
}