summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/website
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-08-10 19:13:27 -0700
committerSamy Pessé <samypesse@gmail.com>2014-08-11 07:36:54 -0700
commitfc113ce0c3607cc8e9cd6de4b08baba0bbf433cd (patch)
tree50685a3fe68cbce23b7bcf941a95a74ac8524532 /theme/stylesheets/website
parentf605f0b6c884270997df28c72f2ff0a08f3a4022 (diff)
downloadgitbook-fc113ce0c3607cc8e9cd6de4b08baba0bbf433cd.zip
gitbook-fc113ce0c3607cc8e9cd6de4b08baba0bbf433cd.tar.gz
gitbook-fc113ce0c3607cc8e9cd6de4b08baba0bbf433cd.tar.bz2
Fix style for table on night and sepia themes
Diffstat (limited to 'theme/stylesheets/website')
-rwxr-xr-xtheme/stylesheets/website/markdown.less32
1 files changed, 32 insertions, 0 deletions
diff --git a/theme/stylesheets/website/markdown.less b/theme/stylesheets/website/markdown.less
index 8075e58..8c4f634 100755
--- a/theme/stylesheets/website/markdown.less
+++ b/theme/stylesheets/website/markdown.less
@@ -401,6 +401,22 @@
@import "./highlight/sepia.less";
}
+
+ table {
+ th, td {
+ border-color: darken(#fdf6e3, 25%);
+ }
+
+ tr {
+ background: #fdf6e3;
+ color: inherit;
+ border-color: #444;
+ }
+
+ tr:nth-child(2n) {
+ background-color: darken(#fdf6e3, 5%);
+ }
+ }
}
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
@@ -413,4 +429,20 @@
@import "./highlight/night.less";
}
+
+ table {
+ th, td {
+ border-color: #444;
+ }
+
+ tr {
+ background-color: black;
+ color: #eaeaea;
+ border-color: #444;
+ }
+
+ tr:nth-child(2n) {
+ background-color: #222;
+ }
+ }
}