MediaWiki:Monobook.css: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
Content deleted Content added
Dtbartle (talk | contribs)
New page: CSS placed here will affect users of the Monobook skin: **** ** Table formatting ****: table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9...
 
Dtbartle (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* <pre><nowiki> */
/* CSS placed here will affect users of the Monobook skin */
/*****
/* edit this file to customize the monobook skin for the entire site */
** Table formatting
*****/
/* main interface colour theme */
table.wikitable,
#content,
table.prettytable {
#p-cactions li a,
margin:1em 1em 1em 0;
.ns-0 * #p-cactions li,
background:#F9F9F9;
.ns-0 * #p-cactions li a {
border:1px #AAA solid;
background:#FFF;
border-collapse:collapse;
}
}

/* Display "From Meta..." */
table.wikitable th, table.wikitable td,
#siteSub {
table.prettytable th, table.prettytable td {
border:1px #AAA solid;
display:inline;
padding:0.2em;
font-size:1.2em;
font-weight:normal;
}
}

table.wikitable th,
table.prettytable th {
/* Hide classes only relevant online when printing */
background:#F2F2F2;
@media print {
text-align:center;
.editlink, .noprint, .metadata, .dablink { display:none; }
}
}

table.wikitable caption,
table.prettytable caption {
/* Style [[Meta:Language select]] widget */
margin-left:inherit;
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
margin-right:inherit;
.lang_info a {font-weight:bold;font-family:Arial,
}
sans-serif;font-size:8pt;}
.lang_info input {font-size:8pt;}
.lang_info input.ls_select {font-weight:bold;}
/* Disable grey background when code is used in a header */
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
background:none;
}
/* nudge too-light monospace fonts */
h2 code {
font-weight:bold;
}
/* </nowiki></pre> */

Latest revision as of 01:34, 17 April 2008

/* <pre><nowiki> */
 
/* edit this file to customize the monobook skin for the entire site */
 
/* main interface colour theme */	 	
#content,
#p-cactions li a,
.ns-0 * #p-cactions li,
.ns-0 * #p-cactions li a {
    background:#FFF;
}
 
/* Display "From Meta..." */
#siteSub {
    display:inline;
    font-size:1.2em;
    font-weight:normal;
}
 
 
/* Hide classes only relevant online when printing */
@media print {
    .editlink, .noprint, .metadata, .dablink { display:none; }
}
 
 
/* Style [[Meta:Language select]] widget */
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
    .lang_info a {font-weight:bold;font-family:Arial,
      sans-serif;font-size:8pt;}
    .lang_info input {font-size:8pt;}
    .lang_info input.ls_select {font-weight:bold;}
 
 
/* Disable grey background when code is used in a header */
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
    background:none;
}
 
/* nudge too-light monospace fonts */
h2 code {
    font-weight:bold;
}
/* </nowiki></pre> */