Difference between revisions of "MediaWiki:Common.css"

From MadaCamp
Jump to: navigation, search
(New page: CSS placed here will be applied to all skins: #f-poweredbyico { display: none; })
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
 +
 +
/* colour input fields *(
 +
textarea, #searchInput {
 +
background-color: #b8deb1;
 +
}
 +
 +
textarea:focus, #searchInput:focus {
 +
background-color: #b8deb1;
 +
}
 +
 +
 +
/* remove math button */
 +
#mw-editbutton-math {
 +
display: none;
 +
}
 +
 +
/* remove mediawiki logo */
 
#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 */
 +
#t-permalink{
 +
display: none;
 +
}
 +
 +
/* remove print version link */
 +
#t-print{
 +
display: none;
 +
}
 +
 +
/* remove "Main Page" heading */
 +
body.page-Main_Page h1.firstHeading { display:none; }
 +
 +
 +
/* background image */
 +
body {
 +
background: #f5f5f5 url(/tmp/background.png); background-repeat: repeat-x;
 +
}
 +
 +
 +
/* 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;
 +
}

Revision as of 20:29, 25 October 2009

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


/* colour input fields *(
textarea, #searchInput {
	background-color: #b8deb1;
}

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


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

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

/* remove talk tab on Main Page */
.page-Main_Page #ca-talk {
display: none !important;
}

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


/* background image */
body {
background: #f5f5f5 url(/tmp/background.png); background-repeat: repeat-x;
}


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