MediaWiki:Common.css

Aus Schach.at
Wechseln zu: Navigation, Suche

Hinweis: Leere nach dem Speichern den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Extras → Internetspuren löschen … → Individuelle Auswahl → Den kompletten Cache löschen
  • Konqueror: Aktualisieren anklicken oder F5 drücken
/** CSS in this page affects all skins */
/**<pre><nowiki>*/

/*
 * hide unneeded content when printing
 */
@media print {
  #privacy, #about, #disclaimer {display:none;}
}

/* background color on navigation boxes */
#p-navigation h5,
#p-Wiki h5,
#p-schach-at h5,
#p-search h5,
#p-tb h5,
h1.firstHeading {
  border:1px solid black;
  background:#6B2323;
  color:white;
  padding:1px 10em 1px 1em;
  margin:0 3px 0.5em 0;
  font-size:112%;
  text-align:left;
  text-indent:.5em;
}

h1 { font-size: 150%; }
h2 { font-size: 132%; }
h3 { font-size: 116%; }

h1, h2, h3 {
  font-weight:bold;
  padding-top:1em;
}

/* Nice borders for (almost) all boxes */
input[type="radio"],
input[type="checkbox"] { border:none; }
input[type="text"], input[type="submit"], textarea {
  border: 1px solid #aaa !important;
}

/* make round corners for the rest */
input[type="text"], input[type="submit"], textarea, pre, #toc {
  -moz-border-radius: 2px;
}

/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external, 
#bodyContent a[href*=".pdf?"].external, 
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external, 
#bodyContent a[href*=".PDF?"].external, 
#bodyContent a[href*=".PDF#"].external {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-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. */
span.PDFlink a {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
    padding-right: 17px !important;
} 

/*
 * chessTable = Tabelle für Turnierergebnisse und Schüler-Liga
 */
table.chessTable,
table.chessTableNoWrap,
table.chessLinkTable,
table.chessAnnouncement,
table.chessSiteMap {
  border-collapse:collapse;
  padding:4px;
  margin:4px;
}

table.chessTable th,
table.chessTableNoWrap th {
  padding:4px;
  border:1px solid black;
  background:lightgray;
}

table.chessTable td,
table.chessTableNoWrap td {
  padding:4px;
  border:1px solid gray;
}

table.chessTableNoWrap td,
table.chessTableNoWrap th {
  white-space:nowrap;
}

/*
 * chessLinkTable = Tabelle für Links zu Landesverbänden auf der Hauptseite
 */
table.chessLinkTable th {
  padding:4px;
  background:#6B2323;
  color:white;
}

table.chessLinkTable td,
table.chessLinkTable th {
  padding:2px;
  border:1px solid #6B2323;
}

/*
 * Tabelle für Ausschreibungen
 */
table.chessAnnouncement tr {
  vertical-align:top;
}

table.chessAnnouncement th,
table.chessAnnouncement td {
  padding:2px;
  border-bottom:1px solid black;
}

table.chessAnnouncement th {
  font-weight:bold;
  text-align:left;
  border-right:1px solid black;
}

/*
 * Geschachtelte Tabelle innerhalb von Ausschreibungen
 */
table.chessAnnouncementNested {
  border:0;
  margin:0;
  padding:0;
}

table.chessAnnouncementNested th,
table.chessAnnouncementNested td {
  border:0;
  margin:1;
  padding:1;
}

/*
 * Linksammlung auf Hauptseite
 */
table.chessSiteMap tr {
  vertical-align:top;
}

table.chessSiteMap td {
  border-top:1px solid black;
  border-bottom:1px solid black;
  padding:2px;
  margin:2px;
}

/*
 * Eingerückte Tabelle für Liste der Vorstandsmitglieder
 */
table.chessIndentTable {
  border:0;
  margin-left:2em;
  padding:0;
}

table.chessIndentTable tr {
  vertical-align:top;
}

table.chessIndentTable th {
  font-weight:bold;
  text-align:left;
}

/**</nowiki></pre>*/