MediaWiki:Common.css: Difference between revisions

From BlueM
Jump to navigation Jump to search
(CSS für DOS-Code)
(GitHub icon)
 
(22 intermediate revisions by 2 users not shown)
Line 6: Line 6:
   border:2px solid red;  
   border:2px solid red;  
   padding:2px 10px;  
   padding:2px 10px;  
   margin:10px;  
   margin:10px 0;  
   font-style:italic;
   font-style:italic;
}
}
Line 12: Line 12:
/* Standardtabelle */
/* Standardtabelle */
table.standard {
table.standard {
   border:1px solid black;
   border:1px solid #666666;
   border-collapse:collapse;
   border-collapse:collapse;
}
}
table.standard td, table.standard th {
table.standard td {
   border:1px solid black;
   border:1px solid #CCCCCC;
}
}
table.standard th {
table.standard th {
   background-color:#cccccc;
   background-color:#CCCCCC;
  border:1px solid #999999;
   text-align:left;
   text-align:left;
   font-weight:bold;
   font-weight:bold;
}
table.standard tr.odd td {
  background-color:#F1F1F1;
}
}


Line 40: Line 44:
   background:#FFDFDF;  
   background:#FFDFDF;  
   padding:5px;
   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 */
/* Umrandung für Formeln */
Line 49: Line 63:
}
}


/* Icons für externe Links */
/* Zitate */
#bodyContent a.external[href $= ".pdf"] {
blockquote {
   padding-right:20px;
  padding:0.5em 0.5em 0.5em 1em;
   background:transparent url("/BlueM/wiki/images/icons/pdf.png") center right no-repeat;
   margin:0;
   border:1px solid #EFEFEF;
  border-left:10px solid #EFEFEF;
}
}


#bodyContent a.external[href $= ".exe"] {
 
   padding-right:20px;
/* Kommentare */
   background:transparent url("/BlueM/wiki/images/icons/exe.png") center right no-repeat;
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 {
#bodyContent a.external[href ^= "http://130.83.196.154/BlueM/downloads"][href $= "/"] {
   color:#6A009F;
   padding-right:20px;
  background:transparent url("/BlueM/wiki/images/icons/folder.png") center right no-repeat;
}
}
 
div.comment a.new {
#bodyContent a.external[href ^= "http://130.83.196.154/bugzilla"] {
   color:#CC2200;
   padding-right:20px;
  background:transparent url("/BlueM/wiki/images/icons/bugzilla.png") center right no-repeat;
}
}
 
div.comment pre {
#bodyContent a.external[href ^= "/bugzilla/show_bug.cgi"] {
   font-size:100%;
   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"] {
/* Icons für Links */
#bodyContent a[href $= ".pdf"] {
   padding-right:20px;
   padding-right:20px;
   background:transparent url("/BlueM/wiki/images/icons/magnifier.png") center right no-repeat;
   background:transparent url("/images/icons/pdf.png") center right no-repeat;
}
}


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


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


#bodyContent a.external[href $= ".dll"] {
#bodyContent a[href $= ".zip"],
#bodyContent a[href ^= "https://downloads.bluemodel.org"] {
   padding-right:20px;
   padding-right:20px;
   background:transparent url("/BlueM/wiki/images/icons/page_white_gear.png") center right no-repeat;
   background:transparent url("/images/icons/zip.png") center right no-repeat;
}
}


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


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


/* Links zu WIKINDX */
#bodyContent a[href $= ".pps"] {
#bodyContent a.external[href ^= "http://130.83.196.154/wikindx/"] {
padding-right:20px;
padding-right:20px;
background:transparent url("/BlueM/wiki/images/icons/wikindx.gif") center right no-repeat;
background:transparent url("/images/icons/pps.png") center right no-repeat;
}
}


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


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


#bodyContent a.internal[href $= ".pps"] {
/* interwiki Links */
padding-right:20px;
#bodyContent a.extiw {
background:transparent url("/BlueM/wiki/images/icons/pps.png") center right no-repeat;
  color:#226F14;
}
 
#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 */
/* Code-Formatierung */
#bodyContent a.extiw {
pre {
color:#2D7F1F;
  overflow-x:auto;
padding-right:20px;
  white-space:pre;
background:transparent url("/BlueM/wiki/images/icons/lock.png") center right no-repeat;
}
}
/* Code-Formatierung /*
pre.dos {
pre.dos {
   border:1px dashed gray;
   border:1px dashed gray;

Latest revision as of 02:23, 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/github.png") center right no-repeat;
}

#bodyContent a[href $= ".zip"],
#bodyContent a[href ^= "https://downloads.bluemodel.org"] {
   padding-right:20px;
   background:transparent url("/images/icons/zip.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;
}