tale/_sass/_base.scss

77 lines
934 B
SCSS
Raw Normal View History

2017-03-14 03:55:34 +00:00
* {
@include box-sizing;
2017-03-15 04:27:59 +00:00
line-height: 1.5;
2017-03-14 03:55:34 +00:00
}
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;
2017-03-15 04:27:59 +00:00
line-height: normal;
2017-03-14 03:55:34 +00:00
}
a {
color: $blue;
text-decoration: none;
}
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%;
}
2017-03-16 02:56:23 +00:00
table {
border: 1px solid $grey-2;
border-collapse: collapse;
font-size: 85%;
margin-bottom: 1rem;
width: 100%;
}
td,
th {
border: 1px solid $grey-2;
padding: .25rem .5rem;
vertical-align: top;
}
th {
text-align: left;
}
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
background-color: $grey-3;
}