diff options
| author | Rapptz <[email protected]> | 2020-05-29 06:21:05 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:51 -0500 |
| commit | d69d509453fae32cfdafd5231d24bef64c973121 (patch) | |
| tree | ac10f3a7fc08354cb0e4d2b555785343eb0a7eaf /docs/_static/style.css | |
| parent | Use default scrollbar for body on webkit browsers (diff) | |
| download | discord.py-d69d509453fae32cfdafd5231d24bef64c973121.tar.xz discord.py-d69d509453fae32cfdafd5231d24bef64c973121.zip | |
Fix codeblock related things with mobile responsiveness.
Diffstat (limited to 'docs/_static/style.css')
| -rw-r--r-- | docs/_static/style.css | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css index f89ab140..65c4b156 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -143,7 +143,7 @@ body { #sidebar::-webkit-scrollbar { width: 0.5em; } - + #sidebar::-webkit-scrollbar-thumb { background-color: var(--scrollbar); border-radius: 0.25em; @@ -216,6 +216,7 @@ aside { position: sticky; background-color: var(--mobile-nav-background); color: var(--mobile-nav-text); + z-index: 2; } aside h3 { @@ -348,11 +349,13 @@ div.modal input { top: 0px; right: 0px; border: 1px solid var(--codeblock-border); - line-height: 0.8em; - font-size: 0.9em; + font-size: 0.875em; padding: 0.2em 0.5em; border-bottom-left-radius: 4px; - text-align: center; +} + +.copy > .fa-clipboard-check { + padding: 0 0.875px; } /* -- body styles --------------------------------------------------------- */ |