summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less36
1 files changed, 35 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index ea0b8c5566..d2b1b6e66b 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -66,7 +66,15 @@
font-weight: 700;
}
-@default-fonts: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Helvetica, Arial;
+@font-face {
+ font-family: 'Noto Color Emoji';
+ src:
+ local('Noto Color Emoji'),
+ local('Noto-Color-Emoji'),
+ url('../vendor/assets/noto-color-emoji/NotoColorEmoji.ttf') format('truetype');
+}
+
+@default-fonts: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@monospaced-fonts: 'SF Mono', Consolas, Menlo, 'Liberation Mono', Monaco, 'Lucida Console';
.override-fonts(@fonts) {
@@ -1237,3 +1245,29 @@ i.icon.centerlock {
.text-label .color-icon {
position: static !important;
}
+
+.emoji,
+.reaction {
+ font-size: 1.5em;
+ line-height: 1.2;
+ font-weight: 400;
+ vertical-align: middle;
+ font-style: normal;
+}
+
+#issue-title > .emoji {
+ font-size: 1em;
+}
+
+.commit-summary > .emoji {
+ font-size: 1em;
+}
+
+.emoji img,
+.reaction img {
+ border-width: 0 !important;
+ margin: 0 !important;
+ width: 1em !important;
+ height: 1em !important;
+ vertical-align: middle !important;
+}