Complete BS-015 footer visual reconciliation
This commit is contained in:
@@ -1,56 +1,100 @@
|
||||
.footer {
|
||||
--footer-line: color-mix(in srgb, var(--bs-steel-blue) 70%, var(--site-text));
|
||||
margin: 0 24px 24px;
|
||||
padding-block: 28px 16px;
|
||||
border: 1px solid var(--footer-line);
|
||||
border-radius: 18px;
|
||||
position: relative;
|
||||
padding-block: 30px 18px;
|
||||
color: var(--site-text);
|
||||
background: linear-gradient(115deg, var(--site-surface), color-mix(in srgb, var(--site-bg) 65%, var(--site-surface)));
|
||||
background: transparent;
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 35px;
|
||||
right: 35px;
|
||||
height: 1px;
|
||||
background: var(--site-line);
|
||||
}
|
||||
}
|
||||
.footer :global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
|
||||
.mainRow { display: grid; grid-template-columns: 39% 1fr; padding-bottom: 24px; }
|
||||
.identity { padding-right: 32px; }
|
||||
|
||||
.footer :global(.container) {
|
||||
width: calc(100% - 112px);
|
||||
max-width: 1280px;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.mainRow {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: start;
|
||||
gap: 32px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
.name {
|
||||
margin: -3px 0 8px; font-size: 44px; font-weight: 700; line-height: 1.12; letter-spacing: -.045em;
|
||||
margin: 0 0 5px;
|
||||
font-size: 25px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -.045em;
|
||||
span { color: var(--site-link); }
|
||||
}
|
||||
.description { max-width: 33ch; margin: 0; font-size: 18px; line-height: 1.45; }
|
||||
.navigation { min-width: 0; border-left: 1px solid var(--footer-line); padding-left: 48px; }
|
||||
.navigationHeading {
|
||||
display: flex; align-items: center; gap: 20px; margin: 4px 0 10px;
|
||||
color: var(--site-link); font-size: 14px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase;
|
||||
&::after { content: ''; flex: 1; height: 1px; background: var(--footer-line); }
|
||||
|
||||
.description {
|
||||
max-width: 34ch;
|
||||
margin: 0;
|
||||
color: var(--site-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.links { display: flex; justify-content: space-between; gap: 8px 20px; padding-right: 14%; }
|
||||
|
||||
.navigation { min-width: 0; }
|
||||
.navigationHeading {
|
||||
margin: 3px 0 6px;
|
||||
color: var(--site-muted);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .14em;
|
||||
line-height: 1.5;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.links { display: flex; align-items: center; gap: 8px 27px; }
|
||||
.links a, .privacy {
|
||||
display: inline-flex; align-items: center; min-height: 44px; color: var(--site-text); text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 44px;
|
||||
color: var(--site-text);
|
||||
text-decoration: none;
|
||||
&:hover, &:focus-visible { color: var(--site-link); text-decoration: underline; }
|
||||
}
|
||||
.links a { font-size: 18px; line-height: 1.5; }
|
||||
.links a { font-size: 14px; line-height: 1.5; }
|
||||
|
||||
.legalRow {
|
||||
display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
|
||||
border-top: 1px solid var(--footer-line); padding-top: 10px; font-size: 14px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px 24px;
|
||||
border-top: 1px solid var(--site-line);
|
||||
padding-top: 8px;
|
||||
color: var(--site-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.copyright { margin: 0; }
|
||||
@media (max-width: 1199.98px) {
|
||||
.privacy { color: var(--site-muted); }
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.footer :global(.container) { width: calc(100% - 64px); }
|
||||
.name { font-size: 34px; }
|
||||
.description { font-size: 14px; }
|
||||
.navigation { padding-left: 32px; }
|
||||
.navigationHeading { font-size: 12px; gap: 16px; }
|
||||
.links { padding-right: 0; gap: 12px; }
|
||||
.links a { font-size: 14px; }
|
||||
.legalRow { font-size: 13px; }
|
||||
.mainRow { gap: 24px; }
|
||||
.name { font-size: 22px; }
|
||||
.description { font-size: 13px; }
|
||||
.links { gap: 8px 16px; }
|
||||
.links a { font-size: 13px; }
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.footer { margin: 0 16px 16px; padding-block: 24px 12px; border-radius: 16px; }
|
||||
.footer :global(.container) { width: calc(100% - 48px); }
|
||||
.footer { padding-block: 27px 12px; &::before { left: 20px; right: 20px; } }
|
||||
.footer :global(.container) { width: calc(100% - 40px); }
|
||||
.mainRow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
|
||||
.identity { padding-right: 0; }
|
||||
.name { margin-top: 0; font-size: 30px; }
|
||||
.description { max-width: 36ch; }
|
||||
.navigation { border-left: 0; padding: 0; }
|
||||
.navigationHeading { margin-top: 0; margin-bottom: 12px; font-size: 13px; gap: 16px; }
|
||||
.name { font-size: 22px; }
|
||||
.navigationHeading { margin-bottom: 3px; }
|
||||
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
|
||||
.legalRow { flex-wrap: wrap; gap: 0 12px; font-size: 12px; }
|
||||
.links a { font-size: 14px; }
|
||||
.legalRow { flex-wrap: wrap; gap: 0 12px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user