From: Luke Kenneth Casson Leighton Date: Fri, 6 Sep 2019 10:56:50 +0000 (+0100) Subject: add h1 count X-Git-Tag: convert-csv-opcode-to-binary~4150 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9a95aa91b3dec7df7bde52233483ca2770b7376;p=libreriscv.git add h1 count --- diff --git a/local.css b/local.css index 60983c69a..2586672b7 100644 --- a/local.css +++ b/local.css @@ -42,6 +42,10 @@ ol{ } /* Counter Headings */ body { +counter-reset : h1; + } + +h1 { counter-reset : h2; } @@ -61,6 +65,11 @@ h5 { counter-reset : h6; } +#content h1:before { +content : counter(h1,decimal) ". "; +counter-increment : h1; + } + #content h2:before { content : counter(h2,decimal) ". "; counter-increment : h2; @@ -86,7 +95,7 @@ content : counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) ". counter-increment : h6; } -h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before { +h1.nocount:before, h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before { content : ""; counter-increment : none; }