MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
#welcomeHead | #welcomeHead | ||
{ | { | ||
display:block; | display:block; | ||
width:100%; | width:100%; | ||
Line 67: | Line 65: | ||
#welcomeHeadLeftColor, #welcomeHeadRightContent | #welcomeHeadLeftColor, #welcomeHeadRightContent | ||
{ | { | ||
} | } | ||
#welcomeHeadLeftColor | #welcomeHeadLeftColor | ||
{ | { | ||
float:left; | |||
left:0px; | left:0px; | ||
width:480px; | width:480px; | ||
Line 81: | Line 78: | ||
#welcomeHeadRightContent | #welcomeHeadRightContent | ||
{ | { | ||
float:left; | |||
left:496px; | left:496px; | ||
min-width:100px; | min-width:100px; | ||
Line 88: | Line 86: | ||
} | } | ||
.clear-both | |||
{ | |||
clear:both; | |||
} | |||
Revision as of 23:35, 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 { display:block; width:100%; clear:both; overflow:hidden; } #welcomeHead, #welcomeHeadLeftColor, #welcomeHeadRightContent { height:100px; } #welcomeHeadLeftColor, #welcomeHeadRightContent { } #welcomeHeadLeftColor { float:left; left:0px; width:480px; -webkit-box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); } #welcomeHeadRightContent { float:left; left:496px; min-width:100px; margin-left:16px; -webkit-box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); box-shadow:0px 0px 6px 2px rgba(31, 142, 255, .5); } .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>