tale/_sass/_base.scss
2017-03-14 11:56:57 +08:00

54 lines
609 B
SCSS

* {
@include box-sizing;
}
html,
body {
color: $default-color;
margin: 0;
padding: 0;
}
html {
font-family: $serif-font;
font-size: $default-font-size;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $sans-font;
}
a {
color: $blue;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
blockquote {
border-left: .25rem solid $grey-2;
color: $grey-1;
margin: .8rem 0;
padding: .5rem 1rem;
p:last-child {
margin-bottom: 0;
}
@media (min-width: 600px) {
padding: 0 5rem 0 1.25rem;
}
}
img {
display: block;
margin: 0 0 1rem;
max-width: 100%;
}