blob: f776328ebdfb3b9dc4afc890c436775dd7a28876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/* -------------------------------------------------------
Inter variable font.
Usage:
html { font-family: 'GitLab Sans', sans-serif; }
*/
@font-face {
font-family: 'GitLab Sans';
font-weight: 100 900;
font-display: swap;
font-style: normal;
/* stylelint-disable-next-line property-no-unknown */
font-named-instance: 'Regular';
src: url('gitlab-sans/GitLabSans.woff2') format('woff2');
}
@font-face {
font-family: 'GitLab Sans';
font-weight: 100 900;
font-display: swap;
font-style: italic;
/* stylelint-disable-next-line property-no-unknown */
font-named-instance: 'Regular';
src: url('gitlab-sans/GitLabSans-Italic.woff2') format('woff2');
}
/* -------------------------------------------------------
Monospaced font: GitLab Mono.
Usage:
html { font-family: 'GitLab Mono', monospace; }
*/
@font-face {
font-family: 'GitLab Mono';
font-weight: 100 900;
font-display: swap;
font-style: normal;
src: url('gitlab-mono/GitLabMono.woff2') format('woff2');
}
@font-face {
font-family: 'GitLab Mono';
font-weight: 100 900;
font-display: swap;
font-style: italic;
src: url('gitlab-mono/GitLabMono-Italic.woff2') format('woff2');
}
// This isn't the best solution, but we needed a quick fix
// https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107592/
* {
font-variant-ligatures: none;
}
|