Skip to content

Commit a3d593c

Browse files
fix: improve footer icon alignment and visibility
1 parent 65ff8c3 commit a3d593c

1 file changed

Lines changed: 24 additions & 16 deletions

File tree

src/theme/Footer/Layout/enhanced-footer.css

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -776,9 +776,10 @@ html[data-theme="light"] .enhanced-footer.light-theme {
776776
}
777777

778778
.footer-column {
779+
height: 100%;
779780
display: flex;
780781
flex-direction: column;
781-
padding: 24px;
782+
padding: 18px;
782783
border-radius: 16px;
783784
background: #ffffff;
784785
border: 1px solid rgba(17, 17, 17, 0.08);
@@ -812,15 +813,15 @@ html[data-theme="light"] .enhanced-footer.light-theme {
812813
border-color: rgba(17, 17, 17, 0.12);
813814
transform: translateY(-4px);
814815
box-shadow:
815-
0 12px 40px rgba(0, 0, 0, 0.08),
816+
0 12px 40px rgb(15 1 1 / 8%),
816817
0 6px 20px rgba(0, 0, 0, 0.04);
817818
}
818819

819820
.footer-column-title {
820821
display: flex;
821822
align-items: center;
822-
gap: 8px;
823-
font-size: 18px;
823+
gap: 12px;
824+
font-size: 20px;
824825
/* slightly bigger to stand out */
825826
font-weight: 700;
826827
color: #111111;
@@ -830,7 +831,7 @@ html[data-theme="light"] .enhanced-footer.light-theme {
830831
}
831832

832833
.footer-icon {
833-
display: inline-flex;
834+
display: flex;
834835
align-items: center;
835836
justify-content: center;
836837
flex-shrink: 0;
@@ -848,23 +849,26 @@ html[data-theme="light"] .enhanced-footer.light-theme {
848849
}
849850

850851
.column-icon {
851-
width: 20px;
852-
height: 20px;
852+
width: 30px;
853+
height: 30px;
853854
border-radius: 6px;
854855
color: #111111;
855856
align-items: center;
856857
justify-content: center;
857858
flex-shrink: 0;
858859
color: #111111;
860+
display: flex;
861+
align-items: center;
862+
justify-content: center;
859863
}
860864

861865
.column-icon .footer-icon {
862-
width: 12px;
863-
height: 12px;
866+
width: 18px;
867+
height: 18px;
864868
}
865869

866870
.resources-icon {
867-
background: #111111;
871+
background: linear-gradient(135deg, #38e1da 0%, #139caa 100%);
868872
}
869873

870874
.company-icon {
@@ -1674,26 +1678,30 @@ html[data-theme="light"] .enhanced-footer.light-theme {
16741678

16751679
.footer-column {
16761680
background: rgba(255, 255, 255, 0.04);
1677-
border: 1px solid rgba(255, 255, 255, 0.1);
1681+
border: 1px solid rgb(16 7 7 / 15%);
16781682
border-radius: 16px;
16791683
padding: 24px;
16801684
backdrop-filter: blur(20px);
16811685
transition: all 0.3s ease;
1686+
box-shadow: 0 8px 25px rgb(0 0 0 / 17%);
16821687
overflow: visible;
16831688
}
16841689

16851690
.footer-column:hover {
1686-
background: rgba(255, 255, 255, 0.08);
1691+
background: rgb(95 88 88 / 19%);
16871692
border-color: rgba(255, 255, 255, 0.15);
16881693
transform: translateY(-2px);
1689-
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
1694+
box-shadow: 0 8px 25px rgb(0 0 0 / 46%);
16901695
}
16911696

16921697
.footer-column-title {
1698+
display: flex;
1699+
align-items: center;
1700+
justify-content: left;
16931701
text-align: center;
16941702
margin-bottom: 20px;
16951703
padding-bottom: 12px;
1696-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
1704+
border-bottom: 1px solid rgb(21 2 2 / 10%);
16971705
}
16981706

16991707
.footer-links {
@@ -1704,7 +1712,7 @@ html[data-theme="light"] .enhanced-footer.light-theme {
17041712
width: 100%;
17051713
justify-content: flex-start;
17061714
background: rgba(255, 255, 255, 0.02);
1707-
border: 1px solid rgba(255, 255, 255, 0.05);
1715+
border: 1px solid rgb(69 62 62 / 22%);
17081716
border-radius: 10px;
17091717
margin: 0;
17101718
white-space: nowrap;
@@ -1713,7 +1721,7 @@ html[data-theme="light"] .enhanced-footer.light-theme {
17131721
}
17141722

17151723
.footer-link:hover {
1716-
background: rgba(255, 255, 255, 0.08);
1724+
background: rgb(84 75 75 / 69%);
17171725
border-color: rgba(255, 255, 255, 0.15);
17181726
transform: translateX(4px);
17191727
}

0 commit comments

Comments
 (0)