SpongeForum – unser SpongeBob-Forum

MediaWiki:Common.css

Aus SpongePedia
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
K
 
(38 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
+
@font-face {
 +
  font-family: 'spongefont';
 +
  src: url('skins/fonts/spongefont.eot');
 +
  src: url('skins/fonts/spongefont.woff') format('woff'), url('skinsfonts/spongefont.svg') format('svg');
 +
  font-weight: normal;
 +
  font-style: normal;
 +
}
 +
.spongefont {
 +
  font-family: spongefont, sans-serif;
 +
}
 +
 
 +
.center {
 +
  margin-left: auto;
 +
  margin-rigth: auto;
 +
}
 +
 
 +
.clear {
 +
  clear: both;
 +
}
 +
 
 +
.wikitable th {
 +
  background: #ffffcc !important;
 +
}
 +
.wikitable tr {
 +
  background: #f8f8f8 !important;
 +
}
 +
 
 
.box-hs {
 
.box-hs {
 
   border:            2px solid #6959CD;
 
   border:            2px solid #6959CD;
Zeile 9: Zeile 35:
 
.box-hs h2 {
 
.box-hs h2 {
 
   text-align: center;
 
   text-align: center;
 +
}
 +
 +
.hs table {
 +
  background: none;
 
}
 
}
  
Zeile 14: Zeile 44:
 
   width: 100%
 
   width: 100%
 
}
 
}
 
+
.hs-tabs a:link,
 +
.hs-tabs a:visited {
 +
  color: #000;
 +
}
 
.hs-tabs ul {
 
.hs-tabs ul {
 
   list-style: none;
 
   list-style: none;
 
}
 
}
 
 
.hs-tabs ul li {
 
.hs-tabs ul li {
 
   display: inline-block;
 
   display: inline-block;
   padding: 0.4em 8%;
+
   padding: 8px 8% 0;
   margin: 0 0.2%;
+
   margin: 0 0.5%;
   background-color: #ffff80;
+
   background-color: #ffff70;
 
   height: 32px;
 
   height: 32px;
 
}
 
}
  
.hs table {
+
#hs-wrapper {
  background: none;
+
  background: #ffff70;
 +
  width: 98%;
 +
  margin:  0 auto;
 +
  padding: 8px;
 
}
 
}
 
+
#hs-right {
body.page-Hauptseite h1.firstHeading,
+
  float: right;
body.page-Hauptseite #catlinks,
+
  width: 50%;
body.page-Hauptseite #contentSub {
+
  display: none;
+
 
}
 
}
 
+
#hs-left {
.wikitable {
+
  margin-right: 50%;
  background: #f0f0f0;
+
 
}
 
}
  
.wikitable th {
+
.hs-box {
  background: #ffffcc;
+
  border: 2px solid #4589cd;
 +
  padding: 12px;
 
}
 
}
 +
.hs-box h2 {
 +
  padding: 0 0 10px 0;
 +
  text-align: center;
 +
  font-size: larger;
 +
  font-weight: bold;
 +
  border-bottom: 1px solid #4589cd;
 +
}
 +
.hs-box-top {
 +
  margin: 0 0 8px 0;
 +
}
 +
.hs-box-right {
 +
  margin: 0 0 8px 4px;
 +
}
 +
.hs-box-left {
 +
  margin: 0 4px 8px 0px;
 +
}
 +
#hs-right .hs-box-right:last-child {
 +
  margin-bottom: 0px;
 +
}
 +
#hs-left .hs-box-left:last-child {
 +
  margin-bottom: 0px;
 +
}
 +
/* < IE9 */
 +
.hs-box-last {
 +
  margin-bottom: 0px;
 +
}
 +
 +
@media screen and (max-width:960px) {
  
.wikitable td {
+
  .hs-tabs ul li {
  background: #ffffff;
+
    display: list-item;
 +
    margin: 0;
 +
    text-align: center;
 +
  }
 +
  #hs-right {
 +
    float: none;
 +
    width: 100%;
 +
  }
 +
  #hs-left {
 +
    margin-right: 0;
 +
  }
 +
  .hs-box-right {
 +
    margin-left: 0;
 +
  }
 +
  .hs-box-left {
 +
    margin-right: 0;
 +
  }
 +
  #hs-right .hs-box-right:last-child {
 +
    margin-bottom: 8px;
 +
  }
 
}
 
}
  
Zeile 108: Zeile 188:
  
 
.nav {
 
.nav {
   border:     2px solid #c0c0c0;
+
   border: 1px solid #A7D7F9;
 +
  padding: 1px;
 
   text-align: center;
 
   text-align: center;
   font-size: 90%;
+
   font-size: 90%;
   clear:     both;
+
   clear: both;
 
}
 
}
 
+
.nav-title {
.nav b {
+
   padding: 1px 0;
  background:    #ffffbb;
+
   font-weight: bold;
   padding:       1px 0 1px 0;
+
  background: #ffffcc;
   border-bottom: 2px solid #c0c0c0;
+
}
 +
.nav-content {
 +
  padding: 0 5px;
 
}
 
}
  
/* Alle Seiten einfärben:
+
.nav .mw-collapsible-toggle-collapsed {
#content,
+
  margin-top: -25px;
#mytabs li.selected a,
+
}
#p-cactions li.selected a {
+
.nav .mw-collapsible-toggle-expanded {
background-color: #ffffe6;
+
  margin-top: -28px;
 
}
 
}
*/
 

Aktuelle Version vom 2. März 2013, 19:43 Uhr

@font-face {
  font-family: 'spongefont';
  src: url('skins/fonts/spongefont.eot');
  src: url('skins/fonts/spongefont.woff') format('woff'), url('skinsfonts/spongefont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
.spongefont {
  font-family: spongefont, sans-serif;
}

.center {
  margin-left: auto;
  margin-rigth: auto;
}

.clear {
  clear: both;
}

.wikitable th {
   background: #ffffcc !important;
}
.wikitable tr {
   background: #f8f8f8 !important;
}

.box-hs {
   border:             2px solid #6959CD;
   background-color:   #ffff88;
   border-radius: 5px;
   -moz-border-radius: 5px;
}

.box-hs h2 {
   text-align: center;
}

.hs table {
   background: none;
}

.hs-tabs {
   width: 100%
}
.hs-tabs a:link,
.hs-tabs a:visited {
  color: #000;
}
.hs-tabs ul {
   list-style: none;
}
.hs-tabs ul li {
   display: inline-block;
   padding: 8px 8% 0;
   margin: 0 0.5%;
   background-color: #ffff70;
   height: 32px;
}

#hs-wrapper {
  background: #ffff70;
  width: 98%;
  margin:  0 auto;
  padding: 8px;
}
#hs-right {
  float: right;
  width: 50%;
}
#hs-left {
  margin-right: 50%;
}

.hs-box {
  border:  2px solid #4589cd;
  padding: 12px;
}
.hs-box h2 {
  padding: 0 0 10px 0;
  text-align: center;
  font-size: larger;
  font-weight: bold;
  border-bottom: 1px solid #4589cd;
}
.hs-box-top {
  margin: 0 0 8px 0;
}
.hs-box-right {
  margin: 0 0 8px 4px;
}
.hs-box-left {
  margin: 0 4px 8px 0px;
}
#hs-right .hs-box-right:last-child {
  margin-bottom: 0px;
}
#hs-left .hs-box-left:last-child {
  margin-bottom: 0px;
}
/* < IE9 */
.hs-box-last {
  margin-bottom: 0px;
}

@media screen and (max-width:960px) {

  .hs-tabs ul li {
    display: list-item;
    margin: 0;
    text-align: center;
  }
  #hs-right {
    float: none;
    width: 100%;
  }
  #hs-left {
    margin-right: 0;
  }
  .hs-box-right {
    margin-left: 0;
  }
  .hs-box-left {
    margin-right: 0;
  }
  #hs-right .hs-box-right:last-child {
    margin-bottom: 8px;
  }
}

.regeln {
   border:           1px solid #000000;
   background-color: #F3F3FF;
   padding:          10px;
   font-size:        95%;
}

.blau {
   border:           1px solid #8898BF;
   background-color: #D8E8FF;
   padding:          7px;
}

.gelb {
   border:           1px solid #E1C823;
   background-color: #FFFFCC;
   padding:          7px;
}

.grau {
   border:           1px solid #aaaaaa;
   background-color: #f0f0f0;
   padding:          7px;
}

.gruen {
   border:           1px solid #6AB044;
   background-color: #DDFFAA;
   padding:          7px;
}

.rot {
   border:           1px solid #C55555;
   background-color: #FFCECE;
   padding:          7px;
}

.warnung {
   border:           2px solid #FF0000;
   background-color: #EEE;
   font-size:        100%; 
   padding:          3px;
}

.warnung1 {
   border:           2px solid #FFA500;
   background-color: #EEE;
   font-size:        100%; 
   padding:          3px;
}

.warnung2 {
   border:           2px solid #FF0000;
   background-color: #FFDDDD;
   font-size:        100%; 
   padding:          3px;
}

.nav {
   border: 1px solid #A7D7F9;
   padding: 1px;
   text-align: center;
   font-size: 90%;
   clear: both;
}
.nav-title {
   padding: 1px 0;
   font-weight: bold; 
   background: #ffffcc;
}
.nav-content {
   padding: 0 5px;
}

.nav .mw-collapsible-toggle-collapsed {
  margin-top: -25px;
}
.nav .mw-collapsible-toggle-expanded {
  margin-top: -28px;
}

Varianten
Aktionen
Navigation
SpongePedia
SpongeBob
Spin-Off
Werkzeuge