Skip to content

Commit c5f1afe

Browse files
Kapil GowruKapil Gowru
authored andcommitted
feat: added iconography for all specs
1 parent c0567b0 commit c5f1afe

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

fern/assets/styles.css

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,8 @@ a[href*="changelog"] svg {
808808
gap: 0.5rem;
809809
padding: 0.5rem;
810810
border-radius: 0.5rem;
811-
811+
text-decoration: none !important;
812+
812813
img {
813814
width: 2rem;
814815
height: 2rem;
@@ -839,7 +840,7 @@ a[href*="changelog"] svg {
839840
padding: 3rem 2rem;
840841
display: flex;
841842
flex-direction: column;
842-
gap: 1rem;
843+
gap: 2rem;
843844
}
844845

845846
.help-buttons {
@@ -969,6 +970,27 @@ a[href*="changelog"] svg {
969970

970971
.community-section {
971972
padding: 2rem 1rem;
973+
974+
&.specs {
975+
flex-direction: column;
976+
align-items: flex-start;
977+
}
978+
}
979+
980+
.community-title-container {
981+
&.specs {
982+
margin-bottom: 2rem;
983+
}
984+
}
985+
986+
.specs-grid {
987+
flex-direction: column;
988+
align-items: flex-start;
989+
}
990+
991+
.specs-card {
992+
padding-left: 0;
993+
padding-right: 0;
972994
}
973995

974996
.community-grid {

fern/products/home/pages/welcome.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ import { FernFooter } from "../../../components/FernFooter";
226226
<img className="m-0 dark:hidden" src="./images/openapi-light.svg" alt="Github Preview" noZoom/>
227227
<img className="m-0 hidden dark:block" src="./images/openapi-dark.svg" alt="Github Preview" noZoom />
228228

229-
<h3 className="community-card-title">OpenAPI</h3>
229+
<p className="community-card-title">OpenAPI</p>
230230
</a>
231231
<a className="specs-card" href="/api-definitions/asyncapi/overview">
232232
<img className="m-0 dark:hidden" src="./images/asyncapi-light.svg" alt="Github Preview" noZoom/>

0 commit comments

Comments
 (0)