Skip to content

Commit

Permalink
Scope CSS to avoid adding number to mozilla header.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gervase Markham committed Jan 30, 2015
1 parent 224e1da commit 158cd6c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions media/css/mozorg/commit-access-requirements.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

@import "../sandstone/lib.less";

h2 {
counter-increment: step-counter;
}
.main-column {
h2 {
counter-increment: step-counter;

h2::before {
content: counter(step-counter) ". ";
&::before {
content: counter(step-counter) ". ";
}
}
}

0 comments on commit 158cd6c

Please sign in to comment.