Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/forestryio/hugo-theme-novela.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Taillandier <frank@forestry.io>2020-10-03 11:56:27 +0300
committerGitHub <noreply@github.com>2020-10-03 11:56:27 +0300
commit2fe4a8efef0fdc02525fc534fc8553f9a7f2693d (patch)
treee68b5ebf46bb43b14185cca6f6fbbf281cb7dcf6
parent8bfe240eb5efef1edecf0644d444cb06220c1b57 (diff)
parent72b5771db299fc8425c1f276c5f2e8fd170c4cd7 (diff)
Merge pull request #59 from muhfajar/master
Fix table style
-rw-r--r--assets/scss/tables.scss31
1 files changed, 30 insertions, 1 deletions
diff --git a/assets/scss/tables.scss b/assets/scss/tables.scss
index 03a67b7..4bc6397 100644
--- a/assets/scss/tables.scss
+++ b/assets/scss/tables.scss
@@ -43,9 +43,14 @@ table{
td{
border-top: 1px solid var(--horizontalRule);
+ border-right: 1px solid var(--horizontalRule);
padding: 15px 30px;
font-size: 16px;
background: var(--card);
+
+ &:last-child {
+ border-right: none;
+ }
}
/*DESKTOP*/
@@ -75,4 +80,28 @@ thead{
-webkit-transition: var(--color-mode-transition);
-o-transition: var(--color-mode-transition);
transition: var(--color-mode-transition);
-} \ No newline at end of file
+}
+
+th{
+ border-right: 1px solid var(--horizontalRule);
+ padding: 15px 30px;
+
+ &:last-child {
+ border-right: none;
+ }
+}
+
+
+/*DESKTOP*/
+@media screen and (max-width: 1070px){
+ th{
+ padding: 14px 20px;
+ }
+}
+
+/*TABLET*/
+@media screen and (max-width: 735px){
+ th{
+ font-size: 14px;
+ }
+}