MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 764: | Line 764: | ||
padding: 0.5em; | padding: 0.5em; | ||
width: 24em; | width: 24em; | ||
} | |||
/* */ | |||
.mw-footer-container{ | |||
width: 100%; | |||
max-width: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#footer.mw-footer{ | |||
width: 100%; | |||
margin: 0; | |||
padding: 18px 16px; | |||
background: #004080; | |||
color: #fff; | |||
border-top: 1px solid rgba(255,255,255,0.18); | |||
} | |||
#footer.mw-footer a{ | |||
color: #fff; | |||
text-decoration: underline; | |||
text-underline-offset: 2px; | |||
} | |||
#footer.mw-footer a:visited{ | |||
color: rgba(255,255,255,0.86); | |||
} | |||
#footer.mw-footer a:hover, | |||
#footer.mw-footer a:focus{ | |||
color: #fff; | |||
text-decoration-thickness: 2px; | |||
} | |||
#footer.mw-footer ul{ | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#footer.mw-footer li{ | |||
color: #fff; | |||
} | |||
#footer-icons a{ | |||
background: transparent !important; | |||
border: 1px solid rgba(255,255,255,0.22); | |||
border-radius: 8px; | |||
} | |||
#footer-icons img, | |||
#footer-icons picture{ | |||
filter: brightness(0) invert(1); | |||
} | |||
@media screen{ | |||
html.skin-theme-clientpref-night #footer.mw-footer{ | |||
background: #002a55; | |||
border-top-color: rgba(255,255,255,0.14); | |||
} | |||
html.skin-theme-clientpref-night #footer-icons a{ | |||
border-color: rgba(255,255,255,0.18); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark){ | |||
html.skin-theme-clientpref-os #footer.mw-footer{ | |||
background: #002a55; | |||
border-top-color: rgba(255,255,255,0.14); | |||
} | |||
html.skin-theme-clientpref-os #footer-icons a{ | |||
border-color: rgba(255,255,255,0.18); | |||
} | |||
} | } | ||