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:
authorSuzanne Selhorn <sselhorn@gitlab.com>2020-10-16 23:22:59 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2020-10-16 23:22:59 +0300
commit32c8615423b0f4952a6e0cf1c1c7d1a7c6b5ad2f (patch)
tree8debb30fd42b4576a999582f467b2573971c1c83 /content
parent40ba8e1abb0e3709ce91572ca68eed66f7c9254e (diff)
parent6092d197a4f77d98b6b963a48600c223c030653d (diff)
Merge branch 'change-code-colors' into 'master'
Change the code highlight colors See merge request gitlab-org/gitlab-docs!1210
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 {