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

github.com/nanxstats/hugo-tanka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Xiao <road2stat@gmail.com>2018-02-10 01:26:39 +0300
committerGitHub <noreply@github.com>2018-02-10 01:26:39 +0300
commit7731b716f4c0e8f1761167d7d0662dfc093463ad (patch)
tree7bcc54b3a5d92fe9fd6c7962d6b92b919d1c4411
parentb5675801833fdce0cf858b57b4fa78aedb357911 (diff)
parent5e1e5c667ae5ddf79811389bb0b3226584d3ed15 (diff)
Merge pull request #1 from martinmodrak/master
Support for tables (primarily as output by kable)
-rw-r--r--static/css/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 703c979..1fc9f6c 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -371,3 +371,25 @@ ul li:before {
font-size: 12px;
}
}
+
+table {
+ border-collapse:collapse;
+ border-top:1px black solid;
+ border-bottom:1px black solid;
+ min-width:100%;
+}
+
+th, td {
+ padding:0.4em;
+}
+
+th {
+ border-bottom:1px black solid;
+ font-weight:bold;
+}
+
+tr:nth-child(even) {background: #f7f7f7}
+
+caption {
+ font-weight:bold;
+} \ No newline at end of file