-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
91 lines (79 loc) ยท 1.83 KB
/
main.css
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@tailwind base;
@tailwind components;
@import "./_hljs.css";
@import "./_markdown.css";
@import "./_fonts.css";
@import "./_docsearch.css";
/*@import "./_typography.css";*/
body {
@apply font-sans bg-white sm:subpixel-antialiased;
}
.word-keep-all {
word-break: keep-all;
}
.hide-scrollbar {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
.hide-scrollbar::-webkit-scrollbar {
width: 0px;
background: transparent; /* Chrome/Safari/Webkit */
}
@tailwind utilities;
@layer components {
.hl-title {
@apply text-[2.5rem] tracking-tighter leading-tight font-semibold text-gray-80;
}
@screen xs {
.hl-title {
@apply text-48;
}
}
@screen md {
.hl-title {
@apply text-68;
}
}
@screen lg {
.hl-title {
@apply font-bold;
}
}
@responsive {
.hl-1 {
@apply text-48 font-semibold tracking-tighter leading-tight text-black;
}
.hl-2 {
@apply text-32 font-semibold tracking-tighter leading-tight text-black;
}
.hl-3 {
@apply text-24 font-semibold tracking-tight leading-tight text-black;
}
.hl-4 {
@apply text-18 font-semibold tracking-tight leading-tight text-gray-80;
}
.hl-5 {
@apply text-14 font-bold tracking-normal leading-tight text-gray-80;
}
.hl-overline {
@apply text-11 font-semibold tracking-wide leading-tight uppercase text-gray-80;
}
}
@responsive {
.body-lg {
@apply text-18 font-normal tracking-tight leading-4;
}
.body-button {
@apply text-16 font-semibold tracking-normal leading-2;
}
.body-md {
@apply text-16 font-normal tracking-tight leading-4;
}
.body-sm {
@apply text-14 font-medium tracking-normal leading-2;
}
.captions {
@apply text-12 font-medium tracking-normal leading-2;
}
}
}