mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Various RTD related fixes.
This commit is contained in:
21
docs/_static/style.css
vendored
21
docs/_static/style.css
vendored
@ -74,6 +74,9 @@ Historically however, thanks to:
|
||||
--active-toc: #dbdbdb;
|
||||
--scrollbar: rgba(0,0,0,0.2);
|
||||
--scrollbar-hover: rgba(0,0,0,0.4);
|
||||
--rtd-ad-border: #bfbfbf;
|
||||
--rtd-ad-background: #eeeeee;
|
||||
--rtd-ad-text-rgb: 64, 64, 64;
|
||||
}
|
||||
|
||||
:root[data-font="sans"] {
|
||||
@ -124,6 +127,9 @@ Historically however, thanks to:
|
||||
--active-toc: #212121;
|
||||
--scrollbar: rgba(0,0,0,0.5);
|
||||
--scrollbar-hover: rgba(0,0,0,0.7);
|
||||
--rtd-ad-border: #333333;
|
||||
--rtd-ad-background: #404040;
|
||||
--rtd-ad-text-rgb: 221, 221, 221;
|
||||
}
|
||||
|
||||
img[src$="snake_dark.svg"] {
|
||||
@ -844,6 +850,21 @@ section#welcome-to-discord-py > h1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* make the RTD ad look a little less jarring */
|
||||
|
||||
.ethical-fixedfooter {
|
||||
background-color: var(--rtd-ad-background) !important;
|
||||
border-top: 1px solid var(--rtd-ad-border) !important;
|
||||
}
|
||||
|
||||
.ethical-fixedfooter a {
|
||||
color: rgb(var(--rtd-ad-text-rgb)) !important;
|
||||
}
|
||||
|
||||
.ethical-callout a {
|
||||
color: rgba(var(--rtd-ad-text-rgb), 0.7) !important;
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: var(--mobile-active-toc);
|
||||
border-left: 5px solid var(--mobile-active-toc);
|
||||
|
Reference in New Issue
Block a user