MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Mikiwiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(129 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* principal settings in "skins/monobook/main.css" */


/*
/* replace the book in the background with something else */
<pre>
/* stop background image from scrolling with content area */
*/
body {
  background: gold;
  background-attachment: fixed;
}


/*****
#mw-head {
** Minor tweaks
  background: gold;
*****/
}
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
  .redirect-in-category, .allpagesredirect {
    font-style: italic;
    color:gray;
    }


#mw-page-base {
  background: gold;
}


div.floatleft {
  margin: 1 0 0 0;
}


  /* hide unneeded content when printing */
div.floatright {
  @media print {
  margin: 0 0 0 0;
      #privacy, #about, #disclaimer {display:none;}
}
      }


div.gallerytext {
  font-size: 85%;
}


  /* hide arrows on selected external links */
h1, h2, h3, h4, h5, h6 {
  .plainlinksneverexpand a {
  color: #FF0000;
      background:none !important;
}
      padding:0 !important;
      }


h1 {
  font-weight: bold;
}


/*****
h2 {
** Hide selected content
  margin-top: 0.5em;
*****/
}
  .hiddenStructure {display: none}


  .if {display: none}
h3, h4 {
  font-weight: normal;
}


img {
  border: 1em;
}


/*****
p {
** Table formatting
  text-align: justify;
*****/
}
  table.wikitable,
  table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }


  table.wikitable th, table.wikitable td,
pre {
  table.prettytable th, table.prettytable td {
  background: lightyellow;
      border:1px #AAA solid;
  background-color: lightyellow;
      padding:0.2em;
  border: 1px solid #ffd700;
      }
  font-family: monospace;
  font-size: 1em;
  margin-left: 1em;
  margin-right: 1em;
  padding: 0.5em;
  width: 49em;
}


  table.wikitable th,
pre.wiki {  
  table.prettytable th {
  background: white;
      background:#F2F2F2;
  background-color: white;
      text-align:center;
  border: 0px solid #000000;
      }
  width: 95%;
}


  table.wikitable caption,
table th, table td {
  table.prettytable caption {
  vertical-align: top;
      margin-left:inherit;
}
      margin-right:inherit;
      }


table.lang {
  margin: 1em 1em 1em 0;
  margin-left: 17px;
  margin-right: auto;
  margin-top: 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  width: 300px;
}


/*****
table.lang th, table.lang td {
** box formatting
  border: 1px solid #aaaaaa;
*****/
  padding: 0.2em;
  .infobox {
  vertical-align: top;
      float:right;
}
      clear:right;
      margin-bottom:0.5em;
      margin-left:1em;
      padding:0.2em;
      border:1px solid #AAA;
      background:#F9F9F9;
      color:black;
      }


  .infobox td,
table.lang th {
  .infobox th {
  background: #f2f2f2;
      vertical-align:top;
  text-align: left;
      }
}


  .infobox caption {
table.list {
      font-size:larger;
  margin: 0 0 0 0;
      margin-left:inherit;
  background: #f9f9f9;
      }
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  width: 100%;
}


  .infobox.bordered {
table.list th, table.list td {
      border-collapse:collapse;
  border: 1px solid #aaaaaa;
      }
  padding: 0.2em;
 
  vertical-align: top;
  .infobox.bordered td,
}
  .infobox.bordered th {
      border:1px solid #AAA;
      }
 
  .infobox.bordered .borderless td,
  .infobox.bordered .borderless th {
      border:0;
      }
 
  .infobox.sisterproject {
      width:20em;
      font-size:90%;
      }
 
  .sister-project {
      clear:right;
      float:right;
      width:250px;
      margin:0 0 1em 3em;
      padding:4px;
      border:1px solid #AAA;
      background:#F9F9F9;
      font-size:0.8em;
      text-align:left;
    }
  /* [[template:other languages]] */
  #otherlangs {
      margin:0.5em;
      padding:2px;
      border:1px solid #CCC;
      background:#FAFAFA;
      font-size:0.9em;
    }
  #otherlangs span {
      margin:0 2px;
      padding-left:2px;
      border-left:1px solid gray;
    }
  #otherlangs span.firstlang {
      border:none;
    }


/*****
table.list th {
** Specific pages (keep to a minimum)
  background: #f2f2f2;
*****/
  text-align: left;
  /* Spam blacklist */
  body.page-Talk_Spam_blacklist #ca-addsection {display:none;}
 
 
  /* Spam blacklist/log */
  .logtable pre {
      margin:0;
      padding:0;
      border:0;
      }
 
/*****
** Bytecounter colours
*****/
strong.mw-plusminus-neg
  {
  color: #c00;
  }
 
span.mw-plusminus-neg
  {
  color: #900;
  }
 
span.mw-plusminus-pos
  {
  color: #060;
  }
 
/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
    padding-right: 16px;
}
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
table.wiki {
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
  margin: 1em 1em 1em 0;
span.PDFlink a {
  background: #f9f9f9;
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
  border: 1px solid #aaaaaa;
    padding-right: 17px !important;
  border-collapse: collapse;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
table.wiki th, table.wiki td {
 
  border: 1px solid #aaaaaa;
div.Boxmerge,
  padding: 2px;
div.NavFrame {
  vertical-align: top;
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
}


/*
table.wiki th {
* Messagebox templates
  background: #f2f2f2;
* Imported from [[en:MediaWiki:Common.css]] on 2007-07-13
  text-align: left;
*/
.messagebox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  width: 80%;
  margin: 0 auto 1em auto;
  padding: .2em;
}
.messagebox.merge {
  border: 1px solid #c0b8cc;
  background-color: #f0e5ff;
  text-align: center;
}
.messagebox.cleanup {
  border: 1px solid #9f9fff;
  background-color: #efefff;
  text-align: center;
}
.messagebox.standard-talk {
  border: 1px solid #c0c090;
  background-color: #f8eaba;
}
.messagebox.nested-talk {
  border: 1px solid #c0c090;
  background-color: #f8eaba;
  width: 100%;
  margin: 2px 4px 2px 4px;
}
.messagebox.small {
  width: 238px;
  font-size: 85%;
  float: right;
  clear: both;
  margin: 0 0 1em 1em;
  line-height: 1.25em;
}
/* For template documentation */
.template-documentation {
  clear: both;
  margin: 1em 0 0 0;
  border: 1px solid #aaa;
  background-color: #ecfcf4;
  padding: 5px;
}
}


.hidden-redlink a.new { display: none; }
table.wikismall {
 
  background: #FFFFFF;
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
  border: 1px solid #aaaaaa;
  instance, will limit to showing ==headings== and ===headings=== but no further (as long as
  border-collapse: collapse;
  there are no =headings= on the page, which there shouldn't be according to the MOS).
  Thanks to w:en:User:Ais523 for that code.*/
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* This section facilitates rtl translations */
.persian {
direction: rtl;
font-family: Tahoma;
}
#bodyContent .persian a, #bodyContent .persian a.external {
background:none;
padding-right:0;
}
}


.persian #toctitle {
table.wikismall th, table.wikismall td {
direction:ltr;
  border: 1px solid #aaaaaa;
  line-height: 100%;
  padding: 0.2em;
  vertical-align: top;
}
}


.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 {
/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
text-align:right;
table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}
}


.persian .toclevel-2 {
/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
margin-right:10px;
table.wikitable th, table.wikitable td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}
}


.persian .toclevel-3 {
/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
margin-right:20px;
table.wikitable th {
  background: #f2f2f2;
  text-align: left;
}
}


.persian .toclevel-4 {
/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
margin-right:30px;
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}
}


.persian .editsection {
/* Links vom Inhaltsverzeichnis 17 Pixel Abstand */
float:left;
#toc, .toc, .mw-warning {
  background-color: #f2f2f2;
  border: 1px solid #aaaaaa;
  margin-left: 17px;
  padding: 5px;
  font-size: 95%;
  width: 310px;
}
}


.persian UL {
/* Überschrift "Inhaltsverzeichnis" ist linksbündig */
margin-right:16px;
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
display:table;
  text-align: left;
}
}


.persian OL {
/* Keine automatische Nummerierung der Inhaltsverzeichniseinträge */
margin-right:16px;
#toc .tocnumber {
display:table;
  display: none;
}
#bodyContent .arabic a{
background:none;
padding-right:0;
}
}


/* Default style for PrettyTextBox and InformationBox class of templates */
/* Unnummerierte Listen mit schwarzem Punkt */
/* Default style for Template:Warning, Template:Info, and the like */
ul {
.InformationBox {
  color: #000000;
  width: 80%;
  list-style-image: none;
  border: solid #999999 1px;
  list-style-type: disc;
  background: #F8F8F8;
  margin: 0.5em auto;
  clear: both;
  color: #000000;  
  padding: 3px;
}
.PrettyTextBox {
  background-color: #F9F9F9;
  color: #000000;
  border: 1px solid #AAAAAA;
  padding: .2em;
}
 
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
    background-color: #DEF;
}
}
sup.reference:target {
    background-color: #DEF;
}
/*
</pre>
*/

Aktuelle Version vom 13. August 2020, 11:51 Uhr

/* CSS placed here will be applied to all skins */
/* principal settings in "skins/monobook/main.css" */

/* replace the book in the background with something else */
/* stop background image from scrolling with content area */
body {
  background: gold;
  background-attachment: fixed;
}

#mw-head {
  background: gold;
}

#mw-page-base {
  background: gold;
}

div.floatleft {
  margin: 1 0 0 0;
}

div.floatright {
  margin: 0 0 0 0;
}

div.gallerytext {
  font-size: 85%;
}

h1, h2, h3, h4, h5, h6 {
  color: #FF0000;
}

h1 {
  font-weight: bold;
}

h2 {
  margin-top: 0.5em;
}

h3, h4 {
  font-weight: normal;
}

img {
  border: 1em;
}

p {
  text-align: justify;
}

pre { 
  background: lightyellow;
  background-color: lightyellow;
  border: 1px solid #ffd700;
  font-family: monospace;
  font-size: 1em;
  margin-left: 1em;
  margin-right: 1em;
  padding: 0.5em;
  width: 49em;
}

pre.wiki { 
  background: white;
  background-color: white;
  border: 0px solid #000000;
  width: 95%;
}

table th, table td {
  vertical-align: top;
}

table.lang {
  margin: 1em 1em 1em 0;
  margin-left: 17px;
  margin-right: auto;
  margin-top: 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  width: 300px;
}

table.lang th, table.lang td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}

table.lang th {
  background: #f2f2f2;
  text-align: left;
}

table.list {
  margin: 0 0 0 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  width: 100%;
}

table.list th, table.list td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}

table.list th {
  background: #f2f2f2;
  text-align: left;
}

table.wiki {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}

table.wiki th, table.wiki td {
  border: 1px solid #aaaaaa;
  padding: 2px;
  vertical-align: top;
}

table.wiki th {
  background: #f2f2f2;
  text-align: left;
}

table.wikismall {
  background: #FFFFFF;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}

table.wikismall th, table.wikismall td {
  border: 1px solid #aaaaaa;
  line-height: 100%;
  padding: 0.2em;
  vertical-align: top;
}

/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}

/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
table.wikitable th, table.wikitable td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}

/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
table.wikitable th {
  background: #f2f2f2;
  text-align: left;
}

/* Soll in der ganzen Datenbank durch "wiki" ersetzt werden */
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/* Links vom Inhaltsverzeichnis 17 Pixel Abstand */
#toc, .toc, .mw-warning {
  background-color: #f2f2f2;
  border: 1px solid #aaaaaa;
  margin-left: 17px;
  padding: 5px;
  font-size: 95%;
  width: 310px;
}

/* Überschrift "Inhaltsverzeichnis" ist linksbündig */
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
  text-align: left;
}

/* Keine automatische Nummerierung der Inhaltsverzeichniseinträge */
#toc .tocnumber {
  display: none;
}

/* Unnummerierte Listen mit schwarzem Punkt */
ul {
  color: #000000;
  list-style-image: none;
  list-style-type: disc;
}