Difference between revisions of "MediaWiki:Common.css"

From MadaCamp
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/*
 
  
 
.imageTable{
 
.imageTable{
Line 13: Line 12:
 
}
 
}
  
.imageTable td{
+
 
padding:0;
+
/* The footer CSS for monobook is in http://www.munichbeergardens.com/skins/monobook/main.css?207
padding-bottom:6px;
+
This can be overrided here
 +
 
 +
*/
 +
 
 +
/* hide footer texts
 +
#f-list{
 +
display:none;
 
}
 
}
 +
*/
  
/* captionTable can be used for image groups with or without
+
#footer {
  captions, a grey border is drawn around the group of images */
+
background: url(images/beer/Canvas.gif);
 +
border-top: 0px solid #adaaad;
 +
border-bottom: 0px solid #adaaad;
 +
margin:0px;
 +
padding:0px 0px 10px 0px;
  
.captionTable{
 
border: 1px solid #cccccc;
 
background: #f5f5f5;
 
border-collapse: separate;
 
border-spacing: 6px;
 
 
}
 
}
  
/*
+
 
.captionTable td{
+
 
vertical-align: top;
+
/* setting footer background
padding: 0px;
+
#footer{
font-size: 80%;
+
background: url(/images/beer/Bavarian_pattern_small.png);
 +
border-top: 0px solid #001e80;
 +
border-bottom: 0px solid #001e80;
 +
height:31px;
 +
margin:0px;
 +
padding:0px;
 
}
 
}
 +
*/
  
*/
 
 
/* colour input fields */
 
/* colour input fields */
 
textarea, #searchInput {
 
textarea, #searchInput {
background-color: #b8deb1;
+
background: #d9dfed;
 
}
 
}
  
 
textarea:focus, #searchInput:focus {
 
textarea:focus, #searchInput:focus {
background-color: #e4f3e1;
+
background-color: #cfdeff;
 
}
 
}
  
Line 54: Line 64:
 
#f-poweredbyico { display: none; }
 
#f-poweredbyico { display: none; }
  
/* remove talk tab on Main Page */
 
.page-Main_Page #ca-talk {
 
display: none !important;
 
}
 
  
 
/* remove permanent link */
 
/* remove permanent link */
Line 72: Line 78:
 
body.page-Main_Page h1.firstHeading { display:none; }
 
body.page-Main_Page h1.firstHeading { display:none; }
  
 +
 +
/* remove history tab */
 +
#ca-history {
 +
display: none !important;
 +
}
  
 
/* reCaptcha style */
 
/* reCaptcha style */
Line 112: Line 123:
 
.MediaTransformError td {
 
.MediaTransformError td {
 
display: none;
 
display: none;
 +
 +
} /* to use with <span class="nobr">don't break..</span> */
 +
span.nobr {
 +
white-space: nowrap;
 
}
 
}

Revision as of 20:31, 7 April 2011

/* CSS placed here will be applied to all skins */


.imageTable{
width:600px;
border-collapse:collapse;
}

.imageTable td{
padding:0;
padding-bottom:6px;
}


/* The footer CSS for monobook is in http://www.munichbeergardens.com/skins/monobook/main.css?207
This can be overrided here

*/

/* hide footer texts
#f-list{
display:none;
}
*/

#footer {
	background: url(images/beer/Canvas.gif);
	border-top: 0px solid #adaaad;
	border-bottom: 0px solid #adaaad;
margin:0px;
padding:0px 0px 10px 0px;

}



/* setting footer background
#footer{
background: url(/images/beer/Bavarian_pattern_small.png);
border-top: 0px solid #001e80;
border-bottom: 0px solid #001e80;
height:31px;
margin:0px;
padding:0px;
}
*/

/* colour input fields */
textarea, #searchInput {
	background: #d9dfed;
}

textarea:focus, #searchInput:focus {
	background-color: #cfdeff;
}


/* remove math button */
#mw-editbutton-math {
display: none;
}

/* remove mediawiki logo */
#f-poweredbyico { display: none; }


/* remove permanent link */
#t-permalink{
display: none;
}

/* remove print version link */
#t-print{
display: none;
}

/* remove "Main Page" heading */
body.page-Main_Page h1.firstHeading { display:none; }


/* remove history tab */
#ca-history {
display: none !important;
}

/* reCaptcha style */

.recaptchatable .recaptcha_image_cell, #recaptcha_table {
background-color:#f5f5f5 !important; //reCaptcha widget background color
}
#recaptcha_table {
border-color: #8c8c8c !important; //reCaptcha widget border color
}
#recaptcha_response_field {
border-color: #8c8c8c !important; //Text input field border color
background-color:#696969 !important; //Text input field background color
}


/* Pretty tables (to replace Template:prettytable) */
.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse; 
    border-spacing: 0;
    padding: 0;
    font-size: 95%;"
}

.prettytable th {
    border: 1px #aaa solid;
    margin: 0;
    padding: 4px;
}

.prettytable td {
    border: 1px #aaa solid;
    margin: 0;
    padding: 4px;
}

.MediaTransformError td {
display: none;

} /* to use with <span class="nobr">don't break..</span> */
span.nobr {
white-space: nowrap;
}