aboutsummaryrefslogtreecommitdiff
path: root/docs/_static/style.css
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-05-28 01:00:49 -0400
committerRapptz <[email protected]>2020-12-18 21:18:51 -0500
commit2e3b8dc3d1900c6ecbde0862032e9d1f7e8556c5 (patch)
treef5adeb01248e1604f93fbb9ace27c9bfc86ce1a7 /docs/_static/style.css
parentRewrite the DOM to use CSS grids (diff)
downloaddiscord.py-2e3b8dc3d1900c6ecbde0862032e9d1f7e8556c5.tar.xz
discord.py-2e3b8dc3d1900c6ecbde0862032e9d1f7e8556c5.zip
Cleanup copy button CSS and add a hover-over explanation.
Diffstat (limited to 'docs/_static/style.css')
-rw-r--r--docs/_static/style.css10
1 files changed, 1 insertions, 9 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css
index d0b94ce0..26b2c8d6 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -262,25 +262,17 @@ div.modal-content > span.close:focus {
.copy {
cursor: pointer;
position: absolute;
- width: 16px;
- height: 16px;
top: 0px;
right: 0px;
border: 1px solid var(--codeblock-border);
line-height: 0.8em;
font-size: 0.9em;
- font-family: monospace;
padding-left: 0.2em;
padding-right: 0.2em;
- border-radius: 0px 3px 0px 0px;
+ border-bottom-left-radius: 4px;
text-align: center;
}
-.copy i {
- display: inline;
- vertical-align: middle;
-}
-
/* -- body styles --------------------------------------------------------- */
hr {