Difference between revisions of "MediaWiki:Common.css"
From Book Trigger Warnings
Line 39: | Line 39: | ||
} | } | ||
*/ | */ | ||
+ | |||
+ | h1, h2, h3, h4 { | ||
+ | color: #6699ff; | ||
+ | } | ||
#mw-site-navigation .sidebar-chunk { | #mw-site-navigation .sidebar-chunk { | ||
Line 54: | Line 58: | ||
#mw-site-navigation .sidebar-inner { | #mw-site-navigation .sidebar-inner { | ||
− | background: # | + | background: #000; |
border: 0; | border: 0; | ||
} | } | ||
Line 73: | Line 77: | ||
#mw-related-navigation .sidebar-chunk { | #mw-related-navigation .sidebar-chunk { | ||
− | background: # | + | background: #000; |
border: outset #222; | border: outset #222; | ||
box-shadow: 2px 2px 1px rgba(0,0,0,0.5); | box-shadow: 2px 2px 1px rgba(0,0,0,0.5); |
Revision as of 23:20, 23 June 2020
/* CSS placed here will be applied to all skins */ /* background color of the biggest part of the main "frame" */ #mw-content-container { background: white; } /* text color of items in navbars (like Main page, Recent changes, ...) */ .mw-portlet-body ul li a { color: gray; } #content h1 { border-bottom: solid 4px #5e17eb; } .color-left { background-color: black; } .color-middle { background-color: black; } .color-right { background-color: black; } /* .sidebar-chunk { background-clip: padding-box; } */ /* for the side navbars (like Navigation, Wiki tools, Page tools, ...) .sidebar-inner { background-color: black; color: white; } */ h1, h2, h3, h4 { color: #6699ff; } #mw-site-navigation .sidebar-chunk { border: outset #222; background: #333; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); border-radius: 3px; } @media screen and (max-width: 851px) { #mw-site-navigation .sidebar-chunk { padding: 0 15px 5px 20px; } } #mw-site-navigation .sidebar-inner { background: #000; border: 0; } @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-site-navigation .sidebar-inner { background: #222 !important; border: solid #111 !important; } } @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-site-navigation .sidebar-inner { background: #222 !important; border: solid #111 !important; } } #mw-related-navigation .sidebar-chunk { background: #000; border: outset #222; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); border-radius: 3px; } @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-related-navigation .sidebar-chunk { background: #333; border: outset #222; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); border-radius: 3px; padding: 0 15px 5px 20px; } } @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-related-navigation .sidebar-inner { background: #222 !important; border: solid #111; } } #mw-page-header-links li.selected { border-bottom-color: #5e17eb; } .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }