Commits

Georg Brandl committed a7d9010

#193: Added a ``visitedlinkcolor`` theme option to the default theme.

Comments (0)

Files changed (4)

 Release 1.0 (in development)
 ============================
 
+* #193: Added a ``visitedlinkcolor`` theme option to the default
+  theme.
+
 * Added the ``prepend`` and ``append`` options to the
   ``literalinclude`` directive.
 
   - **bgcolor** (CSS color): Body background color.
   - **textcolor** (CSS color): Body text color.
   - **linkcolor** (CSS color): Body link color.
+  - **visitedlinkcolor** (CSS color): Body color for visited links.
   - **headbgcolor** (CSS color): Background color for headings.
   - **headtextcolor** (CSS color): Text color for headings.
   - **headlinkcolor** (CSS color): Link color for headings.

sphinx/themes/default/static/default.css_t

     text-decoration: none;
 }
 
+a:visited {
+    color: {{ theme_visitedlinkcolor }};
+    text-decoration: none;
+}
+
 a:hover {
     text-decoration: underline;
 }

sphinx/themes/default/theme.conf

 headtextcolor    = #20435c
 headlinkcolor    = #c60f0f
 linkcolor        = #355f7c
+visitedlinkcolor = #355f7c
 codebgcolor      = #eeffcc
 codetextcolor    = #333333