|
38 | 38 | } |
39 | 39 |
|
40 | 40 | /*** START -- PRODUCT SELECTOR STYLING ***/ |
41 | | - |
42 | 41 | @media (min-width: 1024px) { |
43 | | - |
44 | 42 | .fern-product-selector { |
45 | 43 | transform: translate(-2px, 4px); |
46 | 44 | } |
|
212 | 210 | /*** END -- PRODUCT SELECTOR STYLING ***/ |
213 | 211 |
|
214 | 212 | /*** START -- DOCS HOMEPAGE STYLING ***/ |
| 213 | +a[href*="changelog"] svg { |
| 214 | + display: none; |
| 215 | +} |
| 216 | + |
215 | 217 | .docs-homepage { |
216 | 218 | position: relative; |
217 | 219 | .fern-card { |
|
284 | 286 | /*** END -- DOCS HOMEPAGE STYLING ***/ |
285 | 287 |
|
286 | 288 | /*** START -- SDKS HOMEPAGE STYLING ***/ |
| 289 | +a[href*="changelog"] svg { |
| 290 | + display: none; |
| 291 | +} |
| 292 | + |
| 293 | +/* TypeScript */ |
| 294 | +div:has(a[href*="/sdks/generators/typescript/quickstart"]) > button.fern-sidebar-link span.mr-auto::before, |
| 295 | +div:has(a[href*="/sdks/generators/type-script/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 296 | + content: ""; |
| 297 | + display: inline-block; |
| 298 | + width: 16px; |
| 299 | + height: 16px; |
| 300 | + margin-right: 4px; |
| 301 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/typescript-light.svg"); |
| 302 | + background-repeat: no-repeat; |
| 303 | + background-position: center; |
| 304 | + background-size: contain; |
| 305 | + vertical-align: middle; |
| 306 | +} |
| 307 | + |
| 308 | +/* Python */ |
| 309 | +div:has(a[href*="/sdks/generators/python/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 310 | + content: ""; |
| 311 | + display: inline-block; |
| 312 | + width: 16px; |
| 313 | + height: 16px; |
| 314 | + margin-right: 4px; |
| 315 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/python-light.svg"); |
| 316 | + background-repeat: no-repeat; |
| 317 | + background-position: center; |
| 318 | + background-size: contain; |
| 319 | + vertical-align: middle; |
| 320 | +} |
| 321 | + |
| 322 | +/* Go */ |
| 323 | +div:has(a[href*="/sdks/generators/go/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 324 | + content: ""; |
| 325 | + display: inline-block; |
| 326 | + width: 16px; |
| 327 | + height: 16px; |
| 328 | + margin-right: 4px; |
| 329 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/go-light.svg"); |
| 330 | + background-repeat: no-repeat; |
| 331 | + background-position: center; |
| 332 | + background-size: contain; |
| 333 | + vertical-align: middle; |
| 334 | +} |
| 335 | + |
| 336 | +/* C# / .NET */ |
| 337 | +div:has(a[href*="/sdks/generators/csharp/quickstart"]) > button.fern-sidebar-link span.mr-auto::before, |
| 338 | +div:has(a[href*="/sdks/generators/net/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 339 | + content: ""; |
| 340 | + display: inline-block; |
| 341 | + width: 16px; |
| 342 | + height: 16px; |
| 343 | + margin-right: 4px; |
| 344 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/csharp-light.svg"); |
| 345 | + background-repeat: no-repeat; |
| 346 | + background-position: center; |
| 347 | + background-size: contain; |
| 348 | + vertical-align: middle; |
| 349 | +} |
| 350 | + |
| 351 | +/* PHP */ |
| 352 | +div:has(a[href*="/sdks/generators/php/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 353 | + content: ""; |
| 354 | + display: inline-block; |
| 355 | + width: 16px; |
| 356 | + height: 16px; |
| 357 | + margin-right: 4px; |
| 358 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/php-light.svg"); |
| 359 | + background-repeat: no-repeat; |
| 360 | + background-position: center; |
| 361 | + background-size: contain; |
| 362 | + vertical-align: middle; |
| 363 | +} |
| 364 | + |
| 365 | +/* Ruby */ |
| 366 | +div:has(a[href*="/sdks/generators/ruby/quickstart"]) > button.fern-sidebar-link span.mr-auto::before { |
| 367 | + content: ""; |
| 368 | + display: inline-block; |
| 369 | + width: 16px; |
| 370 | + height: 16px; |
| 371 | + margin-right: 4px; |
| 372 | + background-image: url("https://fern-docs.s3.us-east-2.amazonaws.com/SDK+Icons/ruby-light.svg"); |
| 373 | + background-repeat: no-repeat; |
| 374 | + background-position: center; |
| 375 | + background-size: contain; |
| 376 | + vertical-align: middle; |
| 377 | +} |
| 378 | + |
287 | 379 | .sdks-homepage { |
288 | 380 | position: relative; |
289 | 381 |
|
|
0 commit comments