MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Die Offene Bibel

Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „→‎CSS an dieser Stelle wirkt sich auf alle Skins aus: #mainpage_topbox { background: #f9f9f9; padding: 0px; border: 1px solid #aaaaaa; margin: 0.2e...“)
 
Zeile 1: Zeile 1:
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
+
#hauptseite h2 {
 
+
      background-color: #d8e8ff;
#mainpage_topbox {
+
      border: 1px solid #8898bf;
  background: #f9f9f9;
+
      font-size: 1em;
  padding: 0px;  
+
      font-weight: bold;
  border: 1px solid #aaaaaa;  
+
      margin-top: 0;
  margin: 0.2em 10px 10px;
+
      margin-bottom: 0;
}
+
      padding-top: 0.1em;
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
+
      padding-bottom: 0.1em;
  font-size: 105%;  
+
}
  padding: 0.4em;  
+
#hauptseite .inhalt {
  background-color: #eeeeee;  
+
      background-color: #ffffff;
  border-bottom: 1px solid #aaaaaa;  
+
      border: 1px solid #8898bf;
}
+
      border-top: 0px solid white;
.mainpage_boxtitle {
+
      padding: 0.3em 0.8em 0.4em 0.8em;
  line-height: 120%;
+
}
}
+
#hauptseite .inhalt hr {
#mainpage_pagetitle {
+
      background-color: #8898bf;
  color: #cf7606;  
+
      color: #8898bf;
  font-size: 200% !important;
+
      height: 1px;
}
+
      margin:0.5em 0;
#mainpage_sitelinks {
+
      padding: 0;
  padding: 0.2em;  
+
}
  text-align: center;
+
#hauptseite .inhalt .mehr {
  background-color: white;
+
      clear: both;
}
+
      font-size: 95%;
.mainpage_hubtitle {
+
      margin-top: 0.8em;
  text-align: center;
+
      text-align: right;
}
+
}
.mainpage_boxcontents, .mainpage_boxcontents_small {
 
  background: #ffffff;
 
  padding:0.2em 0.4em;
 
}
 
.mainpage_boxcontents_small {
 
  font-size: 95%;
 
}
 
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
 
  padding: 0;
 
  border: 1px solid #aaaaaa;
 
}
 
.mainpage_hubbox {
 
  margin-bottom: 0;
 
}
 
#mainpage_newscell {
 
  margin-bottom: 15px;
 
  margin-top: 0 !important;
 
}
 
#mainpage_newscell .mainpage_boxtitle {
 
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
 
  background-repeat: no-repeat;
 
  background-position: 99% 0.3em;
 
  padding-right: 25px;
 
}
 
#mainpage_downloadcell {
 
  width: 17em;
 
  margin-bottom: 5px;
 
}
 
#mainpage_downloadcell .mainpage_boxtitle {
 
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
 
  background-repeat: no-repeat;
 
  background-position: 96% 0.33em;
 
  padding-right: 25px;
 
}
 
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
 
 
   
 
   
/*The "mainpage" class is added to the body with javascript for the main page in all */
+
#hauptseite table {
/*languages, so we can style things that apppear on the main page and also elsewhere.*/
+
      background-color: transparent;
.mainpage #lastmod,  
+
}
.mainpage #siteSub,
+
.mainpage h1.firstHeading {  
+
.hauptseite-oben,
    display: none !important;  
+
.hauptseite-links,
}  
+
.hauptseite-rechts {
.mainpage #content {  
+
      margin-bottom: 1em;
    padding-top: 1em;  
+
}
}
+
.hauptseite-links {
 +
      margin-right: 0.5em;
 +
}
 +
.hauptseite-rechts {
 +
      margin-left: 0.5em;
 +
}
 +
.hauptseite-oben h2,
 +
.hauptseite-unten h2 {
 +
      text-align: center;
 +
}
 +
.hauptseite-oben .inhalt .portale {
 +
      font-weight: bold;
 +
      margin-top: 0.2em;
 +
      margin-bottom: 0.2em;
 +
}
 +
.hauptseite-oben .inhalt .intern {
 +
      font-size: 90%;
 +
      text-align: center;
 +
}
 +
.hauptseite-links h2,
 +
.hauptseite-rechts h2 {
 +
      text-indent: 0.8em;
 +
}
 +
#hauptseite-schwesterprojekte .inhalt a {
 +
      font-weight: bold;
 +
}

Version vom 26. Mai 2009, 23:06 Uhr

 #hauptseite h2 {
       background-color: #d8e8ff;
       border: 1px solid #8898bf;
       font-size: 1em;
       font-weight: bold;
       margin-top: 0;
       margin-bottom: 0;
       padding-top: 0.1em;
       padding-bottom: 0.1em;
 }
 #hauptseite .inhalt {
       background-color: #ffffff;
       border: 1px solid #8898bf;
       border-top: 0px solid white;
       padding: 0.3em 0.8em 0.4em 0.8em;
 }
 #hauptseite .inhalt hr {
       background-color: #8898bf;
       color: #8898bf;
       height: 1px;
       margin:0.5em 0;
       padding: 0;
 }
 #hauptseite .inhalt .mehr {
       clear: both;
       font-size: 95%;
       margin-top: 0.8em;
       text-align: right;
 }
 
 #hauptseite table {
       background-color: transparent;
 }
 
 .hauptseite-oben,
 .hauptseite-links,
 .hauptseite-rechts {
       margin-bottom: 1em;
 }
 .hauptseite-links {
       margin-right: 0.5em;
 }
 .hauptseite-rechts {
       margin-left: 0.5em;
 }
 .hauptseite-oben h2,
 .hauptseite-unten h2 {
       text-align: center;
 }
 .hauptseite-oben .inhalt .portale {
       font-weight: bold;
       margin-top: 0.2em;
       margin-bottom: 0.2em;
 }
 .hauptseite-oben .inhalt .intern {
       font-size: 90%;
       text-align: center;
 }
 .hauptseite-links h2,
 .hauptseite-rechts h2 {
       text-indent: 0.8em;
 }
 #hauptseite-schwesterprojekte .inhalt a {
       font-weight: bold;
 }