Prevent visited docs links from changing color.
PiperOrigin-RevId: 918445755 Change-Id: I4884c7f349ef39fab2678ba68eae422e6140b0a2
This commit is contained in:
committed by
Copybara-Service
parent
dd37ae16fc
commit
7b83f96e49
@@ -168,6 +168,7 @@ SHARED_CSS_VARIABLES = {
|
|||||||
# font-stack--monospace used in code blocks, Inconsolata fits in 100 chars.
|
# font-stack--monospace used in code blocks, Inconsolata fits in 100 chars.
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
'light_css_variables': {
|
'light_css_variables': {
|
||||||
|
'color-brand-visited': 'var(--color-brand-content)',
|
||||||
'font-stack--monospace': 'Inconsolata,Consolas,ui-monospace,monospace',
|
'font-stack--monospace': 'Inconsolata,Consolas,ui-monospace,monospace',
|
||||||
'at-color': '#830b2b',
|
'at-color': '#830b2b',
|
||||||
'at-val-color': '#bc103e',
|
'at-val-color': '#bc103e',
|
||||||
@@ -182,6 +183,7 @@ html_theme_options = {
|
|||||||
'wy-nav-side-background-color': '#0053d6',
|
'wy-nav-side-background-color': '#0053d6',
|
||||||
},
|
},
|
||||||
'dark_css_variables': {
|
'dark_css_variables': {
|
||||||
|
'color-brand-visited': 'var(--color-brand-content)',
|
||||||
'at-color': '#ffaab7',
|
'at-color': '#ffaab7',
|
||||||
'at-val-color': '#ff95a6',
|
'at-val-color': '#ff95a6',
|
||||||
'body-color': '#14234b',
|
'body-color': '#14234b',
|
||||||
|
|||||||
@@ -197,11 +197,6 @@ h4 {
|
|||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't change color of visited links.
|
|
||||||
.rst-content a.reference:visited {
|
|
||||||
color: var(--rst-content-a-color);
|
|
||||||
} */
|
|
||||||
|
|
||||||
.rst-content code, .rst-content tt {
|
.rst-content code, .rst-content tt {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding: inherit;
|
padding: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user