MediaWiki:Common.css

From BlueM
Revision as of 06:58, 23 July 2009 by Froehlich (talk | contribs) (CSS for interwiki links)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */

/* Achtung!-Box */
div.achtung {
   background-color:#FFFF99; 
   border:2px solid red; 
   padding:2px 10px; 
   margin:10px; 
   font-style:italic;
}

/* Standardtabelle */
table.standard {
   border:1px solid #666666;
   border-collapse:collapse;
}
table.standard td {
   border:1px solid #CCCCCC;
}
table.standard th {
   background-color:#CCCCCC;
   border:1px solid #999999;
   text-align:left;
   font-weight:bold;
}
table.standard tr.odd td {
   background-color:#F1F1F1;
}

/* TALSIM betreffende Dokumentation */
.TALSIM {
   text-decoration:line-through;
   color:#cccccc;
}
.TALSIM h2, .TALSIM h3, .TALSIM h4, .TALSIM a {
   color:#999999;
}

/* Infobox Versionen */
div.info_versionen {
   float:right; 
   margin-left:10px; 
   border:1px dotted red; 
   background:#FFDFDF; 
   padding:5px;
   max-width:300px;
   font-size:95%;
}
div.info_versionen p {
   padding:0;
   margin:0;
}
div.info_versionen p a {
   font-size:90%;
}


/* Umrandung für Formeln */
img.tex {
   border:1px dashed grey;
   padding:5px 10px;
   background-color:#F9F9F9;
}

/* Zitate */
blockquote {
   padding:0.5em 0.5em 0.5em 1em;
   margin:0;
   border:1px solid #EFEFEF;
   border-left:10px solid #EFEFEF;
}


/* Kommentare */
div.comment {
   padding:0 5px;
   margin:5px 0 5px 5px;
   border:1px solid blue;
   background-color:#DFDFFF;
   color:blue;
   float:right;
   max-width:300px;
   font-size:80%;
}
div.comment a {
   color:#6A009F;
}
div.comment a.new {
   color:#CC2200;
}
div.comment pre {
   font-size:100%;
}

/* Icons für externe Links */
#bodyContent a.external[href $= ".pdf"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/pdf.png") center right no-repeat;
}

#bodyContent a.external[href $= ".exe"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/exe.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/BlueM/downloads"][href $= "/"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/folder.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/bugzilla"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/bugzilla.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/bugzilla/show_bug.cgi"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/bug.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/viewvc"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/magnifier.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/websvn"], 
#bodyContent a.external[href ^= "/websvn"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/websvn.png") center right no-repeat;
}

#bodyContent a.external[href $= ".zip"], 
#bodyContent a.external[href ^= "http://130.83.196.154/websvn/dl.php"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/package.png") center right no-repeat;
}

#bodyContent a.external[href $= ".dll"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/page_white_gear.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/svn"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/database.png") center right no-repeat;
}

#bodyContent a.external[href ^= "http://130.83.196.154/websvn/rss.php"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/feed.png") center right no-repeat;
}

/* Forum-Links */
#bodyContent a.external[href ^= "http://130.83.196.220/bluem/forum/"],
#bodyContent a.external[href ^= "/bluem/forum/"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/comments.png") center right no-repeat;
}

/* Literatur-Links */
#bodyContent a.external[href ^= "http://130.83.196.154/wikindx/"],
#bodyContent a.external[href ^= "http://dx.doi.org/"] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/literatur.gif") center right no-repeat;
}

/* Icons für interne Links */
#bodyContent a.internal[href $= ".pdf"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/pdf.png") center right no-repeat;
}

#bodyContent a.internal[href $= ".ppt"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/ppt.png") center right no-repeat;
}

#bodyContent a.internal[href $= ".pps"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/pps.png") center right no-repeat;
}

#bodyContent a.internal[href $= ".doc"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/doc.png") center right no-repeat;
}

#bodyContent a.internal[href $= ".xls"] {
padding-right:20px;
background:transparent url("/bluem/wiki/images/icons/xls.png") center right no-repeat;
}

/* interwiki Links */
#bodyContent a.extiw {
   color:#226F14;
}

/* developer wiki */
#bodyContent a.extiw[href ^= 'http://130.83.196.170'] {
   padding-right:20px;
   background:transparent url("/bluem/wiki/images/icons/lock.png") center right no-repeat;
}

/* Code-Formatierung */
pre.dos {
   border:1px dashed gray;
   background-color:#4F4A4A;
   color:white;
}