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 95: Zeile 95:
   background-position: center right;
   background-position: center right;
   padding-right: 50px;
   padding-right: 50px;
}
/* TEST */
/* Fix the sidebar's position while you scroll */
div[id=column-one] {  /* Using the attribute selector hides this from IE */
    position: fixed;
    height: 100%;    /* If you shrink the browser too small, the side column will */
    overflow: auto; /*  become scrollable, so stuff is always accessible, albeit ugly */
    z-index: 2;
}
div#p-lang .pBody ul{    /* Sets the language box to a fixed height and scrollable if too long to fit */
    height: 10em;
    overflow: auto;
}
body {                /* Fix the background image, too, so it looks nice as you scroll */
    background-attachment: fixed;
}
div#footer {            /* Fix the footer so it looks nice and doesn't overlap the sidebar */
    margin-left: 13.6em;
    border-left: solid 1px rgb(250, 189, 35);
    /* Uncomment this if you use rounded edges: */
/*
    -moz-border-radius-topleft: 1em;
    -moz-border-radius-bottomleft: 1em;
*/
}
}

Version vom 16. April 2011, 10:30 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;
}

#catlinks {
   background-image: url(http://www.chronistwiki.de/w/images/catlinks.png);
   background-repeat: no-repeat;
   background-position: center right;
   padding-right: 50px;
}

/* TEST */
/* Fix the sidebar's position while you scroll */

div[id=column-one] {  /* Using the attribute selector hides this from IE */
    position: fixed;
    height: 100%;     /* If you shrink the browser too small, the side column will */
    overflow: auto; /*   become scrollable, so stuff is always accessible, albeit ugly */
    z-index: 2;
}

div#p-lang .pBody ul{    /* Sets the language box to a fixed height and scrollable if too long to fit */
    height: 10em;
    overflow: auto;
}

body {                /* Fix the background image, too, so it looks nice as you scroll */
    background-attachment: fixed;
}

div#footer {             /* Fix the footer so it looks nice and doesn't overlap the sidebar */
    margin-left: 13.6em;
    border-left: solid 1px rgb(250, 189, 35);
    /* Uncomment this if you use rounded edges: */
/* 
    -moz-border-radius-topleft: 1em; 
    -moz-border-radius-bottomleft: 1em; 
*/
}