summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-10-15 16:03:47 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-10-15 16:03:47 +0000
commit989821333fff095b655a10f65505305482ebcaa5 (patch)
tree00e447a729d2d5c55366488a8439b6dc00e50309 /docutils
parentbe307c86d39226636805a1c1dff28cb17cdf4ab2 (diff)
downloaddocutils-989821333fff095b655a10f65505305482ebcaa5.tar.gz
HMTL5 responsive.css: default color for ToC entries.
Leave default (link) colour for ToC entries unless the ToC moved to the sidebar. This helps to easier spot the difference between lists and (especially unnumbered and local) ToC entries. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
-rw-r--r--docutils/writers/html5_polyglot/responsive.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/docutils/writers/html5_polyglot/responsive.css b/docutils/writers/html5_polyglot/responsive.css
index 323afb7cf..3f5d00ffc 100644
--- a/docutils/writers/html5_polyglot/responsive.css
+++ b/docutils/writers/html5_polyglot/responsive.css
@@ -119,7 +119,6 @@ nav.contents ul > li::marker {
color: grey;
}
-
/* Transitions */
hr {
margin: 1em 10%;
@@ -269,7 +268,6 @@ a {
}
/* Undecorated Links (see also minimal.css) */
/* a.citation-reference, */
-.contents a,
.citation a.fn-backref {
color: inherit;
}
@@ -416,6 +414,9 @@ mstyle.mathscr, mi.mathscr {
padding-left: 0;
line-height: 1.4;
}
+ main > nav.contents a {
+ color: inherit;
+ }
}
@media (min-width: 70em) {