Skip to content

Commit 71bd286

Browse files
authored
fix(blog): Article title style (windmill-labs#131)
1 parent 0dab672 commit 71bd286

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

src/css/custom.css

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
8686
}
8787

8888
h1 {
89-
@apply text-3xl;
90-
@apply font-bold;
89+
@apply !text-3xl font-bold;
9190
}
9291

9392
h2 {
@@ -204,50 +203,53 @@ a {
204203
@apply border border-gray-600 rounded-lg shadow-md p-4 mx-2;
205204
}
206205

207-
208206
.landing-section-gradient-background {
209-
background:linear-gradient(327.21deg, #bcd4fc 3.65%, rgba(59, 130, 246, 0) 40.32%), linear-gradient(245.93deg, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 36.63%), linear-gradient(147.6deg, rgba(59, 130, 246, 0) 29.79%, rgba(59, 130, 246, 0.01) 85.72%), #ffffff;
207+
background: linear-gradient(327.21deg, #bcd4fc 3.65%, rgba(59, 130, 246, 0) 40.32%),
208+
linear-gradient(245.93deg, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 36.63%),
209+
linear-gradient(147.6deg, rgba(59, 130, 246, 0) 29.79%, rgba(59, 130, 246, 0.01) 85.72%),
210+
#ffffff;
210211
}
211212

212213
.dark-gray-font {
213-
color: #212427
214+
color: #212427;
214215
}
215216

216217
.card-shadow-blue {
217-
box-shadow: rgba(59, 130, 246, 0.4) 0px 4px 24px
218+
box-shadow: rgba(59, 130, 246, 0.4) 0px 4px 24px;
218219
}
219220

220221
.card-shadow-green {
221-
box-shadow: rgba(34, 197, 94, 0.4) 0px 4px 24px
222+
box-shadow: rgba(34, 197, 94, 0.4) 0px 4px 24px;
222223
}
223224

224225
.card-shadow-orange {
225-
box-shadow: rgba( 249, 115, 22, 0.4) 0px 4px 24px
226+
box-shadow: rgba(249, 115, 22, 0.4) 0px 4px 24px;
226227
}
227228

228229
.landing-section-gradient-background-dark {
229-
background:linear-gradient(327.21deg, #bcd4fc 3.65%, rgba(59, 130, 246, 0) 40.32%), linear-gradient(245.93deg, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 36.63%), linear-gradient(147.6deg, rgba(59, 130, 246, 0) 29.79%, rgba(59, 130, 246, 0.01) 85.72%), #000;
230+
background: linear-gradient(327.21deg, #bcd4fc 3.65%, rgba(59, 130, 246, 0) 40.32%),
231+
linear-gradient(245.93deg, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 36.63%),
232+
linear-gradient(147.6deg, rgba(59, 130, 246, 0) 29.79%, rgba(59, 130, 246, 0.01) 85.72%), #000;
230233
}
231234

232235
table {
233-
font-family: 'Inter', sans-serif; /* Use Inter font */
234-
font-size: 14px; /* Set small text size */
235-
border-collapse: collapse; /* Merge table borders */
236+
font-family: 'Inter', sans-serif; /* Use Inter font */
237+
font-size: 14px; /* Set small text size */
238+
border-collapse: collapse; /* Merge table borders */
236239
width: 100%;
237240
display: inline-table;
238241
}
239242
th,
240243
td {
241-
text-align: left; /* Left align table cells */
242-
padding: 8px; /* Add padding to table cells */
243-
border: 1px solid #ddd; /* Add border to table cells */
244+
text-align: left; /* Left align table cells */
245+
padding: 8px; /* Add padding to table cells */
246+
border: 1px solid #ddd; /* Add border to table cells */
244247
}
245248

246249
td:nth-of-type(2):first-child {
247250
background-color: red;
248251
}
249252

250253
th {
251-
background-color: #f2f2f2; /* Add light gray background to table header */
254+
background-color: #f2f2f2; /* Add light gray background to table header */
252255
}
253-

0 commit comments

Comments
 (0)