Difference between revisions of "MediaWiki:Common.css"

From SlothMUD Wiki
Jump to: navigation, search
Line 55: Line 55:
 
background-image: url("/images/library/parchment.jpg");
 
background-image: url("/images/library/parchment.jpg");
 
}
 
}
 +
 +
/* Change the external link icon to an Adobe icon for all PDF files
 +
  in browsers that support these CSS selectors, like Mozilla and Opera */
 +
#content a[href$=".png"].external,
 +
#content a[href*=".png?"].external,
 +
#content a[href*=".png#"].external,
 +
#content a[href$=".Png"].external,
 +
#content a[href*=".Png?"].external,
 +
#content a[href*=".Png#"].external,
 +
#mw_content a[href$=".png"].external,
 +
#mw_content a[href*=".png?"].external,
 +
#mw_content a[href*=".png#"].external,
 +
#mw_content a[href$=".Png"].external,
 +
#mw_content a[href*=".Png?"].external,
 +
#mw_content a[href*=".Png#"].external {
 +
    background: none;
 +
    padding-right: 0px;
 +
}
 +
  
 
.resizemap a.external {  
 
.resizemap a.external {  

Revision as of 21:13, 30 January 2011

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

/*Hides Main Page headline*/
body.page-Main_Page h1.firstHeading { 
    display: none; 
}

/*Two column thingie*/
.two-columns {
  -moz-column-count: 2;
  -webkit-column-count: 2;
}

/*This makes tables pretty!*/
/* Wikitable (Prettytable) class for skinning tables */
table.wikitable th, table.wikitable td {
        background: #FFD47F;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: left;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: left;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: left;
}
table.wikitable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}
 
/* General purpose "pretty (data) tables" */
table.datatable { background-color: transparent; }
table.datatable th, table.datatable td { padding: 4px; }
table.datatable th { text-align: left; background-color: #999999; }
table.datatable tr { background-color: #cccccc; }
table.datatable tr:hover { background-color: #ffffcc; }

/* Changing default helpfile font */
.helpfile{
	font-family: monospace, "Courier New";
}

/* Resizing map images */
.resizemap img, .resizemap a{
	width:700px;
	text-decoration:none;
	background: #FFD47F;	
	background-image: url("/images/library/parchment.jpg");	
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
#content a[href$=".png"].external, 
#content a[href*=".png?"].external, 
#content a[href*=".png#"].external,
#content a[href$=".Png"].external, 
#content a[href*=".Png?"].external, 
#content a[href*=".Png#"].external,
#mw_content a[href$=".png"].external, 
#mw_content a[href*=".png?"].external, 
#mw_content a[href*=".png#"].external,
#mw_content a[href$=".Png"].external, 
#mw_content a[href*=".Png?"].external, 
#mw_content a[href*=".Png#"].external {
    background: none;
    padding-right: 0px;
}


.resizemap a.external { 
	background-image: none; 
	padding: 0px; 
}