MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus IntactiWiki
Zur Navigation springen Zur Suche springen
K (add numbered lists)
 
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
+
/* CSS placed here will be applied to all skins */
  
#hauptseite h2 {
+
/* don't show categories on main page */
    background: none repeat scroll 0 0 #D8E8FF;
+
body.page-Hauptseite #catlinks { display : none }
    border: 1px solid #8898BF;
+
 
    font-size: 1em;
+
#mainpage h2 {
    font-weight: bold;
+
  background: none repeat scroll 0 0 #D8E8FF;
    margin: 0;
+
  border: 1px solid #8898BF;
    padding: 0.1em 0;
+
  font-size: 1em;
 +
  font-weight: bold;
 +
  margin: 0;
 +
  padding: 0.1em 0;
 +
}
 +
 
 +
#mainpage .content {
 +
  -moz-border-bottom-colors: none;
 +
  -moz-border-left-colors: none;
 +
  -moz-border-right-colors: none;
 +
  -moz-border-top-colors: none;
 +
  background: none repeat scroll 0 0 #FFFFFF;
 +
  border-color: -moz-use-text-color #8898BF #8898BF;
 +
  border-image: none;
 +
  border-right: 1px solid #8898BF;
 +
  border-style: none solid solid;
 +
  border-width: 0 1px 1px;
 +
  min-height: 0;
 +
  padding: 0.3em 0.8em 0.4em;
 +
}
 +
 
 +
.mainpage-top,
 +
.mainpage-left,
 +
.mainpage-right {
 +
  margin-bottom: 1em;
 +
}
 +
 
 +
.mainpage-top h2,
 +
.mainpage-bottom h2 {
 +
  text-align: center;
 +
}
 +
 
 +
.mainpage-left h2,
 +
.mainpage-right h2 {
 +
  text-indent: 0.8em;
 +
}
 +
 
 +
.mainpage-left{
 +
  margin-right: 0.5em;
 +
}
 +
 
 +
.mainpage-right{
 +
  margin-left: 0.5em;
 +
}
 +
 
 +
.box{
 +
  border-width:1px;
 +
  border-style:solid;
 +
  border-color:#aaaaaa;
 +
  padding: 0.3em 0.8em 0.4em;
 +
}
 +
 
 +
.citation,
 +
blockquote{
 +
  border-width:0 0 0 1px;
 +
  border-style:solid;
 +
  border-color:Blue;
 +
  padding: 0 0 0 1em;
 +
  margin: 0 0 1 1em;
 +
}
 +
 
 +
.red{
 +
  color:red;
 +
}
 +
 
 +
/* From IntactWiki */
 +
.infobox {
 +
  clear:right;
 +
  float:right;
 +
  border:1px solid #8898BF;
 +
  margin-left:1em;
 
}
 
}
  
#hauptseite .inhalt {
+
pre {
    -moz-border-bottom-colors: none;
+
  padding: 4px;
    -moz-border-left-colors: none;
 
    -moz-border-right-colors: none;
 
    -moz-border-top-colors: none;
 
    background: none repeat scroll 0 0 #FFFFFF;
 
    border-color: -moz-use-text-color #8898BF #8898BF;
 
    border-image: none;
 
    border-right: 1px solid #8898BF;
 
    border-style: none solid solid;
 
    border-width: 0 1px 1px;
 
    min-height: 0;
 
    padding: 0.3em 0.8em 0.4em;
 
 
}
 
}
  
.hauptseite-oben,
+
/* To make images responsive */
.hauptseite-links,
+
.res-img img {
.hauptseite-rechts {
+
max-width:100%;
    margin-bottom: 1em;
+
height:auto;
 
}
 
}
  
.hauptseite-oben h2,
+
/* Hide headline on Main Page */
.hauptseite-unten h2 {
+
 
    text-align: center;
+
.page-Main_Page #firstHeading {
 +
  display: none;
 
}
 
}
  
.hauptseite-links h2,
+
/* numbered lists */
.hauptseite-rechts h2 {
+
ol li > ol {  
    text-indent: 0.8em;
+
list-style-type: lower-alpha;  
 
}
 
}
 +
ol li > ol li > ol {
 +
list-style-type: lower-roman;
 +
}
 +
 +
<noinclude>[[en:MediaWiki:Common.css]]</nowiki>

Aktuelle Version vom 11. April 2022, 11:20 Uhr

/* CSS placed here will be applied to all skins */

/* don't show categories on main page */
body.page-Hauptseite #catlinks { display : none }

#mainpage h2 {
   background: none repeat scroll 0 0 #D8E8FF;
   border: 1px solid #8898BF;
   font-size: 1em;
   font-weight: bold;
   margin: 0;
   padding: 0.1em 0;
}

#mainpage .content {
   -moz-border-bottom-colors: none;
   -moz-border-left-colors: none;
   -moz-border-right-colors: none;
   -moz-border-top-colors: none;
   background: none repeat scroll 0 0 #FFFFFF;
   border-color: -moz-use-text-color #8898BF #8898BF;
   border-image: none;
   border-right: 1px solid #8898BF;
   border-style: none solid solid;
   border-width: 0 1px 1px;
   min-height: 0;
   padding: 0.3em 0.8em 0.4em;
}

.mainpage-top, 
.mainpage-left, 
.mainpage-right {
   margin-bottom: 1em;
}

.mainpage-top h2, 
.mainpage-bottom h2 {
   text-align: center;
}

.mainpage-left h2, 
.mainpage-right h2 {
   text-indent: 0.8em;
}

.mainpage-left{
   margin-right: 0.5em;
}

.mainpage-right{
   margin-left: 0.5em;
}

.box{
   border-width:1px;
   border-style:solid;
   border-color:#aaaaaa;
   padding: 0.3em 0.8em 0.4em;
}

.citation, 
blockquote{
   border-width:0 0 0 1px;
   border-style:solid;
   border-color:Blue;
   padding: 0 0 0 1em;
   margin: 0 0 1 1em;
}

.red{
   color:red;
}

/* From IntactWiki */
.infobox {
   clear:right;
   float:right;
   border:1px solid #8898BF;
   margin-left:1em;
}

pre {
   padding: 4px;
}

/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}

/* Hide headline on Main Page */

.page-Main_Page #firstHeading {
   display: none;
}

/* numbered lists */
ol li > ol { 
	list-style-type: lower-alpha; 
}
ol li > ol li > ol { 
	list-style-type: lower-roman; 
}

<noinclude>[[en:MediaWiki:Common.css]]</nowiki>