Skip to content

Commit 25ebf07

Browse files
committed
fix(ui): Improve footer spacing and resize logo
- Reduce footer logo from 240x160px to 120x80px for better proportions - Add comprehensive footer CSS with improved spacing and typography - Implement responsive design with mobile-specific adjustments - Add visual separation for copyright section with subtle border - Enhance readability with proper font sizes and line heights
1 parent c57e6d3 commit 25ebf07

2 files changed

Lines changed: 56 additions & 2 deletions

File tree

docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ const config: Config = {
9999
alt: "Ideal Postcodes",
100100
src: "img/iddqd-logo-white.svg",
101101
href: "https://ideal-postcodes.co.uk",
102-
width: 240,
103-
height: 160,
102+
width: 120,
103+
height: 80,
104104
},
105105

106106
links: [

src/css/custom.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,60 @@
6161
--z-index-tooltip: 1070;
6262
}
6363

64+
/* Footer improvements */
65+
.footer {
66+
padding: 3rem 0 2rem 0;
67+
}
68+
69+
.footer__logo {
70+
margin-bottom: 2rem;
71+
}
72+
73+
.footer__links {
74+
margin-bottom: 2rem;
75+
}
76+
77+
.footer__col {
78+
margin-bottom: 1.5rem;
79+
}
80+
81+
.footer__title {
82+
font-size: 1rem;
83+
font-weight: 600;
84+
margin-bottom: 1rem;
85+
}
86+
87+
.footer__item {
88+
margin: 0.5rem 0;
89+
}
90+
91+
.footer__link-item {
92+
font-size: 0.9rem;
93+
line-height: 1.6;
94+
}
95+
96+
.footer__copyright {
97+
margin-top: 2rem;
98+
padding-top: 2rem;
99+
border-top: 1px solid rgba(255, 255, 255, 0.1);
100+
font-size: 0.875rem;
101+
}
102+
103+
/* Responsive footer adjustments */
104+
@media (max-width: 768px) {
105+
.footer {
106+
padding: 2rem 0 1.5rem 0;
107+
}
108+
109+
.footer__logo {
110+
margin-bottom: 1.5rem;
111+
}
112+
113+
.footer__col {
114+
margin-bottom: 2rem;
115+
}
116+
}
117+
64118
/* Dark mode adjustments */
65119
[data-theme="dark"] {
66120
--ifm-color-primary: #4c8ea0;

0 commit comments

Comments
 (0)