Browse Source

Fix codeblock related things with mobile responsiveness.

pull/6176/head
Rapptz 5 years ago
parent
commit
d69d509453
  1. 11
      docs/_static/style.css

11
docs/_static/style.css

@ -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…
Cancel
Save