all repos — hastyscribe @ b3b77172e62a45df46b35ddf4db75c0dd1230a4b

A professional markdown compiler.

Set heanding sizes.
Fabio Cevasco h3rald@h3rald.com
Mon, 03 Feb 2014 13:46:51 +0100
commit

b3b77172e62a45df46b35ddf4db75c0dd1230a4b

parent

29e296e07f3aa0ba83da6ded9ac104acb530389f

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M assets/headings.lessassets/headings.less

@@ -1,4 +1,8 @@

+.headings h1 { + font-size: 2em; +} .headings h2 { + font-size: 1.5em; counter-reset:h3; counter-increment: h2; }

@@ -6,6 +10,7 @@ .headings h2::before {

content: counter(h2) "\00A0\00A0"; } .headings h3 { + font-size: 1.2em; counter-reset:h4; counter-increment: h3; }

@@ -13,6 +18,7 @@ .headings h3::before {

content: counter(h2) "." counter(h3) "\00A0\00A0"; } .headings h4 { + font-size: 1.1em; counter-reset:h5; counter-increment: h4; }

@@ -20,6 +26,7 @@ .headings h4::before {

content: counter(h2) "." counter(h3) "." counter(h4) "\00A0\00A0"; } .headings h5 { + font-size: 1em; counter-reset:h6; counter-increment: h5; }

@@ -27,6 +34,7 @@ .headings h5::before {

content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "\00A0\00A0"; } .headings h6 { + font-size: 1em; counter-increment: h6; } .headings h6::before {