MediaWiki:Common.css: Difference between revisions
From Ephinea PSO Wiki
m (testing shit) |
m (borders lmao) |
||
Line 66: | Line 66: | ||
flex: 1; | flex: 1; | ||
background-color: rgba(255, 158, 77, 0.88); | background-color: rgba(255, 158, 77, 0.88); | ||
text-align: center; | text-align: center; | ||
} | } | ||
Line 77: | Line 76: | ||
flex: 1; | flex: 1; | ||
background-color: rgba(221, 255, 83, 0.64); | background-color: rgba(221, 255, 83, 0.64); | ||
text-align: center; | |||
} | |||
.topLeft { | |||
border-radius: 10px 0 0 0; | border-radius: 10px 0 0 0; | ||
} | |||
.topRight { | |||
border-radius: 0 10px 0 0; | |||
} | |||
.bottomLeft { | |||
border-radius: 0 0 0 10px; | |||
} | |||
.bottomRight { | |||
border-radius: 0 0 10px 0; | |||
} | } |
Revision as of 16:04, 1 November 2021
/* CSS placed here will be applied to all skins */ @import url("/index.php?title=MediaWiki:StickyTableHeaders.css&action=raw&ctype=text/css"); @import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css"); /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. Slightly modified because <div> sucks. */ table.NavFrame { border: 1px solid #aaa; text-align: center; font-size: 75%; width: 100%; } table.NavFrame + table.NavFrame { border-top-style: none; border-top-style: hidden; } table.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } table.NavFrame th.NavHead { font-size: larger; text-align: center; background-color: #ccc; position: relative; padding-right: 0; } table.NavFrame th { background-color: #ccc; text-align: right; padding-right: 1%; width: 7%; } table.NavFrame td.NavContent, table.NavFrame td { text-align: left; } table.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } .client-js .NavFrame.collapsed > td { display: none; } .classCannotUse { border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; background-color: rgba(255, 158, 77, 0.88); text-align: center; } .classCanUse { border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; background-color: rgba(221, 255, 83, 0.64); text-align: center; } .topLeft { border-radius: 10px 0 0 0; } .topRight { border-radius: 0 10px 0 0; } .bottomLeft { border-radius: 0 0 0 10px; } .bottomRight { border-radius: 0 0 10px 0; }