Skip to content

Commit 9080d8b

Browse files
committed
home page styling
1 parent 4f7d0f7 commit 9080d8b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

fern/pages/home.mdx

+38
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,20 @@ twitter:description: "Build with our leading Speech AI models"
186186
border-color: #171c29;
187187
}
188188
189+
:is(.dark) body#fern-docs .product-card .fern-card .text-\(color\:--grayscale-a11\) {
190+
background-color: #0d101a;
191+
border-color: #171c29;
192+
}
193+
189194
:is(.dark) .product-card .fern-card .t-muted p {
190195
background-color: #0d101a;
191196
192197
}
193198
199+
:is(.dark) body#fern-docs .product-card .fern-card .text-\(color\:--grayscale-a11\) p {
200+
background-color: #0d101a;
201+
}
202+
194203
:is(.dark) .product-card .fern-card .text-base {
195204
color: white;
196205
}
@@ -213,6 +222,18 @@ twitter:description: "Build with our leading Speech AI models"
213222
height: 85% !important;
214223
}
215224
225+
body#fern-docs .product-card .fern-card .text-\(color\:--grayscale-a11\) {
226+
background-color: #BEC2EE;
227+
border: 8px solid #BEC2EE;
228+
border-radius: 12px;
229+
border-bottom-left-radius: 0px;
230+
border-bottom-right-radius: 0px;
231+
border-bottom-width: 0px;
232+
height: 100% !important;
233+
margin-top: 10px !important;
234+
height: 85% !important;
235+
}
236+
216237
.product-card .fern-card .t-muted p {
217238
color: white;
218239
background-color: #747FDB;
@@ -226,6 +247,19 @@ twitter:description: "Build with our leading Speech AI models"
226247
height: 100% !important;
227248
}
228249
250+
body#fern-docs .product-card .fern-card .text-\(color\:--grayscale-a11\) {
251+
color: white;
252+
background-color: #747FDB;
253+
border-radius: 10px;
254+
border-bottom-left-radius: 0px;
255+
border-bottom-right-radius: 0px;
256+
padding-left: 16px;
257+
padding-right: 16px;
258+
padding-top: 12px;
259+
padding-bottom: 12px;
260+
height: 100% !important;
261+
}
262+
229263
.product-card .fern-card .w-full.space-y-1.overflow-hidden {
230264
margin-top: 10px !important;
231265
display: flex;
@@ -256,6 +290,10 @@ twitter:description: "Build with our leading Speech AI models"
256290
color: rgba(var(--body-text),var(--tw-text-opacity,1) !important;
257291
}
258292
293+
body#fern-docs .gradient-card .fern-card .text-\(color\:--grayscale-a11\) {
294+
color: rgba(var(--body-text),var(--tw-text-opacity,1) !important;
295+
}
296+
259297
:is(.dark) .sdk-card .fern-card {
260298
background-color: #2A2522;
261299
}

0 commit comments

Comments
 (0)