{{if $.post.IsMarkdown }}
diff --git a/public/blog/themes/default/style.css b/public/blog/themes/default/style.css
index 604e649..ea80c61 100644
--- a/public/blog/themes/default/style.css
+++ b/public/blog/themes/default/style.css
@@ -503,3 +503,28 @@ a:hover {
padding: 0 10px;
}
}
+
+
+table {
+ margin-bottom: 16px;
+}
+table th, table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+table th {
+ font-weight: bold;
+}
+
+table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
+ border: 1px solid #ddd;
+ border-collapse: collapse;
+ padding: 6px 13px;
+}
diff --git a/public/blog/themes/elegant/post.html b/public/blog/themes/elegant/post.html
index f9f0ca9..dacd05f 100644
--- a/public/blog/themes/elegant/post.html
+++ b/public/blog/themes/elegant/post.html
@@ -35,7 +35,7 @@
{{end}}
-
+
{{if $.post.IsMarkdown }}
diff --git a/public/blog/themes/elegant/style.css b/public/blog/themes/elegant/style.css
index 7158ce0..ad015bd 100644
--- a/public/blog/themes/elegant/style.css
+++ b/public/blog/themes/elegant/style.css
@@ -517,3 +517,27 @@ a:hover {
padding: 0 10px;
}
}
+
+table {
+ margin-bottom: 16px;
+}
+table th, table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+table th {
+ font-weight: bold;
+}
+
+table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
+ border: 1px solid #ddd;
+ border-collapse: collapse;
+ padding: 6px 13px;
+}
\ No newline at end of file
diff --git a/public/blog/themes/nav_fixed/post.html b/public/blog/themes/nav_fixed/post.html
index f9f0ca9..dacd05f 100644
--- a/public/blog/themes/nav_fixed/post.html
+++ b/public/blog/themes/nav_fixed/post.html
@@ -35,7 +35,7 @@
{{end}}
-
+
{{if $.post.IsMarkdown }}
diff --git a/public/blog/themes/nav_fixed/style.css b/public/blog/themes/nav_fixed/style.css
index 80e2c66..a173646 100644
--- a/public/blog/themes/nav_fixed/style.css
+++ b/public/blog/themes/nav_fixed/style.css
@@ -554,3 +554,28 @@ a:hover {
padding: 0 10px;
}
}
+
+
+table {
+ margin-bottom: 16px;
+}
+table th, table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+table th {
+ font-weight: bold;
+}
+
+table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
+ border: 1px solid #ddd;
+ border-collapse: collapse;
+ padding: 6px 13px;
+}