Commit 176cf438 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '22103-make-code-tags-consistent-in-discussions' into 'master'

Updated code styles

See merge request gitlab-org/gitlab!26731
parents edb7fb3e 3d12f47b
...@@ -120,8 +120,8 @@ kbd { ...@@ -120,8 +120,8 @@ kbd {
code { code {
padding: 2px 4px; padding: 2px 4px;
color: $red-600; color: $code-color;
background-color: $red-100; background-color: $gray-100;
border-radius: $border-radius-default; border-radius: $border-radius-default;
.code > & { .code > & {
......
...@@ -592,7 +592,7 @@ pre { ...@@ -592,7 +592,7 @@ pre {
word-wrap: break-word; word-wrap: break-word;
color: $gl-text-color; color: $gl-text-color;
background-color: $gray-light; background-color: $gray-light;
border: 1px solid $border-color; border: 1px solid $gray-200;
border-radius: $border-radius-small; border-radius: $border-radius-small;
} }
......
...@@ -356,6 +356,7 @@ $list-text-height: 42px; ...@@ -356,6 +356,7 @@ $list-text-height: 42px;
*/ */
$code-font-size: 90%; $code-font-size: 90%;
$code-line-height: 1.6; $code-line-height: 1.6;
$code-color: $gray-950;
/* /*
* Tooltips * Tooltips
......
---
title: Deemphasized styles for inline code blocks
merge_request:
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment