From b1bda410f7f60e40f55499664352907d5a5c20a6 Mon Sep 17 00:00:00 2001 From: Chester How Date: Thu, 16 Mar 2017 11:22:39 +0800 Subject: [PATCH] Remove table support Clashes with code line numbering --- _posts/2017-03-09-example-content.md | 38 ---------------------------- _sass/_base.scss | 26 ++++--------------- _sass/_post.scss | 2 +- _sass/_variables.scss | 2 +- index.html | 2 +- 5 files changed, 8 insertions(+), 62 deletions(-) diff --git a/_posts/2017-03-09-example-content.md b/_posts/2017-03-09-example-content.md index 16a55aa..d30c391 100644 --- a/_posts/2017-03-09-example-content.md +++ b/_posts/2017-03-09-example-content.md @@ -82,42 +82,4 @@ Quisque consequat sapien eget quam rhoncus, sit amet laoreet diam tempus. Aliqua ![placeholder](http://placehold.it/400x200 "Medium example image") ![placeholder](http://placehold.it/200x200 "Small example image") -### Tables - -Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUpvotesDownvotes
Totals2123
Alice1011
Bob43
Charlie79
- Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo. diff --git a/_sass/_base.scss b/_sass/_base.scss index ab4138e..0043fff 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -15,6 +15,10 @@ html { font-size: $default-font-size; } +body { + -webkit-text-size-adjust: 100%; +} + h1, h2, h3, @@ -51,26 +55,6 @@ img { max-width: 100%; } -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; +td { vertical-align: top; } - -th { - text-align: left; -} - -tbody tr:nth-child(odd) td, -tbody tr:nth-child(odd) th { - background-color: $grey-3; -} diff --git a/_sass/_post.scss b/_sass/_post.scss index da2d99c..9823104 100644 --- a/_sass/_post.scss +++ b/_sass/_post.scss @@ -8,7 +8,7 @@ &-time { color: $default-tint; font-family: $sans-font; - font-weight: 500; + font-weight: 700; letter-spacing: .5px; } diff --git a/_sass/_variables.scss b/_sass/_variables.scss index 39907e7..cb997c2 100644 --- a/_sass/_variables.scss +++ b/_sass/_variables.scss @@ -10,7 +10,7 @@ $serif-font: 'Libre Baskerville', 'Times New Roman', Times, serif; $sans-font: 'Helvetica Neue', Helvetica, Arial, sans-serif; $default-font-size: 16px; -$monospaced-font: Menlo, Monaco, 'Courier New', monospace; +$monospaced-font: Menlo, Monaco, monospace; $code-color: #bf616a; @mixin box-sizing($type: border-box) { diff --git a/index.html b/index.html index 5434c4a..f42afc1 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ title: Home

{{ post.title }}

- {{ post.content | truncatewords: 70 }} + {{ post.content | truncatewords: 50 }} {% endfor %}