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

161 lines
2.5 KiB
Plaintext
Raw Normal View History

2020-06-07 06:07:30 +00:00
.last-modified-bar {
&-content {
display: flex;
align-items: center;
padding: 12px var( --padding-page );
margin: 0 auto;
2020-06-07 06:07:30 +00:00
}
&-icon {
width: 20px;
height: 20px;
margin-right: @icon-padding;
2020-06-07 06:07:30 +00:00
background-position: center;
background-repeat: no-repeat;
2021-01-14 17:20:15 +00:00
opacity: var( --opacity-icon-base );
2020-06-07 06:07:30 +00:00
}
&-text {
a {
margin-right: 5px;
}
}
}
.citizen-footer {
padding-top: var( --space-xl );
padding-bottom: var( --space-xl );
// Reserve space for header
margin-bottom: var( --header-size );
background-color: var( --color-surface-2 );
clear: both;
color: var( --color-base--subtle );
direction: ltr;
font-size: 0.875rem;
&__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;
padding: var( --space-md ) 0;
gap: var( --space-md );
2020-06-07 06:07:30 +00:00
}
&__bottom {
align-items: center;
justify-content: space-between;
border-top: 1px solid var( --border-color-base );
margin-right: auto;
margin-left: auto;
2020-06-07 06:07:30 +00:00
}
&__siteinfo {
2020-06-07 06:07:30 +00:00
display: flex;
max-width: 90ch;
2020-06-07 06:07:30 +00:00
flex-direction: column;
gap: var( --space-sm );
p {
margin: 0;
line-height: var( --line-height );
}
2020-06-07 06:07:30 +00:00
}
a {
color: var( --color-base--emphasized );
font-weight: 500;
}
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 {
color: var( --color-base--emphasized );
font-size: 2.5rem;
img.mw-logo-wordmark {
width: auto;
height: 54px;
filter: invert( 1 ) hue-rotate( 180deg );
}
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-sm ) 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 );
}
2020-06-07 06:07:30 +00:00
}
}
&-tagline {
padding: @margin-side / 2 0;
}
&-info {
font-size: 0.8125rem;
opacity: 0.5;
ul {
flex-direction: column;
gap: var( --space-xs );
}
}
2020-06-07 06:07:30 +00:00
&-icons {
display: flex;
ul {
gap: var( --space-sm );
}
2020-06-07 06:07:30 +00:00
li {
display: flex; // Horizontally aligned with there are two icons in 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
}
.skin-citizen-dark {
.last-modified-bar-icon {
filter: invert( 1 );
}
}
// NOTE: Temporary disabling them, planning to move them into body footer
.last-modified-bar,
#footer-info-copyright {
display: none;
}