diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
commit | db5494dff0b2b8b344f37a2fa1d2f8b9c450098f (patch) | |
tree | e4fc2d8c97abe0bd28a0527de6696025f6699b0d /_sass/_base.scss | |
download | popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.tar.xz popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.zip |
Initial commit
Diffstat (limited to '_sass/_base.scss')
-rw-r--r-- | _sass/_base.scss | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/_sass/_base.scss b/_sass/_base.scss new file mode 100644 index 0000000..cdf20d3 --- /dev/null +++ b/_sass/_base.scss @@ -0,0 +1,59 @@ +* { + @include box-sizing; + line-height: 1.5; +} + +html, body { + color: $default-color; + margin: 0; + padding: 0; +} + +html { + font-family: $serif-primary; + font-size: 14px; + + @media (min-width: 600px) { + font-size: 16px; + } +} + +body { + -webkit-text-size-adjust: 100%; +} + +h1, h2, h3, h4, h5, h6 { + color: $default-shade; + font-family: $sans-serif; + line-height: normal; +} + +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%; +} + +td { + vertical-align: top; +} |