Skip to content

Commit 40211db

Browse files
Kapil GowruKapil Gowru
authored andcommitted
fix: removed css styling from styles.css
1 parent 006452f commit 40211db

File tree

4 files changed

+441
-15
lines changed

4 files changed

+441
-15
lines changed

fern/assets/styles.css

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,147 @@
477477
gap: 1.5rem;
478478
}
479479

480+
.footer {
481+
padding: 3rem 2rem;
482+
}
483+
484+
.footer-top {
485+
display: flex;
486+
justify-content: space-between;
487+
gap: 2rem;
488+
margin-bottom: 3rem;
489+
position: relative;
490+
}
491+
492+
.footer-logo {
493+
display: flex;
494+
align-items: center;
495+
gap: 0.25rem;
496+
497+
/* svg {
498+
display: none !important;
499+
} */
500+
501+
svg {
502+
transition: filter 150ms ease;
503+
}
504+
505+
&:hover {
506+
svg {
507+
filter: saturate(1) opacity(1);
508+
}
509+
}
510+
}
511+
512+
.footer-logo-img {
513+
height: 1rem;
514+
margin: 0;
515+
filter: saturate(0) opacity(0.7);
516+
}
517+
518+
.footer-logo-frame {
519+
position: absolute;
520+
top: 50%;
521+
left: 0;
522+
transform: translate(-32px, calc(-50% - 4px));
523+
filter: saturate(0) opacity(0.7);
524+
}
525+
526+
.footer-status {
527+
display: flex;
528+
flex-direction: row;
529+
gap: 1rem;
530+
}
531+
532+
.status-text {
533+
font-size: 0.875rem;
534+
color: var(--grayscale-10);
535+
font-weight: 400;
536+
}
537+
538+
.soc2-badge {
539+
display: flex;
540+
align-items: center;
541+
gap: 0.5rem;
542+
border-radius: 9999px;
543+
padding: 0.25rem 0.75rem 0.25rem 0.25rem;
544+
align-self: flex-start;
545+
text-decoration: none;
546+
transition: background-color 150ms ease, color 150ms ease;
547+
548+
&:hover {
549+
background-color: var(--grayscale-a4);
550+
551+
.status-text {
552+
color: var(--grayscale-12);
553+
}
554+
}
555+
}
556+
557+
.soc2-badge-img {
558+
width: 1.5rem;
559+
height: 1.5rem;
560+
background-color: #62636C;
561+
border-radius: 1000px;
562+
}
563+
564+
.footer-links {
565+
display: flex;
566+
gap: 2rem;
567+
padding-top: 2rem;
568+
align-items: flex-end;
569+
justify-content: space-between;
570+
}
571+
572+
.footer-columns {
573+
display: flex;
574+
gap: 2rem;
575+
}
576+
577+
.footer-column {
578+
display: flex;
579+
flex-direction: column;
580+
gap: 1rem;
581+
width: 170px;
582+
}
583+
584+
.footer-column-title {
585+
font-size: 0.875rem;
586+
font-weight: 400;
587+
color: var(--grayscale-9);
588+
letter-spacing: -0.025em;
589+
}
590+
591+
.footer-column-links {
592+
display: flex;
593+
flex-direction: column;
594+
gap: 1rem;
595+
}
596+
597+
.footer-link {
598+
font-weight: 400;
599+
font-size: 0.875rem;
600+
color: var(--grayscale-11);
601+
text-decoration: none;
602+
transition: color 0.15s ease-in-out;
603+
604+
svg {
605+
display: none !important;
606+
}
607+
}
608+
609+
.footer-link:hover {
610+
color: var(--grayscale-12);
611+
}
612+
613+
.footer-bottom-text {
614+
font-weight: 400;
615+
font-size: 0.875rem;
616+
color: var(--grayscale-10);
617+
text-decoration: none;
618+
transition: color 0.15s ease-in-out;
619+
}
620+
480621
.a-btn {
481622
text-decoration: none !important;
482623
font-weight: 400 !important;
@@ -622,6 +763,97 @@
622763
flex-direction: column;
623764
gap: 1rem;
624765
}
766+
767+
.footer {
768+
padding: 2rem 1.5rem;
769+
}
770+
771+
.footer-top {
772+
flex-direction: column;
773+
gap: 1.5rem;
774+
margin-bottom: 2rem;
775+
}
776+
777+
.footer-logo-frame {
778+
transform: translate(-32px, calc(-50% - 68px));
779+
}
780+
781+
.footer-status {
782+
flex-direction: column;
783+
gap: 0.75rem;
784+
padding-top: 2rem;
785+
}
786+
787+
.footer-links {
788+
display: grid;
789+
grid-template-columns: 1fr;
790+
gap: 1.5rem;
791+
align-items: flex-start;
792+
padding-top: 1rem;
793+
}
794+
795+
.footer-columns {
796+
display: grid;
797+
grid-template-columns: 1fr;
798+
gap: 2rem;
799+
width: 100%;
800+
order: 1;
801+
}
802+
803+
.footer-column {
804+
width: 100%;
805+
}
806+
807+
.footer-bottom-text {
808+
order: 2;
809+
}
810+
}
811+
812+
/* Tablet breakpoint - Better use of space */
813+
@media (max-width: 720px) and (min-width: 481px) {
814+
.community-grid {
815+
grid-template-columns: repeat(2, 1fr);
816+
}
817+
818+
.hero-title {
819+
font-size: 2rem;
820+
}
821+
822+
.feature-grid {
823+
gap: 1px;
824+
}
825+
826+
.footer-columns {
827+
flex-direction: row;
828+
flex-wrap: wrap;
829+
justify-content: center;
830+
}
831+
832+
.footer-column {
833+
width: calc(50% - 1rem);
834+
min-width: 200px;
835+
}
836+
}
837+
838+
/* Very small screens */
839+
@media (max-width: 480px) {
840+
.hero-title {
841+
font-size: 1.75rem;
842+
}
843+
844+
.card-title {
845+
font-size: 1.25rem;
846+
}
847+
848+
.language-icon {
849+
width: 28px;
850+
height: 28px;
851+
}
852+
853+
.language-icon-img {
854+
width: 16px;
855+
height: 16px;
856+
}
625857
}
626858
}
627859

fern/footer-dist/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
<body>
77
<header id="fern-header"></header>
88
<footer id="fern-footer" style="margin-top:100px"></footer>
9-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
109
</body>
1110
</html>

0 commit comments

Comments
 (0)