MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 771: | Line 771: | ||
max-width: none; | max-width: none; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0 !important; | ||
background: #004080; | |||
} | } | ||
#footer.mw-footer{ | #footer.mw-footer{ | ||
width: 100%; | width: 100%; | ||
max-width: none !important; | |||
margin: 0; | margin: 0; | ||
padding: 18px 16px; | padding: 18px 16px; | ||
background: | background: transparent; | ||
color: #fff; | color: #fff; | ||
display: flex; | |||
flex-wrap: wrap; | |||
align-items: flex-start; | |||
justify-content: space-between; | |||
gap: 12px 24px; | |||
} | } | ||
| Line 799: | Line 806: | ||
} | } | ||
#footer | #footer-info, | ||
#footer-places, | |||
#footer-icons{ | |||
list-style: none; | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
#footer | #footer-info{ | ||
flex: 1 1 420px; | |||
} | |||
#footer-info li{ | |||
margin: 0 0 6px 0; | |||
} | |||
#footer-info li:last-child{ | |||
margin-bottom: 0; | |||
} | |||
#footer-places{ | |||
flex: 1 1 320px; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px 14px; | |||
} | |||
#footer-places li{ | |||
margin: 0; | |||
} | |||
#footer-icons{ | |||
flex: 0 0 auto; | |||
display: flex; | |||
gap: 10px; | |||
align-items: center; | |||
margin-left: auto; | |||
} | } | ||
#footer-icons a{ | #footer-icons a.cdx-button{ | ||
background: | background: rgba(255,255,255,0.95) !important; | ||
border: 1px solid rgba( | border: 1px solid rgba(0,0,0,0.10); | ||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
| Line 816: | Line 853: | ||
#footer-icons img, | #footer-icons img, | ||
#footer-icons picture{ | #footer-icons picture{ | ||
filter: | filter: none; | ||
} | } | ||
@media (max-width: 720px){ | |||
#footer.mw-footer{ | |||
flex-direction: column; | |||
align-items: flex-start; | |||
} | |||
#footer-icons{ | |||
margin-left: 0; | |||
} | |||
} | |||
/* Dark mode */ | |||
@media screen{ | @media screen{ | ||
html.skin-theme-clientpref-night | html.skin-theme-clientpref-night .mw-footer-container{ | ||
background: #002a55; | background: #002a55; | ||
} | } | ||
html.skin-theme-clientpref-night #footer-icons a.cdx-button{ | |||
html.skin-theme-clientpref-night #footer-icons a{ | background: rgba(255,255,255,0.92) !important; | ||
} | } | ||
} | } | ||
@media screen and (prefers-color-scheme: dark){ | @media screen and (prefers-color-scheme: dark){ | ||
html.skin-theme-clientpref-os | html.skin-theme-clientpref-os .mw-footer-container{ | ||
background: #002a55; | background: #002a55; | ||
} | } | ||
html.skin-theme-clientpref-os #footer-icons a.cdx-button{ | |||
html.skin-theme-clientpref-os #footer-icons a{ | background: rgba(255,255,255,0.92) !important; | ||
} | } | ||
} | } | ||