From bc53150b282ba465028085f68c3d49b1b710e9bd Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Tue, 8 Aug 2017 15:13:06 -0400 Subject: [PATCH] Remove outside and right borders in `table`s --- CHANGELOG.md | 1 + _sass/minimal-mistakes/_tables.scss | 9 ++++----- docs/_docs/18-history.md | 3 ++- docs/_sass/minimal-mistakes/_tables.scss | 9 ++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb0034ac..56f8cdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Maintenance - Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164) +- Remove outside and right borders in `table`s. ## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0) diff --git a/_sass/minimal-mistakes/_tables.scss b/_sass/minimal-mistakes/_tables.scss index d31dc24a..0c9da82e 100644 --- a/_sass/minimal-mistakes/_tables.scss +++ b/_sass/minimal-mistakes/_tables.scss @@ -8,7 +8,6 @@ table { font-family: $global-font-family; font-size: $type-size-6; border-collapse: collapse; - border: 1px solid $light-gray; & + table { margin-top: 1em; @@ -17,22 +16,22 @@ table { thead { background-color: $lighter-gray; - border-bottom: 1px solid $light-gray; + border-bottom: 2px solid $light-gray; } th { padding: 0.5em; font-weight: bold; text-align: left; - border-right: 1px solid $light-gray; } td { padding: 0.5em; border-bottom: 1px solid $light-gray; - border-right: 1px solid $light-gray; } -tr, td, th { +tr, +td, +th { vertical-align: middle; } \ No newline at end of file diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 320e1ca7..8c61d9e0 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,7 +4,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2017-08-08T09:14:21-04:00 +last_modified_at: 2017-08-08T15:12:47-04:00 --- ## Unreleased @@ -18,6 +18,7 @@ last_modified_at: 2017-08-08T09:14:21-04:00 ### Maintenance - Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164) +- Remove outside and right borders in `table`s. ## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0) diff --git a/docs/_sass/minimal-mistakes/_tables.scss b/docs/_sass/minimal-mistakes/_tables.scss index d31dc24a..0c9da82e 100644 --- a/docs/_sass/minimal-mistakes/_tables.scss +++ b/docs/_sass/minimal-mistakes/_tables.scss @@ -8,7 +8,6 @@ table { font-family: $global-font-family; font-size: $type-size-6; border-collapse: collapse; - border: 1px solid $light-gray; & + table { margin-top: 1em; @@ -17,22 +16,22 @@ table { thead { background-color: $lighter-gray; - border-bottom: 1px solid $light-gray; + border-bottom: 2px solid $light-gray; } th { padding: 0.5em; font-weight: bold; text-align: left; - border-right: 1px solid $light-gray; } td { padding: 0.5em; border-bottom: 1px solid $light-gray; - border-right: 1px solid $light-gray; } -tr, td, th { +tr, +td, +th { vertical-align: middle; } \ No newline at end of file