mediawiki-skins-Citizen/resources/skins.citizen.styles/components/Footer.less

130 lines
2.1 KiB
Plaintext
Raw Normal View History

.citizen-footer {
padding: var( --space-xxl ) var( --padding-page );
margin-top: var( --space-xxl );
// Reserve space for header
margin-bottom: var( --header-size );
clear: both;
font-size: var( --font-size-small );
color: var( --color-base--subtle );
background-color: var( --color-surface-2 );
direction: ltr;
&__container {
max-width: var( --width-layout--extended );
margin-right: auto;
margin-left: auto;
2020-06-07 06:07:30 +00:00
}
&__content,
&__bottom {
2020-06-07 06:07:30 +00:00
display: flex;
flex-wrap: wrap;
gap: var( --space-md );
justify-content: space-between;
padding: var( --space-md ) 0;
2020-06-07 06:07:30 +00:00
}
&__bottom {
align-items: center;
margin-right: auto;
margin-left: auto;
border-top: 1px solid var( --border-color-base );
2020-06-07 06:07:30 +00:00
}
&__siteinfo {
2020-06-07 06:07:30 +00:00
display: flex;
flex-direction: column;
gap: var( --space-xs );
max-width: 90ch;
p {
margin: 0;
line-height: var( --line-height );
}
2020-06-07 06:07:30 +00:00
}
a {
font-weight: var( --font-weight-medium );
color: var( --color-base--emphasized );
}
2020-06-07 06:07:30 +00:00
ul {
display: flex;
flex-wrap: wrap;
margin: 0;
}
li {
list-style: none;
2020-06-07 06:07:30 +00:00
}
}
2020-06-07 06:07:30 +00:00
#footer {
2020-06-07 06:07:30 +00:00
&-sitetitle {
font-size: 1.25rem;
color: var( --color-base--emphasized );
img.mw-logo-wordmark {
max-height: 54px;
filter: var( --filter-invert-fixed );
}
2020-06-07 06:07:30 +00:00
}
&-places {
ul {
flex-direction: column;
}
2020-06-07 06:07:30 +00:00
a {
2020-06-07 06:07:30 +00:00
display: block;
padding: var( --space-xs ) var( --space-md );
border-radius: var( --border-radius--small );
2020-06-07 06:07:30 +00:00
&:hover {
background-color: var( --background-color-quiet--hover );
}
2020-06-07 06:07:30 +00:00
&:active {
background-color: var( --background-color-quiet--active );
}
&:hover,
&:focus {
text-decoration: none;
}
2020-06-07 06:07:30 +00:00
}
}
&-tagline {
padding: var( --space-xs ) 0;
2020-06-07 06:07:30 +00:00
}
&-icons {
display: flex;
ul {
gap: var( --space-xs );
}
2020-06-07 06:07:30 +00:00
li {
display: flex; // Horizontally aligned with there are two icons in the same li
gap: var( --space-xs ); // Sometimes there can be multiple icon under the same li
}
a {
display: flex;
align-items: center;
}
2020-06-07 06:07:30 +00:00
}
2020-06-08 22:09:32 +00:00
}
@media ( min-width: @min-width-breakpoint-desktop ) {
.citizen-footer {
margin-bottom: 0;
}
#footer-sitetitle {
font-size: 2rem;
}
}