-
Notifications
You must be signed in to change notification settings - Fork 248
Expand file tree
/
Copy pathfonts.css
More file actions
46 lines (40 loc) · 1.24 KB
/
Copy pathfonts.css
File metadata and controls
46 lines (40 loc) · 1.24 KB
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
/* Import the same fonts used on mintlify.com */
/* Inter Variable Font - matching the main site */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/* Override Mintlify's default font variables to match main site */
:root {
--font-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
}
/* Apply fonts to body and common elements with explicit OpenType features */
body {
font-family: var(--font-inter);
font-feature-settings: normal; /* Ensure default character variants */
font-variant-numeric: normal;
font-variant-ligatures: normal;
}
/* Ensure proper font weight and style support */
.font-inter {
font-family: var(--font-inter);
}
/* Fix for true italics instead of synthetic slanted text */
em,
i,
.italic {
font-style: italic;
font-synthesis: none; /* Prevent synthetic italic generation */
}
/* Explicitly disable stylistic alternates that might cause character differences */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
font-feature-settings: "ss01" 0, "ss02" 0, "ss03" 0; /* Disable common stylistic sets */
font-variant-alternates: normal;
}