Remove outside and right borders in tables

This commit is contained in:
Michael Rose 2017-08-08 15:13:06 -04:00
parent f9de95a8ad
commit bc53150b28
4 changed files with 11 additions and 11 deletions

View file

@ -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)

View file

@ -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;
}

View file

@ -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)

View file

@ -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;
}