MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(GitHub icon) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
/* Achtung!-Box */ | /* Achtung!-Box */ | ||
div.achtung { | div.achtung { | ||
background-color:#FFFF99; | background-color:#FFFF99; | ||
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; | ||
} | } | ||
/* Standardtabelle */ | /* Standardtabelle */ | ||
table.standard { | table.standard { | ||
border:1px solid | border:1px solid #666666; | ||
border-collapse:collapse; | border-collapse:collapse; | ||
} | } | ||
table.standard td | table.standard td { | ||
border:1px solid | border:1px solid #CCCCCC; | ||
} | } | ||
table.standard th { | table.standard th { | ||
background-color:# | background-color:#CCCCCC; | ||
text-align:left; | border:1px solid #999999; | ||
font-weight:bold; | text-align:left; | ||
font-weight:bold; | |||
} | |||
table.standard tr.odd td { | |||
background-color:#F1F1F1; | |||
} | } | ||
/* TALSIM betreffende Dokumentation */ | /* TALSIM betreffende Dokumentation */ | ||
.TALSIM { | .TALSIM { | ||
text-decoration:line-through; | text-decoration:line-through; | ||
color:#cccccc; | color:#cccccc; | ||
} | } | ||
.TALSIM h2, .TALSIM h3, .TALSIM h4, .TALSIM a { | .TALSIM h2, .TALSIM h3, .TALSIM h4, .TALSIM a { | ||
color:#999999; | 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 */ | /* Umrandung für Formeln */ | ||
img.tex { | img.tex { | ||
border:1px dashed grey; | border:1px dashed grey; | ||
padding:5px 10px; | padding:5px 10px; | ||
background-color:#F9F9F9; | background-color:#F9F9F9; | ||
} | |||
/* Zitate */ | |||
blockquote { | |||
padding:0.5em 0.5em 0.5em 1em; | |||
margin:0; | |||
border:1px solid #EFEFEF; | |||
border-left:10px solid #EFEFEF; | |||
} | } | ||
/* Links */ | |||
#bodyContent a | /* Kommentare */ | ||
padding-right:20px; | div.comment { | ||
background:transparent url(" | 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 | #bodyContent a[href $= ".exe"] { | ||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/exe.png") center right no-repeat; | ||
} | } | ||
#bodyContent a | #bodyContent a[href ^= "https://github.com"] { | ||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/github.png") center right no-repeat; | ||
} | } | ||
#bodyContent a. | #bodyContent a[href $= ".zip"], | ||
padding-right:20px; | #bodyContent a[href ^= "https://downloads.bluemodel.org"] { | ||
background:transparent url(" | padding-right:20px; | ||
background:transparent url("/images/icons/zip.png") center right no-repeat; | |||
} | } | ||
#bodyContent a. | /* Literatur-Links */ | ||
padding-right:20px; | #bodyContent a[href ^= "https://tubiblio.ulb.tu-darmstadt.de/"], | ||
background:transparent url(" | #bodyContent a[href ^= "https://dx.doi.org/"] { | ||
padding-right:20px; | |||
background:transparent url("/images/icons/literatur.gif") center right no-repeat; | |||
} | } | ||
#bodyContent a. | #bodyContent a[href $= ".ppt"], | ||
#bodyContent a[href $= ".pptx"] { | |||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/ppt.png") center right no-repeat; | ||
} | } | ||
#bodyContent a | #bodyContent a[href $= ".pps"] { | ||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/pps.png") center right no-repeat; | ||
} | } | ||
#bodyContent a | #bodyContent a[href $= ".doc"], | ||
#bodyContent a[href $= ".docx"] { | |||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/doc.png") center right no-repeat; | ||
} | } | ||
#bodyContent a. | #bodyContent a[href $= ".xls"], | ||
#bodyContent a[href $= ".xlsx"] { | |||
padding-right:20px; | padding-right:20px; | ||
background:transparent url(" | background:transparent url("/images/icons/xls.png") center right no-repeat; | ||
} | } | ||
#bodyContent a. | /* 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; | |||
} | } |
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; }