final css

pull/1709/head
John McLear 2013-04-11 16:38:41 +01:00
parent e712f7665d
commit 1fc906017c
1 changed files with 13 additions and 15 deletions

View File

@ -219,14 +219,12 @@ body{
.list-start-number1 { counter-reset: first second; } .list-start-number1 { counter-reset: first second; }
.list-start-number2 { counter-reset: second; } .list-start-number2 { counter-reset: second; }
/* .list-start-number3 { counter-reset: third; }
.list-start-number3 { counter-reset: third 0; } .list-start-number4 { counter-reset: fourth; }
.list-start-number4 { counter-reset: fourth 0; } .list-start-number5 { counter-reset: fifth; }
.list-start-number5 { counter-reset: fifth 0; } .list-start-number6 { counter-reset: sixth; }
.list-start-number6 { counter-reset: sixth 0; } .list-start-number7 { counter-reset: seventh; }
.list-start-number7 { counter-reset: seventh 0; } .list-start-number8 { counter-reset: eighth; }
.list-start-number8 { counter-reset: eighth 0; }
*/
/* The behavior for incrementing and the prefix */ /* The behavior for incrementing and the prefix */
.list-number1 li:before { .list-number1 li:before {
@ -240,31 +238,31 @@ body{
} }
.list-number3 li:before { .list-number3 li:before {
content: counter(third) ". " ; content: counter(first) "." counter(second) "." counter(third) ". ";
counter-increment: third 1; counter-increment: third 1;
} }
.list-number4 li:before { .list-number4 li:before {
content: counter(fourth) ". " ; content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) ". ";
counter-increment: fourth 1; counter-increment: fourth 1;
} }
.list-number5 li:before { .list-number5 li:before {
content: counter(fifth) ". " ; content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) ". ";
counter-increment: fifth 1; counter-increment: fifth 1;
} }
.list-number6 li:before { .list-number6 li:before {
content: counter(sixth) ". " ; content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) ". ";
counter-increment: sixth 1; counter-increment: sixth 1;
} }
.list-number7 li:before { .list-number7 li:before {
content: counter(seventh) ". " ; content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) ". ";
counter-increment: seventh 1; counter-increment: seventh 1;
} }
.list-number8 li:before { .list-number8 li:before {
content: counter(eighth) ". " ; content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(eighth) ". " ;
counter-increment: eighth 1; counter-increment: eighth 1;
} }