-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.css
158 lines (132 loc) · 2.22 KB
/
tailwind.config.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
@tailwind base;
/* Common */
@import url("https://rsms.me/inter/inter.css");
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap");
@supports (font-variation-settings: normal) {
html {
font-family: "Inter var", sans-serif;
}
}
* {
box-sizing: border-box;
}
html,
body,
#root {
height: 100%;
width: 100%;
font-family: "Inter var", sans-serif;
}
input {
-webkit-appearance: none;
}
a {
text-decoration: none;
color: inherit;
overflow-wrap: break-word;
word-break: break-all;
}
/* Components */
.heading {
@apply font-bold;
@apply text-xl;
@apply leading-tighter;
}
@screen md {
.heading {
@apply text-7xl;
}
}
/* Blog */
mark {
background-color: rgba(119, 221, 119, 0.5);
border-radius: 4px;
}
.remark a {
display: inline-block;
text-decoration: underline;
}
.remark p {
margin: 12px 0;
@apply text-sm;
}
.remark ol {
list-style: decimal;
margin-left: 16px;
}
.remark ul {
list-style: inherit;
margin-left: 16px;
}
.remark li {
@apply text-sm;
}
.remark table {
display: block;
overflow-x: auto;
@apply text-sm;
margin: 16px 0;
}
.remark table th,
.remark table td {
padding: 4px 16px;
border: 1px solid #111;
}
.remark h1 {
@apply font-bold;
@apply text-2xl;
@apply leading-tighter;
}
.remark blockquote {
@apply bg-gray-100;
@apply rounded;
@apply p-4;
@apply text-xs;
@apply my-4;
}
.remark blockquote p {
@apply m-0;
}
@screen md {
.remark h1 {
@apply text-7xl;
}
}
.remark pre {
font-family: "Roboto Mono", monospace;
@apply text-xs;
}
.remark h2 {
font-weight: 500;
font-size: 20px;
margin: 32px 0 16px;
}
.remark h3,
.remark h4 {
font-weight: 500;
font-size: 18px;
margin: 32px 0 16px;
}
.remark .gatsby-resp-image-wrapper {
margin: 16px 0;
}
.gatsby-highlight-code-line {
background-color: beige;
display: block;
margin-right: -1em;
margin-left: -1em;
padding-right: 1em;
padding-left: 0.75em;
border-left: 0.25em solid #013120;
}
.gatsby-highlight {
/* background-color: #fdf6e3; */
border-radius: 0.3em;
margin: 0.5em 0;
overflow: auto;
}
.gatsby-highlight pre[class*="language-"].line-numbers {
padding-left: 2.8em; /* 3 */
}
@tailwind components;
@tailwind utilities;