mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#193: Added a `visitedlinkcolor
` theme option to the default theme.
This commit is contained in:
parent
783a05ca6e
commit
4e535fec91
3
CHANGES
3
CHANGES
@ -1,6 +1,9 @@
|
|||||||
Release 1.0 (in development)
|
Release 1.0 (in development)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
* #193: Added a ``visitedlinkcolor`` theme option to the default
|
||||||
|
theme.
|
||||||
|
|
||||||
* Added the ``prepend`` and ``append`` options to the
|
* Added the ``prepend`` and ``append`` options to the
|
||||||
``literalinclude`` directive.
|
``literalinclude`` directive.
|
||||||
|
|
||||||
|
@ -86,6 +86,7 @@ Sphinx comes with a selection of themes to choose from:
|
|||||||
- **bgcolor** (CSS color): Body background color.
|
- **bgcolor** (CSS color): Body background color.
|
||||||
- **textcolor** (CSS color): Body text color.
|
- **textcolor** (CSS color): Body text color.
|
||||||
- **linkcolor** (CSS color): Body link color.
|
- **linkcolor** (CSS color): Body link color.
|
||||||
|
- **visitedlinkcolor** (CSS color): Body color for visited links.
|
||||||
- **headbgcolor** (CSS color): Background color for headings.
|
- **headbgcolor** (CSS color): Background color for headings.
|
||||||
- **headtextcolor** (CSS color): Text color for headings.
|
- **headtextcolor** (CSS color): Text color for headings.
|
||||||
- **headlinkcolor** (CSS color): Link color for headings.
|
- **headlinkcolor** (CSS color): Link color for headings.
|
||||||
|
@ -147,6 +147,11 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: {{ theme_visitedlinkcolor }};
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,7 @@ headbgcolor = #f2f2f2
|
|||||||
headtextcolor = #20435c
|
headtextcolor = #20435c
|
||||||
headlinkcolor = #c60f0f
|
headlinkcolor = #c60f0f
|
||||||
linkcolor = #355f7c
|
linkcolor = #355f7c
|
||||||
|
visitedlinkcolor = #355f7c
|
||||||
codebgcolor = #eeffcc
|
codebgcolor = #eeffcc
|
||||||
codetextcolor = #333333
|
codetextcolor = #333333
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user