summaryrefslogtreecommitdiff
path: root/sphinx/themes/default
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-05 10:41:02 +0200
committerGeorg Brandl <georg@python.org>2009-06-05 10:41:02 +0200
commit4e535fec916d9511313116a4fca543e4a57ba0f2 (patch)
tree988894e5f74507642c6af407c6d30566e5c18a59 /sphinx/themes/default
parent783a05ca6e5e3418ea0a6913fd9e1eff8a3078c5 (diff)
downloadsphinx-git-4e535fec916d9511313116a4fca543e4a57ba0f2.tar.gz
#193: Added a ``visitedlinkcolor`` theme option to the default theme.
Diffstat (limited to 'sphinx/themes/default')
-rw-r--r--sphinx/themes/default/static/default.css_t5
-rw-r--r--sphinx/themes/default/theme.conf1
2 files changed, 6 insertions, 0 deletions
diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t
index cefb308b0..fbfd64a85 100644
--- a/sphinx/themes/default/static/default.css_t
+++ b/sphinx/themes/default/static/default.css_t
@@ -147,6 +147,11 @@ a {
text-decoration: none;
}
+a:visited {
+ color: {{ theme_visitedlinkcolor }};
+ text-decoration: none;
+}
+
a:hover {
text-decoration: underline;
}
diff --git a/sphinx/themes/default/theme.conf b/sphinx/themes/default/theme.conf
index 812330f8a..5035fae59 100644
--- a/sphinx/themes/default/theme.conf
+++ b/sphinx/themes/default/theme.conf
@@ -21,6 +21,7 @@ headbgcolor = #f2f2f2
headtextcolor = #20435c
headlinkcolor = #c60f0f
linkcolor = #355f7c
+visitedlinkcolor = #355f7c
codebgcolor = #eeffcc
codetextcolor = #333333