Versionsunterschied von Common.css

aus dem Chronist-Wiki, der deutschen BIONICLE-Enzyklopädie
Zur Navigation springen Zur Suche springen
de>Nuhrii the Metruan
Keine Bearbeitungszusammenfassung
de>Nuhrii the Metruan
Keine Bearbeitungszusammenfassung
Zeile 30: Zeile 30:
}
}


/******* Extra buttons for 'edittools' (modified from www.mediawiki.org/MediaWiki:Common.css) ********/
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons {
.my-buttons {
        /* padding: 1em; */
padding: .5em;
        /* margin:5px; */
}
}
.my-buttons a {
.my-buttons a {
        color: black;
color: black;
        background-color: #c0d0e0 ;
background-color: #cde !important;
        font-family:monospace;
font-weight: bold;
        font-size: 115%;
font-size: .9em;
        text-decoration: none;
text-decoration: none;
        border: thin #069 outset;
border: thin #069 outset;
        line-spacing:5pt;
padding: 0 .1em .1em;
}
}
.my-buttons a:hover {
.my-buttons a:hover, .my-buttons a:active {
        background-color: #d0e0f0;
background-color: #bcd;
        border-style:outset;
border-style: inset;
}
.my-buttons a:active {
        background-color: #e0f0e0;
        border-style: inset;
}
}


/* Thumbnail configuration */
/* Thumbnail configuration */

Version vom 2. März 2011, 07:35 Uhr

/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* 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$=".pdf"].external, 
#content a[href*=".pdf?"].external, 
#content a[href*=".pdf#"].external,
#content a[href$=".PDF"].external, 
#content a[href*=".PDF?"].external, 
#content a[href*=".PDF#"].external,
#mw_content  a[href$=".pdf"].external, 
#mw_content  a[href*=".pdf?"].external, 
#mw_content  a[href*=".pdf#"].external,
#mw_content  a[href$=".PDF"].external, 
#mw_content  a[href*=".PDF?"].external, 
#mw_content  a[href*=".PDF#"].external {
    background: 
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 16px;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class
   is used (notably Template:PDFlink). This works in IE, unlike the above. */
#content span.PDFlink a,
#mw_content span.PDFlink a {
    background: 
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 17px;
}

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons {
	padding: .5em;
}
.my-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.my-buttons a:hover, .my-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}


/* Thumbnail configuration */
.thumbinner {
    min-width: 100px;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}

/* Put a chequered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
#file img {
    background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img, 
.nochecker .gallerybox .thumb img {
    background: white;
}