Difference between revisions of "MediaWiki:Common.css"

From Melissa Data Wiki
Jump to navigation Jump to search
Line 146: Line 146:
width:480px;
width:480px;
height:100px;
height:100px;
float:left;
}
}


Line 152: Line 153:
height:100px;
height:100px;
min-width:100px;
min-width:100px;
float:left;
margin-left:516px;


}
}

Revision as of 22:44, 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{}
/* ================================================================= */

/* ================================================================= */
/* ==================== HIDE TABS FOR ANON ========================= */
/* ================================================================= */
/*
<!-- No [view source] tab for anonymous users -->
<!--<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #ca-talk { display: none !important; }
        #ca-viewsource { display: none !important; }
        #ca-history { display: none !important; }
      </style> 
    <?php } ?>
*/
/* ================================================================= */
/* ===================== PRODUCT TEMPLATE ========================== */
/* ================================================================= */
.boxhead02
{
font-weight:bold;
font-size:14px;
margin-bottom:8px;
}

/* ================================================================= */
/* ===================== WIDGET TEMPLATE =========================== */
/* ================================================================= */
/*.mdwidget
{
float:right;
clear:right;
margin:10px 0 10px 20px;
color:black;
text-align:left;
font-size:88%;
line-height:1.5em;
}

#mdwidget_head
{
top:0px;
left:-1px;
height:24px;
padding:6px 0 0 10px;
color:white;
font-size:14px;
font-weight:bold;
border:1px solid #A7D7F9;
-moz-border-top-left-radius:14px;
border-top-left-radius:14px;

background: rgb(27,84,145);
background: -moz-linear-gradient(-45deg,  rgba(27,84,145,1) 1%, rgba(0,119,216,1) 52%, rgba(34,106,183,1) 52%, rgba(94,171,255,1) 100%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(1%,rgba(27,84,145,1)), color-stop(52%,rgba(0,119,216,1)), color-stop(52%,rgba(34,106,183,1)), color-stop(100%,rgba(94,171,255,1)));
background: -webkit-linear-gradient(-45deg,  rgba(27,84,145,1) 1%,rgba(0,119,216,1) 52%,rgba(34,106,183,1) 52%,rgba(94,171,255,1) 100%);
background: -o-linear-gradient(-45deg,  rgba(27,84,145,1) 1%,rgba(0,119,216,1) 52%,rgba(34,106,183,1) 52%,rgba(94,171,255,1) 100%);
background: -ms-linear-gradient(-45deg,  rgba(27,84,145,1) 1%,rgba(0,119,216,1) 52%,rgba(34,106,183,1) 52%,rgba(94,171,255,1) 100%);
background: linear-gradient(135deg,  rgba(27,84,145,1) 1%,rgba(0,119,216,1) 52%,rgba(34,106,183,1) 52%,rgba(94,171,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b5491', endColorstr='#5eabff',GradientType=1 );
}

#mdwidget_body
{
padding:10px 4px;
background-color:#f9f9f9;
border-left:1px solid #A7D7F9;
border-right:1px solid #A7D7F9;
border-bottom:1px solid #A7D7F9;
}
*/
/* ================================================================= */
/* ===================== MAIN PAGE TEMPLATE ======================== */
/* ================================================================= */
#mdmain
{
display:block;
width:100%;
height:100%;
padding:1px;
}

#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;
}

#mdmain.bot
{
float:left;
}

/* ================================================================= */
/* ============================ WELCOME ============================ */
/* ================================================================= */
#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;
}

#mdcontainer01.header
{
margin:0px;
padding:1px 0 0 10px;
text-align:left;
background-color:#0159d0;
}

#mdcontainer01.header
{
width:480px;
height:100px;
float:left;
}

#mdcontainer01.main #mdcontainer01.content
{
height:100px;
min-width:100px;
float:left;
margin-left:516px;

}

#mdcontainer01.content
{
padding:14px 10px;
}

/* ================================================================= */
/* ============================ UPDATES ============================ */
/* ================================================================= */
#mdcontainer01.side
{

}


/* ================================================================= */
/* ======================== 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>