MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
} | } | ||
ul.mainpage-sidebar {} | ul.mainpage-sidebar { | ||
list-style-type: none; | |||
} | |||
li > ul.mainpage-sidebar { | li > ul.mainpage-sidebar { | ||
} | } | ||
li | li:nth-child(odd) > ul.mainpage-sidebar { | ||
background: lightpink; | background: lightpink; |
Revision as of 12:38, 10 April 2025
/* CSS placed here will be applied to all skins */ div.mainpage-top-wrapper { width: 100%; display: inline-block; margin: 0px; padding: 0px; } div.mainpage-series-wrapper { width: 70%; float:left; margin: 0px; } div.mainpage-sidebar-wrapper { width: 30%; margin-left: 70%; } div.mainpage-series { border: solid black 1px; text-align: center; width: 100%; margin-bottom: 0.5em; display: inline-block; } div.mainpage-sidebar { border: solid black 1px; text-align: left; display: inline-block; width: calc(100% - 0.5em); margin-left: 0.5em; margin-bottom: 0.5em; } div.mainpage-series-title { font-size: 1.5em; padding: 8px; } ul.mainpage-series { text-align: center; } ul.mainpage-series > li { display: inline; } ul.mainpage-sidebar { list-style-type: none; } li > ul.mainpage-sidebar { } li:nth-child(odd) > ul.mainpage-sidebar { background: lightpink; } a.cat-series { color:white; } .cat-ll { background: #ff1493; font-weight: bold; color: white; } .cat-llss { color: white; background: #00bfff; font-weight: bold; } .cat-lln { color: white; background: #fcc800; font-weight: bold; } .cat-llst { color: white; background: #9932cc; font-weight: bold; } .cat-llll { color: white; background: #ffc0cb; font-weight: bold; } .cat-llsim { color: white; background: #d70035; font-weight: bold; } .cat-gny { color: white; background: #008b8b; font-weight: bold; } .cat-llbb { color: white; background: lightblue; font-weight: bold; }