Skip to content

Commit 40ae3d6

Browse files
committed
docs: add redhat mono font
1 parent c75325c commit 40ae3d6

11 files changed

+80
-10
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/styles/fonts.css

+80-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
@font-face {
22
font-family: RedHatDisplay;
33
src: url("../assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff");
4-
5-
/* Modern Browsers */
64
font-style: normal;
75
font-weight: 300;
86
text-rendering: optimizelegibility;
@@ -11,8 +9,6 @@
119
@font-face {
1210
font-family: RedHatDisplay;
1311
src: url("../assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff");
14-
15-
/* Modern Browsers */
1612
font-style: normal;
1713
font-weight: 400;
1814
text-rendering: optimizelegibility;
@@ -21,8 +17,6 @@
2117
@font-face {
2218
font-family: RedHatDisplay;
2319
src: url("../assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff");
24-
25-
/* Modern Browsers */
2620
font-style: normal;
2721
font-weight: 700;
2822
text-rendering: optimizelegibility;
@@ -31,8 +25,6 @@
3125
@font-face {
3226
font-family: RedHatText;
3327
src: url("../assets/fonts/RedHatText/RedHatText-Regular.woff");
34-
35-
/* Modern Browsers */
3628
font-style: normal;
3729
font-weight: 400;
3830
text-rendering: optimizelegibility;
@@ -41,9 +33,87 @@
4133
@font-face {
4234
font-family: RedHatText;
4335
src: url("../assets/fonts/RedHatText/RedHatText-Medium.woff");
44-
45-
/* Modern Browsers */
4636
font-style: normal;
4737
font-weight: 700;
4838
text-rendering: optimizelegibility;
4939
}
40+
41+
@font-face {
42+
font-family: RedHatMono;
43+
src: url("../assets/fonts/RedHatMono/RedHatMono-Bold.woff2") format("woff2");
44+
font-weight: bold;
45+
font-style: normal;
46+
font-display: swap;
47+
}
48+
49+
@font-face {
50+
font-family: RedHatMono;
51+
src: url("../assets/fonts/RedHatMono/RedHatMono-BoldItalic.woff2") format("woff2");
52+
font-weight: bold;
53+
font-style: italic;
54+
font-display: swap;
55+
}
56+
57+
@font-face {
58+
font-family: RedHatMono;
59+
src: url("../assets/fonts/RedHatMono/RedHatMono-Italic.woff2") format("woff2");
60+
font-weight: normal;
61+
font-style: italic;
62+
font-display: swap;
63+
}
64+
65+
@font-face {
66+
font-family: RedHatMono;
67+
src: url("../assets/fonts/RedHatMono/RedHatMono-Light.woff2") format("woff2");
68+
font-weight: 300;
69+
font-style: normal;
70+
font-display: swap;
71+
}
72+
73+
@font-face {
74+
font-family: RedHatMono;
75+
src: url("../assets/fonts/RedHatMono/RedHatMono-LightItalic.woff2") format("woff2");
76+
font-weight: 300;
77+
font-style: italic;
78+
font-display: swap;
79+
}
80+
81+
@font-face {
82+
font-family: RedHatMono;
83+
src: url("../assets/fonts/RedHatMono/RedHatMono-Medium.woff2") format("woff2");
84+
font-weight: 500;
85+
font-style: normal;
86+
font-display: swap;
87+
}
88+
89+
@font-face {
90+
font-family: RedHatMono;
91+
src: url("../assets/fonts/RedHatMono/RedHatMono-MediumItalic.woff2") format("woff2");
92+
font-weight: 500;
93+
font-style: italic;
94+
font-display: swap;
95+
}
96+
97+
@font-face {
98+
font-family: RedHatMono;
99+
src: url("RedHatMono-Regular.woff2") format("woff2");
100+
font-weight: normal;
101+
font-style: normal;
102+
font-display: swap;
103+
}
104+
105+
@font-face {
106+
font-family: RedHatMono;
107+
src: url("../assets/fonts/RedHatMono/RedHatMono-SemiBold.woff2") format("woff2");
108+
font-weight: 600;
109+
font-style: normal;
110+
font-display: swap;
111+
}
112+
113+
@font-face {
114+
font-family: RedHatMono;
115+
src: url("../assets/fonts/RedHatMono/RedHatMono-SemiBoldItalic.woff2") format("woff2");
116+
font-weight: 600;
117+
font-style: italic;
118+
font-display: swap;
119+
}

0 commit comments

Comments
 (0)