Remove CSS counters
This commit is contained in:
parent
20072fdb61
commit
921dda9a72
1 changed files with 3 additions and 8 deletions
|
@ -1,8 +1,5 @@
|
||||||
body {
|
body {
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
counter-reset: theorem;
|
|
||||||
counter-reset: definition;
|
|
||||||
counter-reset: sidenote-counter; /* Hack, otherwise we break Tufte CSS */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
@ -61,7 +58,6 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
.proposition, .theorem {
|
.proposition, .theorem {
|
||||||
counter-increment: theorem;
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,20 +72,19 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theorem:before {
|
.theorem:before {
|
||||||
content: "Theorem " counter(theorem) ".";
|
content: "Theorem.";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proposition:before {
|
.proposition:before {
|
||||||
content: "Proposition " counter(theorem) ".";
|
content: "Proposition.";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.definition:before {
|
.definition:before {
|
||||||
counter-increment: definition;
|
content: "Definition.";
|
||||||
content: "Definition " counter(definition) ".";
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue