MediaWiki:Common.css: Difference between revisions

From Biowerkzeug Wiki
Jump to navigationJump to search
copied table stuff from http://meta.wikimedia.org/wiki/MediaWiki:Common.css
table caption
Line 212: Line 212:
       margin-left:inherit;
       margin-left:inherit;
       margin-right:inherit;
       margin-right:inherit;
      border:1px #AAA solid;
      background: #F0F0F0;     
       }
       }
   
   

Revision as of 10:35, 8 December 2008

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

/* Copied from http://de.wikipedia.org/wiki/MediaWiki:Common.css :
   "+++++ 3. NEUE [[Hauptseite|HAUPTSEITE]] (ab 2006) +++++"
*/
 
/* Kategorie verbergen */
 body.page-Hauptseite #catlinks {
  display:none;
 }
 
 #hauptseite h2 {
       background-color: #d8e8ff;
       border: 1px solid #8898bf;
       font-size: 1em;
       font-weight: bold;
       margin-top: 0;
       margin-bottom: 0;
       padding-top: 0.1em;
       padding-bottom: 0.1em;
 }
 #hauptseite .inhalt {
       background-color: #ffffff;
       border: 1px solid #8898bf;
       border-top: 0px solid white;
       padding: 0.3em 0.8em 0.4em 0.8em;
 }
 #hauptseite .inhalt hr {
       background-color: #8898bf;
       color: #8898bf;
       height: 1px;
       margin:0.5em 0;
       padding: 0;
 }
 #hauptseite .inhalt .mehr {
       clear: both;
       font-size: 95%;
       margin-top: 0.8em;
       text-align: right;
 }
 .hauptseite-oben,
 .hauptseite-links,
 .hauptseite-rechts {
       margin-bottom: 1em;
 }
 .hauptseite-links {
       margin-right: 0.5em;
 }
 .hauptseite-rechts {
       margin-left: 0.5em;
 }
 .hauptseite-oben h2,
 .hauptseite-unten h2 {
       text-align: center;
 }
 .hauptseite-oben .inhalt .portale {
       font-weight: bold;
       margin-top: 0.2em;
       margin-bottom: 0.2em;
 }
 .hauptseite-oben .inhalt .intern {
       font-size: 90%;
       text-align: center;
 }
 .hauptseite-links h2,
 .hauptseite-rechts h2 {
       text-indent: 0.8em;
 }
 #hauptseite-schwesterprojekte .inhalt a {
       font-weight: bold;
 }
 
 /* p.catlinks span a[href*="/wiki/Kategorie:Arbeitskategorie"] { display:none } wegen HIDDENCAT nicht mehr notwendig */ 
 
 /* Remove underline from IPA links */
 .IPA a:link, .IPA a:visited {
    text-decoration: none;
 }
 
 span.Unicode
 {
  font-family:
  'Code2000',
  'Sun-ExtA',
  'Arial Unicode MS',
  'NSimSun',
  sans-serif;
 }
 
 span.Unicode1
 {
  font-family:
  'Code2001',
  'Quivira',
  'MPH 2B Damase',
  sans-serif;
 }
 
 span.Unicode2
 {
  font-family:
  'Sun-ExtB',
  'Code2002',
  sans-serif;
 }
 
 span.IPA
 {
  font-family:
   'Quivira',
   'Code2000',
   'Sun-ExtA',
   'DejaVu Sans',
   'Gentium',
   'Arial Unicode MS',
   'Lucida Sans Unicode',
   sans-serif;
 }
 
 span.IAST
 {
  font-family:
   'Code2000',
   'SunExtA',
   'Arial Unicode MS',
  sans-serif;
 }
 
 span.altitalisch
 {
  font-family:
   'Quivira',
   'Code2001',
   'MPH 2B Damase',
   sans-serif;
 }
 
 
 span.gotisch
 {
  font-family:
   'Quivira',
   'Code2001',
   'MPH 2B Damase',
   sans-serif;
 }
 
 span.hebrew
 {
  font-family:
  'Quivira',
  'Sun-ExtA',
  'Arial Unicode MS',
  'SBL Hebrew',
  'Code2000',
  'MPH 2B Damase',
  sans-serif;
 }
 
 span.spanAr
 {
  font-family:
  'Arial Unicode MS',
  'Code2000',
  'MPH 2B Damase',
  'DejaVu Sans',
  sans-serif;
 }
 
 
 span.music-symbol
 {
  font-family:
  'Musical Symbols',
  'Euterpe',
  'Code2001',
  sans-serif;
 }
 
 /* Standardmäßige Ausblendung der Flagged-Revisions-Backlog-Sitenotice */
 #mw-oldreviewed-notice {
  display: none;
 }

/* copied from http://meta.wikimedia.org/wiki/MediaWiki:Common.css */

/*****
** Table formatting
*****/
   table.wikitable,
   table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }
 
   table.wikitable th, table.wikitable td,
   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }
 
   table.wikitable th,
   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }
 
   table.wikitable caption,
   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      border:1px #AAA solid;
      background: #F0F0F0;      
      }
 
 
/*****
** box formatting
*****/
   .infobox {
      float:right;
      clear:right;
      margin-bottom:0.5em;
      margin-left:1em;
      padding:0.2em;
      border:1px solid #AAA;
      background:#F9F9F9;
      color:black;
 
      }
 
   .infobox td,
   .infobox th {
      vertical-align:top;
      }
 
   .infobox caption {
      font-size:larger;
      margin-left:inherit;
      }
 
   .infobox.bordered {
      border-collapse:collapse;
      }
 
   .infobox.bordered td,
   .infobox.bordered th {
      border:1px solid #AAA;
      }
 
   .infobox.bordered .borderless td,
   .infobox.bordered .borderless th {
      border:0;
      }
 
/* 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;
}