MediaWiki:Common.css

From BlueM
Revision as of 02:10, 1 July 2023 by Froehlich (talk | contribs) (clean up link CSS)
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 0; 
   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 Links */
#bodyContent a[href $= ".pdf"] {
   padding-right:20px;
   background:transparent url("/images/icons/pdf.png") center right no-repeat;
}

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

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

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

/* Literatur-Links */
#bodyContent a[href ^= "https://tubiblio.ulb.tu-darmstadt.de/"],
#bodyContent a[href ^= "https://dx.doi.org/"] {
   padding-right:20px;
   background:transparent url("/images/icons/literatur.gif") center right no-repeat;
}

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

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

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

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

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


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