mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-11 00:09:47 +00:00
Fix codeblock related things with mobile responsiveness.
This commit is contained in:
parent
410a0c8794
commit
d69d509453
11
docs/_static/style.css
vendored
11
docs/_static/style.css
vendored
@ -143,7 +143,7 @@ body {
|
|||||||
#sidebar::-webkit-scrollbar {
|
#sidebar::-webkit-scrollbar {
|
||||||
width: 0.5em;
|
width: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar::-webkit-scrollbar-thumb {
|
#sidebar::-webkit-scrollbar-thumb {
|
||||||
background-color: var(--scrollbar);
|
background-color: var(--scrollbar);
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
@ -216,6 +216,7 @@ aside {
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
background-color: var(--mobile-nav-background);
|
background-color: var(--mobile-nav-background);
|
||||||
color: var(--mobile-nav-text);
|
color: var(--mobile-nav-text);
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside h3 {
|
aside h3 {
|
||||||
@ -348,11 +349,13 @@ div.modal input {
|
|||||||
top: 0px;
|
top: 0px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
border: 1px solid var(--codeblock-border);
|
border: 1px solid var(--codeblock-border);
|
||||||
line-height: 0.8em;
|
font-size: 0.875em;
|
||||||
font-size: 0.9em;
|
|
||||||
padding: 0.2em 0.5em;
|
padding: 0.2em 0.5em;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
text-align: center;
|
}
|
||||||
|
|
||||||
|
.copy > .fa-clipboard-check {
|
||||||
|
padding: 0 0.875px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -- body styles --------------------------------------------------------- */
|
/* -- body styles --------------------------------------------------------- */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user