MediaWiki:Common.css

Aus MarioWiki
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Speichern den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* <pre><nowiki> */
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
@import "/index.php?title=MediaWiki:Common.css/hilite&action=raw&ctype=text/css";

#footer-info-viewcount { display: none; }


textarea {
    width: 100%;
}

/* Allgemeine Tabellen */

.wikitable, .prettytable {
 margin: 1em 1em 1em 0;
 background: #f9f9f9;
 border: 1px #AAA solid;
 border-collapse: collapse;
 empty-cells:show;
box-shadow: 0 0 6px rgba(0,0,0,0.20);
border-radius:5px;
}

.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
 border: 1px #AAA solid;
 padding: 0.3em;
}
.wikitable th {
background-color:#f3f3f3!important;
}
.wikitable caption,
.prettytable caption {
 margin-left: inherit;
 margin-right: inherit;
 font-weight: bold;
}

.centercol1 td:nth-of-type(1) {
 text-align: center;
}

.centercol2 td:nth-of-type(2) {
 text-align: center;
}

.centercol3 td:nth-of-type(3) {
 text-align: center;
}

.centercol4 td:nth-of-type(4) {
 text-align: center;
}

.centercol5 td:nth-of-type(5) {
 text-align: center;
}

/* Tabelle mit Gitternetz */
table.gitternetz {
  border-collapse: separate!important;
  border-spacing: 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.20);
  border-radius:5px;
  background-color:#fff;
  overflow:hidden;
  border:1px solid #111;
  background-color:#f9f9f9;
}

table.gitternetz tr th,
table.gitternetz tr td {
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 5px;
}

table.gitternetz tr th:last-child, table.gitternetz tr td:last-child {
  border-right:none;
}

table.gitternetz tr:last-child th, table.gitternetz tr:last-child td {
  border-bottom:none;
}

table.gitternetz tr:first-child { 
  border-top-left-radius:5px;
  border-top-right-radius:5px;
}

table.gitternetz tr:last-child {
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
}

table.gitternetz th:last_of_type {
  border-bottom:none;
}

/* top-left border-radius */
table.gitternetz tr:first-child th:first-child {
  border-top-left-radius: 5px;
}

/* top-right border-radius */
table.gitternetz tr:first-child th:last-child {
  border-top-right-radius: 5px;
}

/* bottom-left border-radius */
table.gitternetz tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}

/* bottom-right border-radius */
table.gitternetz tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}

/* collapsed */
table.gitternetz.collapsed tr:first-child th:first-child {
  border-bottom-left-radius:5px;
}

table.gitternetz.collapsed tr:first-child th:last-child {
  border-bottom-right-radius:5px;
}

table.gitternetz.collapsed tr:first-child th {
  border-bottom:none;
}

table.gitternetz.collapsed tr:nth-child(2) th {
  border-top:1px solid #111;
}

table.gitternetz.sortable tbody tr th {
  border-top:none;
}

/*metatable*/
table.metatable tr > td {
border-radius:5px;
}

/* Darstellung von [[Vorlage:Hauptseite/Portal]] */

.portal p {
  padding: 0;
  margin: 0;
}

.portal img {
  max-height: 100%;  
  max-width: 100%; 
  width: auto;
  height: auto;
  position: absolute;  
  top: 0;  
  bottom: 0;  
  left: 0;  
  right: 0;  
  margin: auto;
}

.portal > div > div > div {
  width: 90px;
  height: 90px;
  margin: 0.2em;
  position: relative;
}

/* Siehe auch: [[MediaWiki:Monobook.css]] */
.babelitem {
  margin: 0.2em 0;
  color: #000;
}

.babelitem th {
  width: 2.7em;
  height: 2.7em;
  font-size: 14pt;
  padding: 0 0.2em;
}

.babelitem td {
  line-height: 1.25em;
  font-size: 12pt;
  padding: 4pt;
}


 /* Markierung von Weiterleitungen in [[Special:Allpages]]  */
 
 .allpagesredirect {
     background-color:#F5F5F5;
     font-style: italic;
 }

/*** (± Zahl) wird in den letzen Änderungen bei minus rot dargestellt, bei plus grün ***/

 span.mw-plusminus-pos {color: #006400;} 
 span.mw-plusminus-neg {color: #8B0000;}

/*** font class für 'hellklick' in Balkennavigation ***/

.hellklick a, .hellklick a:visited { 
     text-decoration: underline; color: #fefefe !important;
}
.hellklick a:hover, .hellklick a:active { 
     color: #9ad9ff !important;
}

/*** font class für 'hellklick2' in Tutorial ***/

.hellklick2 a, .hellklick2 a:visited { 
     text-decoration: none; color: #fefefe !important;
}
.hellklick2 a:hover, .hellklick2 a:active { 
     color: #9ad9ff !important; text-decoration: underline;
}

/* Ausklappen per Mausklick (s.a. [[MediaWiki:Common.js]]  */
 
 .klapp {
      cursor: pointer;
 }
 span.klapp {
      text-decoration: none;
      color: #002bb8;
      background: none;
      }
 
 span.klapp:hover {
      text-decoration: underline;
      }
 
 /* Drag & Drop */
 .jstest{
      position:relative;
      cursor:move;
      z-index: 100;
      padding:20px 45px 20px 0px;
      border-width:1px;
      }


/* Klasse für Vorlage:Awards */
.task {
  border: 1px solid #585490; 
  background: #f8faff; 
  padding:.5em; }



/* </pre></nowiki> */

body > iframe { margin: auto; display: block; }
/* Ueberragen unterbinden über die Grenzlinie des Wikis */
 
* {
    word-wrap: break-word;
}
 
/* Reduziert das Ueberragen mit Tables und Pre-Boxen */
 
pre {
    white-space: pre-wrap;
}
/* Anpassung des Benachrichtigungsbalken */
.usermessage {
   background-color: #ffffff;
   border-style: solid;
   border-color: #e60012;
   border-width: 2px;
   box-shadow: 0 0 6px rgba(0,0,0,0.20);
   border-radius:3px;
   width: 100%;
   margin: -1em 0 1em 0;
   padding: .5em 0;
   text-align: center;
}
/* Platzierung des Bildes in MsUpload - Fehlerbehebung
---------------------------------------------------------
*/
#upload-list .file .picture_load canvas {
    margin: 1px 1px 1px -12px;
}


/* Hauptseite */

#content div {
box-sizing:border-box;
}

#main {
width:100%; 
font-size:1em
}

.flexContainer {
display:flex; 
flex-flow:row wrap; 
justify-content:center;
}

.flexBoxWide {
margin:0.3em; 
background:#fdfdfd; 
padding:4px; 
box-sizing:border-box;
flex: 1 1 100%;
min-width:500px;
border-radius:5px;
box-shadow:0 0 6px rgba(0,0,0,0.20);
}

.flexBox {
background:#fdfdfd;
margin:0.3em; 
flex:1 1 45%; 
min-width:500px; 
padding:4px;
border-radius:5px;
box-shadow:0 0 6px rgba(0,0,0,0.20);
display:flex;
flex-flow:column wrap;
}

.flexBoxInner {
background:#fdfdfd; 
min-width:350px; 
padding:4px;
border-radius:5px;
box-shadow:0 0 6px rgba(0,0,0,0.20);
margin:0;
flex: 1;
}

.flexInner {
padding:0.3em 0.6em 0.6em 0.6em;
}

.mainPageTitle {
font-size:20px!important; 
font-family: 'Open Sans', 'Trebuchet MS',  sans-serif!important; 
font-weight:400; 
text-align:center; 
color:#fdfdfd; 
margin:0!important; 
padding:0.4em 0.5em 0.5em 0.5em!important;
border-radius:5px;
box-shadow:0 0 6px rgba(0,0,0,0.20);
border:none;
}

h2.mainPageTitle span.mw-headline b a, 
h2.mainPageTitle span.mw-headline b a:visited  {
color:#fdfdfd!important;
}

.mainPageGallery ul.gallery {
padding:0px!important;
display:inline flow-root list-item;
list-style:none;
}

.mainPageGallery ul.gallery li .thumb {
box-shadow:0 0 6px inset rgba(0,0,0,0.40);
border:none;
background-color:#f9f9f9;
background-image: linear-gradient(to top,#d9d9d9 0%,#ececec 50%,#fff 100%)
}

.mainPageGallery ul.gallery li .thumb > div {
margin:5px auto!important;
}

.mainPageGallery ul.gallery li .thumb:hover {
transform:translate(-1px, 2px);
background-image: linear-gradient(to bottom, #d9d9d9 0%,#ececec 50%,#fff 100%)
}

.mainPageGallery .gallerytext {
display:none;
}

/* Footer-Icon NIWA */
#footer-icons li#footer-poweredbyico a:last-child {
	width: 88px;
	display: inline-block;
	text-align: center;
	background-color: #f9f9f9;
	border-radius: 5px;
	margin-left: 0.5em;
	background-image: linear-gradient(to top,#d9d9d9 0%,#ececec 50%,#fff 100%);
}