Difference between revisions of "MediaWiki:Common.css"
From Agri4castWiki
Line 57: | Line 57: | ||
margin-top: 1em; | margin-top: 1em; | ||
background: #f8f8f8; | background: #f8f8f8; | ||
− | + | background-size:80px 60px; | |
} | } | ||
Revision as of 08:53, 24 October 2013
/********************************************** ** CSS placed here will be applied to all skins **********************************************/ #toc { float: right; margin-top: 1em; margin-left: 1em; margin-bottom: 1em; } /************** ** style layout **************/ .box { border: 1px solid #B2B2B2; padding: 0.4em; margin-top: 1em; background: #F8F8F8; } .expert_header { border: 2px solid #FF6666; padding: 0.4em; border-bottom: none; border-right: none; background: #FFE6E6; } .expert_sideline { border-left: 2px dashed #FF6666; padding-left: 1em; } .scientific_header { border: 2px solid #FFC266; padding: 0.4em; border-bottom: none; border-right: none; background: #FFEBCC; } .scientific_sideline { border-left: 2px dashed #FFC266; padding-left: 1em; } .non_expert_header { border: 2px solid #AEA; padding: 0.4em; border-bottom: none; border-right: none; background: HoneyDew; } .non_expert_sideline { border-left: 2px dashed #AEA; padding-left: 1em; } .formula { border: 1px solid #B1B1B1; padding: 0.4em; margin-top: 1em; background: #f8f8f8; background-size:80px 60px; } /***************************** ** Collapsing table formatting ******************************/ .collapsing_table { text-align: left; border: 1px solid #FF6666; background-color: #FFE6E6; padding: 0.2em; width: 100%; } /********************* ** Templateinfo layout *********************/ .templateinfo_head { color:grey; text-align:center; margin-top:1em; font-size: 80%; font-weight: bold; } .templateinfo_colors { background: #FFFFEE; border: 1px solid #FFDAB9; font-size:100%; padding: 0.5em; } /******************************************************* ** Change external link icon to Adobe icon for PDF files *******************************************************/ span.PDFlink { padding-right:17px !important; background:url('http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') center right no-repeat !important; } /******************* ** Table formatting *******************/ table.wikitable { margin:1em 1em 1em 0; border:1px solid #AAA; border-collapse:collapse; background:#F9F9F9; } table.wikitable th, table.wikitable td { padding:0.3em; border:1px solid #AAA; } table.wikitable th { background:#F2F2F2; text-align:left; } table.wikitable caption { text-align: left; margin-left:inherit; margin-right:inherit; } /**************************************************** ** Standard Navigationsleisten, aka box hiding thingy ** from .de. Documentation at [[Wikipedia:NavFrame]] *****************************************************/ div.NavFrame { margin: 1.0em 0em 1.0em 0em; padding: 0.5em; border: 1px solid #FFA500; background-color: #FFF5E6; text-align: left; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #FFF5E6; position: relative; } div.NavFrame div.NavContent { background-color: #FFF5E6; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; } /***************** ** Glossary layout ******************/ .toccolours { font-size:175%; }