From 915936e69b4d6dbcb368a047f5f52b5da1168798 Mon Sep 17 00:00:00 2001 From: "Tobias Mueller (ideabox)" Date: Tue, 2 Apr 2013 03:39:23 +0200 Subject: [PATCH] bylaws: Updated CSS to make the HTML render nicely in Firefox While the previous version worked in Epiphany, it didn't in Firefox. This version works in both. And it looks semantically better. --- foundation.gnome.org/about/bylaws.css | 21 +++++++++++---------- foundation.gnome.org/about/bylaws.html | 21 +++++++++++---------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/foundation.gnome.org/about/bylaws.css b/foundation.gnome.org/about/bylaws.css index 7c21c6b..259d037 100644 --- a/foundation.gnome.org/about/bylaws.css +++ b/foundation.gnome.org/about/bylaws.css @@ -1,23 +1,24 @@ body { - counter-reset: mySectionCounter, mySubSectionCounter; - } - h1 { - counter-increment: mySectionCounter; - counter-reset: mySubSectionCounter; - } - h1:after { + counter-reset: mySectionCounter; } + h1:before { + counter-increment: mySectionCounter; content: 'ARTICLE ' counter(mySectionCounter, upper-roman) ' - '; } - h5:after { + h1 { + counter-reset: mySubSectionCounter; } - h2 { - counter-increment: mySubSectionCounter; + h1:after { } h2:before { + counter-increment: mySubSectionCounter; content: 'Section ' counter(mySectionCounter, decimal) '.' counter(mySubSectionCounter, decimal) ': '; } + + h2 { + } + diff --git a/foundation.gnome.org/about/bylaws.html b/foundation.gnome.org/about/bylaws.html index 5eb7cb0..fd9bd58 100644 --- a/foundation.gnome.org/about/bylaws.html +++ b/foundation.gnome.org/about/bylaws.html @@ -8,29 +8,30 @@