summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/post/table.styl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/theme/source/css/post/table.styl')
-rw-r--r--themes/theme/source/css/post/table.styl36
1 files changed, 36 insertions, 0 deletions
diff --git a/themes/theme/source/css/post/table.styl b/themes/theme/source/css/post/table.styl
new file mode 100644
index 00000000..405e2433
--- /dev/null
+++ b/themes/theme/source/css/post/table.styl
@@ -0,0 +1,36 @@
+.post-content
+ table
+ border $color-text-primary solid $line-third
+ width 100%
+ text-align left
+ border-collapse collapse
+ table-layout fixed
+
+ td, th
+ padding $margin-m-1
+
+ th
+ font-weight 400
+
+ td
+ font-weight 400
+
+ table, tboby, tr, td
+ background-color inherit
+
+.highlight>table
+ width auto
+ min-width fit-content
+ border none
+
+ td
+ padding 0
+ border none
+
+@media (max-width: 480px)
+ .block-table
+ display block
+ overflow-x auto
+
+
+ \ No newline at end of file