MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
#mdmain.midright | #mdmain.midright | ||
{ | { | ||
margin-left:51%; | margin-left:51%; | ||
width:49%; | width:49%; |
Revision as of 20:20, 17 July 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{} /* ================================================================= */ /* ================================================================= */ /* ===================== MAIN PAGE TEMPLATE ======================== */ /* ================================================================= */ #mdmain { display:block; width:100%; height:100%; padding:1px; } #mdmain.top { margin-bottom:14px; } #mdmain.midleft { float:left; width:49%; margin-right:2%; margin-bottom:14px; } #mdmain.midright { margin-left:51%; width:49%; margin-bottom:14px; } #mdmain.bot {} /* ================================================================= */ /* ============================ WELCOME ============================ */ /* ================================================================= */ #mdcontainer01 { display:block; } #mdcontainer01 h1 strong { color:#1B5491; font-weight:bold; } #mdcontainer01 h1 { padding:3px 0 0 0; margin:0px; font-size:20px; font-weight:normal; color:black; border:0px; } #mdcontainer01 h2 { padding:0; margin:0px; font-size:1em; font-weight:bold; color:darkred; border:0px; } #mdcontainer01.main { outline:darkgray solid 1px; /* border:1px solid darkgray; */ width:100%; padding:0px; } #mdcontainer01.header { border-bottom:1px solid darkgray; /*background:#FFFAF2;*/ /*background:#E7EFFF;*/ text-align:left; padding:1px 0 0 10px; height:26px; margin:0px; /* ========= GRADIENT BACKGROUND ============= */ /* for non-css3 browsers */ background: #F8F8F8; /* for IE */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#ECECEC'); /* for webkit browsers */ background: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#ECECEC)); /* for firefox 3.6+ */ background: -moz-linear-gradient(top, #F8F8F8, #ECECEC); /* =========================================== */ } #mdcontainer01.content { padding:14px 10px; } /* ================================================================= */ /* ============================ UPDATES ============================ */ /* ================================================================= */ #mdcontainer01.side { outline:darkgray solid 1px; padding:0px; } #mdcontainer01.smallhead { border-bottom:1px solid darkgray; text-align:left; font-weight:bold; padding:1px 0 0 10px; margin:0px; /* ========= GRADIENT BACKGROUND ============= */ /* for non-css3 browsers */ background: #F4F8FF; /* for IE */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F4F8FF', endColorstr='#E5EEFF'); /* for webkit browsers */ background: -webkit-gradient(linear, left top, left bottom, from(#F4F8FF), to(#E5EEFF)); /* for firefox 3.6+ */ background: -moz-linear-gradient(top, #F4F8FF, #E5EEFF); /* =========================================== */ } </style> </head> /* ================================================================= */ /* ======================== GETTING STARTED ======================== */ /* ================================================================= */ /* ================================================================= */ /* ===================== OTHER USEFUL LINKS ======================== */ /* ================================================================= */