Browse Source

vimwiki: нумерация строк в таблицах

master
Maxim Likhachev 11 years ago
parent
commit
76bb1d0327
  1. 16
      vimwiki/style/css/vimwiki.css

16
vimwiki/style/css/vimwiki.css

@ -63,13 +63,25 @@ blockquote cite:before {
} }
table { table {
/* counter-reset: row; */
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px; font-size: 14px;
background: #fff; /* background: #fff; */
margin: 45px; margin: 45px;
border-collapse: collapse; border-collapse: collapse;
text-align: left; text-align: left;
} }
table tr { counter-increment: row }
table tr td:first-child::before {
content: counters(row, ".", decimal-leading-zero);
min-width: 1em;
margin-right: 0.5em;
margin-left: -2.0em;
text-align: center;
}
th th
{ {
font-size: 14px; font-size: 14px;

Loading…
Cancel
Save