1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-02 04:42:43 +02:00

comment nav

This commit is contained in:
Pomax
2016-02-01 10:56:16 -08:00
parent f0e41c53cb
commit dda27c123b
5 changed files with 27 additions and 6 deletions

View File

@@ -14,9 +14,12 @@ navigation {
padding: 0.5em 1em;
li {
&:nth-child(n+2):before {
&:nth-child(n+2)[data-number]:before {
content: "§" attr(data-number) ". "
}
&:nth-child(n+2):not([data-number]) {
margin: 5px 0;
}
}
}

View File

@@ -75,9 +75,12 @@ navigation ul {
margin: 0;
padding: 0.5em 1em;
}
navigation ul li:nth-child(n+2):before {
navigation ul li:nth-child(n+2)[data-number]:before {
content: "§" attr(data-number) ". ";
}
navigation ul li:nth-child(n+2):not([data-number]) {
margin: 5px 0;
}
navigation.compact {
width: 100%;
border: none;