Copy button css

This commit is contained in:
cuom1999 2023-09-05 19:39:30 -05:00
parent a5bad300b8
commit c6a268114a
3 changed files with 7 additions and 6 deletions

View file

@ -52,6 +52,7 @@ else:
class Media: class Media:
css = { css = {
"all": [ "all": [
"markdown.css",
"pagedown_widget.css", "pagedown_widget.css",
"content-description.css", "content-description.css",
"admin/css/pagedown.css", "admin/css/pagedown.css",

View file

@ -51,7 +51,7 @@
} }
pre.no-border { pre.no-border {
margin-top: -0.7em; margin-top: 0.4em;
padding: 0.5em; padding: 0.5em;
border: none; border: none;
background-color: inherit; background-color: inherit;
@ -137,7 +137,7 @@
.linenos { .linenos {
width: 4%; width: 4%;
pre { pre {
color: rgba(0,0,0,.26); color: rgba(0,0,0,.26);
background-color: rgba(0,0,0,.07); background-color: rgba(0,0,0,.07);
@ -166,8 +166,8 @@
textarea, textarea,
pre { pre {
-moz-tab-size : 4; -moz-tab-size : 4;
-o-tab-size : 4; -o-tab-size : 4;
tab-size : 4; tab-size : 4;
} }

View file

@ -220,8 +220,8 @@ input {
position: relative; position: relative;
} }
.md-typeset .copy-clipboard { .md-typeset .btn-clipboard {
margin-top: 1.5em; right: -0.6rem;
} }