summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-08 19:01:38 +0100
committerGitHub <noreply@github.com>2020-11-08 13:01:38 -0500
commit049a87c402818a04914745ae8c5caa73c0c2cc91 (patch)
tree8fc5eaed61cdb19f03305094cf5d27acdf8c63d6 /web_src/less/_base.less
parentc05a8abc762f868e67dd131d34f45218a0fb95ab (diff)
downloadgitea-049a87c402818a04914745ae8c5caa73c0c2cc91.tar.gz
gitea-049a87c402818a04914745ae8c5caa73c0c2cc91.zip
Override fonts using Fomantic config (#13465)
Saves is from doing it manually and saves a few CSS bytes. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less47
1 files changed, 1 insertions, 46 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 29eca15d24..3f1d5a5a54 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -104,52 +104,7 @@
url("../fonts/noto-color-emoji/NotoColorEmoji.ttf") format("truetype");
}
-/* Most of these selectors override fomantic ui */
-body,
-textarea,
-h1,
-h2,
-h3,
-h4,
-h5,
-.markdown:not(code),
-.ui.accordion .title:not(.ui),
-.ui.button,
-.ui.card > .content > .header.ui.card > .content > .header,
-.ui.category.search > .results .category > .name,
-.ui.form input:not([type]),
-.ui.form input[type="date"],
-.ui.form input[type="datetime-local"],
-.ui.form input[type="email"],
-.ui.form input[type="file"],
-.ui.form input[type="number"],
-.ui.form input[type="password"],
-.ui.form input[type="search"],
-.ui.form input[type="tel"],
-.ui.form input[type="text"],
-.ui.form input[type="time"],
-.ui.form input[type="url"],
-.ui.input textarea,
-.ui.form textarea,
-.ui.header,
-.ui.items > .item > .content > .header,
-.ui.list .list > .item .header,
-.ui.list > .item .header,
-.ui.menu,
-.ui.message .header,
-.ui.modal > .header,
-.ui.popup > .header,
-.ui.search > .results .result .title,
-.ui.search > .results > .message .header,
-.ui.input > input,
-.ui.input input,
-.ui.statistics .statistic > .value,
-.ui.statistic > .value,
-.ui.statistics .statistic > .label,
-.ui.statistic > .label,
-.ui.steps .step .title,
-.ui.text.container,
-.ui.language > .menu > .item {
+textarea {
font-family: var(--fonts-regular);
}