MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 78: | Line 78: | ||
{ | { | ||
min-width:100px; | min-width:100px; | ||
width: | width:auto; | ||
left:496px; | left:496px; | ||
} | } |
Revision as of 23:45, 8 November 2012
/* CSS placed here will be applied to all skins */ <head> <style type="text/css"> /* ================================================================= */ /* Dummy is needed. Some conflict ignores the first declaration here */ #dummy{} /* ================================================================= */ /* ================================================================= */ /* ===================== PRODUCT TEMPLATE ========================== */ /* ================================================================= */ .boxhead02 { font-weight:bold; font-size:14px; margin-bottom:8px; } /* ================================================================= */ /* ===================== MAIN PAGE TEMPLATE ======================== */ /* ================================================================= */ #mdmain { display:block; width:100%; height:100%; } #mdmain.top { margin-bottom:16px; } #mdmain.midleft { float:left; width:49%; margin-right:2%; margin-bottom:14px; } #mdmain.midright { width:49%; margin-left:51%; margin-bottom:14px; } /* ================================================================= */ /* ============================ WELCOME ============================ */ /* ================================================================= */ #welcomeHead { position:relative; display:block; width:100%; } #welcomeHead, #welcomeHeadLeftColor, #welcomeHeadRightContent { height:100px; } #welcomeHeadLeftColor, #welcomeHeadRightContent { position:absolute; top:0px; -webkit-box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); } #welcomeHeadLeftColor { width:480px; } #welcomeHeadRightContent { min-width:100px; width:auto; left:496px; } /* #welcomeHead { display:block; width:100%; } #welcomeHead, #welcomeHeadLeftColor, #welcomeHeadRightContent { height:100px; } #welcomeHeadLeftColor, #welcomeHeadRightContent { float:left; -webkit-box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); } #welcomeHeadLeftColor { width:480px; } #welcomeHeadRightContent { min-width:100px; width:auto; margin-left:16px; } .clear-both { clear:both; } */ #mdcontainer01 { display:block; padding:0px; } #mdcontainer01.header, #mdcontainer01.smallhead, #mdcontainer01.content { -webkit-box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); } #mdcontainer01.main { width:100%; padding:0px; background-color:green; } #mdcontainer01.header { margin:0px; text-align:left; background-color:#0159d0; } #mdcontainer01.header { width:480px; height:100px; } #mdcontainer01.main #mdcontainer01.content { top:0px; left:516px; height:100px; min-width:100px; } #mdcontainer01.content { padding:14px 10px; } /* ================================================================= */ /* ============================ UPDATES ============================ */ /* ================================================================= */ #mdcontainer01.side { } /* ================================================================= */ /* ============================ COLORS ============================= */ /* ================================================================= */ .blue { background-color:#0159d0; } /* ================================================================= */ /* ======================== TABLE SHADING ========================== */ /* ================================================================= */ table.alternate01 { border-collapse:collapse; } .alternate01 tr, .alternate01 td, .alternate01 th { border-right:1px solid #AAAAAA; border-bottom:1px solid #AAAAAA; padding:3px 6px; text-align:left; } .alternate01 tr:nth-child(odd) { background-color:white; } .alternate01 tr:nth-child(even) { background-color:#F6F6F6; } </style> </head>