From 76bb1d03271cc4ec9a3a263ffab5d6b5ea51aad0 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 17 Apr 2014 21:28:40 +0600 Subject: [PATCH] =?UTF-8?q?vimwiki:=20=D0=BD=D1=83=D0=BC=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=20=D0=B2=20?= =?UTF-8?q?=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimwiki/style/css/vimwiki.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/vimwiki/style/css/vimwiki.css b/vimwiki/style/css/vimwiki.css index ff3e980..30aa827 100644 --- a/vimwiki/style/css/vimwiki.css +++ b/vimwiki/style/css/vimwiki.css @@ -63,13 +63,25 @@ blockquote cite:before { } table { + /* counter-reset: row; */ font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; - font-size: 12px; - background: #fff; + font-size: 14px; + /* background: #fff; */ margin: 45px; border-collapse: collapse; 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 { font-size: 14px;