MediaWiki:Common.css: Difference between revisions

From BlueM
Jump to navigation Jump to search
(fix icons for external https links)
(clean up link CSS)
Line 93: Line 93:
}
}


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


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


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


#bodyContent a.external[href ^= "https://bugs.bluemodel.org/show_bug.cgi"] {
#bodyContent a[href $= ".zip"] {
  padding-right:20px;
  background:transparent url("/images/icons/bug.png") center right no-repeat;
}
 
#bodyContent a.external[href ^= "http://130.83.196.154/viewvc"] {
  padding-right:20px;
  background:transparent url("/images/icons/magnifier.png") center right no-repeat;
}
 
#bodyContent a.external[href ^= "https://websvn.bluemodel.org"] {
  padding-right:20px;
  background:transparent url("/images/icons/websvn.png") center right no-repeat;
}
 
#bodyContent a.external[href $= ".zip"],
#bodyContent a.external[href ^= "https://websvn.bluemodel.org/dl.php"] {
   padding-right:20px;
   padding-right:20px;
   background:transparent url("/images/icons/package.png") center right no-repeat;
   background:transparent url("/images/icons/package.png") center right no-repeat;
}
#bodyContent a.external[href $= ".dll"] {
  padding-right:20px;
  background:transparent url("/images/icons/page_white_gear.png") center right no-repeat;
}
#bodyContent a.external[href ^= "https://svn.bluemodel.org"] {
  padding-right:20px;
  background:transparent url("/images/icons/database.png") center right no-repeat;
}
#bodyContent a.external[href ^= "https://websvn.bluemodel.org/rss.php"] {
padding-right:20px;
background:transparent url("/images/icons/feed.png") center right no-repeat;
}
/* Forum-Links */
#bodyContent a.external[href ^= "http://forum.bluemodel.org"] {
  padding-right:20px;
  background:transparent url("/images/icons/comments.png") center right no-repeat;
}
}


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


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


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


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


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


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


/* Code-Formatierung */
/* Code-Formatierung */

Revision as of 02:10, 1 July 2023

/** 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;
}