Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2020-10-06 10:25:34 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-10-16 11:19:21 +0300
commit6092d197a4f77d98b6b963a48600c223c030653d (patch)
tree522fe6e9912b8f1c4c297f7bc8fe1b8ecaea6b09 /content
parent167b10016958d07627d1c5f3991bfbf85d52b4e6 (diff)
Change the code highlight colors
Get rid of the green and pink code highlight colors and use the same one that GitLab uses.
Diffstat (limited to 'content')
-rw-r--r--content/assets/stylesheets/_variables.scss6
-rw-r--r--content/assets/stylesheets/stylesheet.scss3
2 files changed, 5 insertions, 4 deletions
diff --git a/content/assets/stylesheets/_variables.scss b/content/assets/stylesheets/_variables.scss
index 84d44790..c8005536 100644
--- a/content/assets/stylesheets/_variables.scss
+++ b/content/assets/stylesheets/_variables.scss
@@ -189,9 +189,9 @@ $badge-gitlab-com-transparent: rgba(252, 163, 38, .1);
$gl-icon-sizes: 8 10 12 14 16 18 24 32 48 72;
// Inline code colors
-$code-color: rgb(95, 131, 65);
-$code-background-color: rgba(95, 131, 65, .1);
-$alert-code-background-color: #f9f2f4;
+$code-color: rgb(31, 31, 31);
+$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;
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 191e32de..cb5509ec 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -1,5 +1,5 @@
---
-version: 79
+version: 80
---
@import "variables";
@@ -897,6 +897,7 @@ a.global-nav-link {
code {
background-color: $alert-code-background-color;
word-break: break-word;
+ color: $code-color;
}
i {