X-Git-Url: http://git.osdn.net/view?p=mingw%2Fwebsite.git;a=blobdiff_plain;f=site.css;h=6db77ac078d03a2fa64dd2e09a5c5d003bc49e93;hp=350264c60808b516e5ae92af96d919a9ce4dbf88;hb=24c7b59d9252f75b9b90a7a9bd4f27bfd34bcc60;hpb=54467f16c0ec2657350a2877e22dd0491a42e725 diff --git a/site.css b/site.css index 350264c..6db77ac 100644 --- a/site.css +++ b/site.css @@ -213,4 +213,24 @@ p+ul margin: 0; padding-top: 1px; font-weight: normal; } +/* Supplementary formatting for sections with numbered headings + * ============================================================ + */ +.h3-numbered +{ /* On starting any new numbered section division, reset the + * heading serial number sequence, and establish a suitable + * space at the top of the display region. + */ + counter-reset: h3-number; + margin-top: 0.8em; +} +.h3-numbered h3::before +{ /* For each section heading, in sequence, increment the serial + * number, and prefix it to the heading text. + */ + counter-increment: h3-number; + font-family: inherit; font-size: 0.87em; font-weight: bold; + content: counter(h3-number) ". "; +} + /* $RCSfile$: end of file */