Skip to content

Commit 6c5e86d

Browse files
authored
Merge pull request #11 from bci-oss/esmf-layout-landing-page
Breadcrumbs, toolbar and footer changes, and css files improvements
2 parents 8af3124 + e44b6cc commit 6c5e86d

15 files changed

+863
-758
lines changed

src/css/footer.css

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ footer.footer {
55
line-height: var(--footer-line-height);
66
padding: 1.5rem;
77
position: relative;
8-
/* float: left; */
98
width: 100%;
109
}
1110

@@ -21,3 +20,60 @@ footer.footer {
2120
.footer a {
2221
color: var(--footer-link-font-color);
2322
}
23+
24+
/* New sections layout of landing page */
25+
26+
.sections-footer {
27+
background-color: #51555a;
28+
color: white;
29+
font-size: calc(15 / var(--rem-base) * 1rem);
30+
line-height: var(--footer-line-height);
31+
padding: 1.5rem;
32+
position: relative;
33+
width: auto;
34+
}
35+
36+
.sections-footer-container {
37+
max-width: 72rem;
38+
margin: 0 auto;
39+
display: flex;
40+
justify-content: space-between;
41+
}
42+
43+
.sections-footer p {
44+
margin: 0.5rem 1rem;
45+
font-size: 1rem;
46+
}
47+
48+
.sections-footer a {
49+
color: var(--footer-link-font-color);
50+
}
51+
52+
.sections-footer-container-right {
53+
margin: 0.25rem 1.25rem;
54+
}
55+
56+
.sections-footer-container-right > a {
57+
color: white;
58+
margin: 0.5rem 0;
59+
font-size: 1rem;
60+
}
61+
62+
@media screen and (max-width: 1024px) {
63+
.sections-footer-container {
64+
max-width: 52rem;
65+
}
66+
}
67+
68+
@media screen and (max-width: 768px) {
69+
.sections-footer {
70+
line-height: unset;
71+
padding: 1rem;
72+
}
73+
74+
.sections-footer-container {
75+
flex-direction: column-reverse;
76+
gap: 0.25rem;
77+
align-items: center;
78+
}
79+
}

0 commit comments

Comments
 (0)