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

This commit is contained in:
Georg Brandl 2009-06-05 10:41:02 +02:00
parent 783a05ca6e
commit 4e535fec91
4 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,9 @@
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.

View File

@ -86,6 +86,7 @@ Sphinx comes with a selection of themes to choose from:
- **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.

View File

@ -147,6 +147,11 @@ a {
text-decoration: none;
}
a:visited {
color: {{ theme_visitedlinkcolor }};
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

View File

@ -21,6 +21,7 @@ headbgcolor = #f2f2f2
headtextcolor = #20435c
headlinkcolor = #c60f0f
linkcolor = #355f7c
visitedlinkcolor = #355f7c
codebgcolor = #eeffcc
codetextcolor = #333333