diff --git a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css index c3dd53f8d2..5c1137347e 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css @@ -264,10 +264,39 @@ dd { } table { + border-collapse: collapse; margin: 0 0 1.5em; width: 100%; } +thead th { + border-bottom: 2px solid #bbb; + padding-bottom: 0.5em; +} + +th { + padding: 0.4em; + text-align: left; +} + +tr { + border-bottom: 1px solid #eee; +} + +td { + padding: 0.4em; +} + +th:first-child, +td:first-child { + padding-left: 0; +} + +th:last-child, +td:last-child { + padding-right: 0; +} + a { -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1); box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1); diff --git a/src/wp-content/themes/twentyseventeen/rtl.css b/src/wp-content/themes/twentyseventeen/rtl.css index 7a70d696ae..9bfcb36da1 100644 --- a/src/wp-content/themes/twentyseventeen/rtl.css +++ b/src/wp-content/themes/twentyseventeen/rtl.css @@ -48,6 +48,18 @@ li > ol { margin-right: 1.5em; } +th:first-child, +td:first-child { + padding-left: 0.4em; + padding-right: 0; +} + +th:last-child, +td:last-child { + padding-left: 0; + padding-right: 0.4em; +} + /* Forms */ input[type="radio"], @@ -496,7 +508,7 @@ input[type="checkbox"] { } } -@media screen and ( min-width: 67em ) { +@media screen and (min-width: 67em) { /* Sticky posts */ @@ -506,7 +518,7 @@ input[type="checkbox"] { } } -@media screen and ( min-width: 79em ) { +@media screen and (min-width: 79em) { .has-sidebar #primary .entry-content blockquote.alignright, .has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta { diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index b31e468475..955116a645 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -1114,7 +1114,7 @@ thead th { } th { - padding: 0.4em 0; + padding: 0.4em; text-align: left; } @@ -1126,6 +1126,16 @@ td { padding: 0.4em; } +th:first-child, +td:first-child { + padding-left: 0; +} + +th:last-child, +td:last-child { + padding-right: 0; +} + /*-------------------------------------------------------------- # Links --------------------------------------------------------------*/