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.
This commit is contained in:
parent
4accb41992
commit
915936e69b
2 changed files with 22 additions and 20 deletions
|
@ -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 {
|
||||
}
|
||||
|
||||
|
|
|
@ -8,29 +8,30 @@
|
|||
<style type="text/css">
|
||||
|
||||
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 {
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue