diff options
author | David O'Regan <doregan@gitlab.com> | 2021-03-23 15:45:44 +0300 |
---|---|---|
committer | David O'Regan <doregan@gitlab.com> | 2021-03-23 15:45:44 +0300 |
commit | 412f21773230aa881dd87c60b2163ff4a045cc69 (patch) | |
tree | 6472d0b7469f3964117668a612720523fa8d592d /content | |
parent | 4972430d058a778257df5a52a35ea21526b6fd44 (diff) |
Fix: Update CSS for code box clip button
Diffstat (limited to 'content')
-rw-r--r-- | content/assets/stylesheets/_variables.scss | 2 | ||||
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/content/assets/stylesheets/_variables.scss b/content/assets/stylesheets/_variables.scss index 0e60d241..ad4f3af1 100644 --- a/content/assets/stylesheets/_variables.scss +++ b/content/assets/stylesheets/_variables.scss @@ -197,7 +197,7 @@ $code-background-color: rgb(240, 240, 240); $alert-code-background-color: rgb(242, 242, 242); //copy button bg color == pre code color -$pre-code-color: #2b303b; +$pre-code-color: transparent; // Home page colors $header-color: #55448d; diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index c58c722d..34a6663e 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -1,5 +1,5 @@ --- -version: 104 +version: 105 --- @import "variables"; @@ -154,7 +154,7 @@ pre { .clip-btn { display: inline-block; padding: 10px 10px 10px 13px; - right: 0; + right: -.25rem; top: 0; cursor: pointer; position: absolute; |