summaryrefslogtreecommitdiffstats
path: root/web_src/less/_markdown.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-15 21:58:16 +0100
committerGitHub <noreply@github.com>2020-11-15 15:58:16 -0500
commit0de546009e466486cd88dfa98d07d8775bd3087d (patch)
tree9150f26ad2580337acace452363a3081942d366d /web_src/less/_markdown.less
parent7a30e97002ec8bd601b93549d4efc51743ecf2b3 (diff)
downloadgitea-0de546009e466486cd88dfa98d07d8775bd3087d.tar.gz
gitea-0de546009e466486cd88dfa98d07d8775bd3087d.zip
CSS color variables, less bold font weight and more (#13567)
* CSS color variables, less bold font weight - Define color variables for fully saturated colors and apply them where it made sense - Add background color helper classes - Globally reduce bold font weight from 700 to 500 - Remove border from timeline icons - Unify dropzone styling - Various border style consolidations * attempt to fix test * another attempt at tests * fix contains
Diffstat (limited to 'web_src/less/_markdown.less')
-rw-r--r--web_src/less/_markdown.less10
1 files changed, 5 insertions, 5 deletions
diff --git a/web_src/less/_markdown.less b/web_src/less/_markdown.less
index 868fe5c146..7a29630575 100644
--- a/web_src/less/_markdown.less
+++ b/web_src/less/_markdown.less
@@ -26,7 +26,7 @@
}
.absent {
- color: #cc0000;
+ color: var(--color-red);
}
.anchor {
@@ -77,7 +77,7 @@
h6 {
margin-top: 1em;
margin-bottom: 16px;
- font-weight: bold;
+ font-weight: 500;
line-height: 1.4;
&:first-of-type {
@@ -193,7 +193,7 @@
margin-top: 16px;
font-size: 1em;
font-style: italic;
- font-weight: bold;
+ font-weight: 500;
}
dl dd {
@@ -224,7 +224,7 @@
}
table th {
- font-weight: bold;
+ font-weight: 500;
}
table th,
@@ -450,7 +450,7 @@
}
.csv-data th {
- font-weight: bold;
+ font-weight: 500;
background: #f8f8f8;
border-top: 0;
}