org: better display for CSV tables

* doc/org/.dir-locals.el.in,
doc/org/init.el.in (org-html-table-header-tags): Define.
* doc/org/spot.css: Style the tables.
This commit is contained in:
Alexandre Duret-Lutz 2019-04-16 23:20:51 +02:00
parent 8a96828d85
commit 14f5d1ec65
3 changed files with 8 additions and 0 deletions

View file

@ -26,6 +26,10 @@ pre.src-C\+\+:before{content:'C++'}
pre.src-hoa:before{content:'HOA';border-color:#d70079}
img{max-width:100%}
svg.org-svg{width:auto;max-width:100%}
table.csv-table {font-family:monospace, courier}
table.csv-table th {vertical-align:bottom}
table.csv-table th div {text-align:center}
table.csv-table th div span{text-align:left;writing-mode:vertical-lr;transform:rotate(180deg);display:inline-block;white-space:nowrap}
@media screen{
#table-of-contents{position:fixed;right:0em;top:0em;max-width:50%;max-height:80%;overflow:auto;z-index:10}
#table-of-contents #text-table-of-contents{display:none}