Difference between revisions of "MediaWiki:Common.css"

From IntactiWiki
Jump to navigation Jump to search
(Created page with "CSS placed here will be applied to all skins: #mainpage h2 { background: none repeat scroll 0 0 #D8E8FF; border: 1px solid #8898BF; font-size: 1em; font-...")
 
m (clear .quote)
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* don't show categories on main page */
 +
body.page-Main_Page #catlinks { display : none }
  
 
#mainpage h2 {
 
#mainpage h2 {
    background: none repeat scroll 0 0 #D8E8FF;
+
  background: none repeat scroll 0 0 #D8E8FF;
    border: 1px solid #8898BF;
+
  border: 1px solid #8898BF;
    font-size: 1em;
+
  font-size: 1em;
    font-weight: bold;
+
  font-weight: bold;
    margin: 0;
+
  margin: 0;
    padding: 0.1em 0;
+
  padding: 0.1em 0;
 
}
 
}
  
 
#mainpage .content {
 
#mainpage .content {
    -moz-border-bottom-colors: none;
+
  -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
+
  -moz-border-left-colors: none;
    -moz-border-right-colors: none;
+
  -moz-border-right-colors: none;
    -moz-border-top-colors: none;
+
  -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #FFFFFF;
+
  background: none repeat scroll 0 0 #FFFFFF;
    border-color: -moz-use-text-color #8898BF #8898BF;
+
  border-color: -moz-use-text-color #8898BF #8898BF;
    border-image: none;
+
  border-image: none;
    border-right: 1px solid #8898BF;
+
  border-right: 1px solid #8898BF;
    border-style: none solid solid;
+
  border-style: none solid solid;
    border-width: 0 1px 1px;
+
  border-width: 0 1px 1px;
    min-height: 0;
+
  min-height: 0;
    padding: 0.3em 0.8em 0.4em;
+
  padding: 0.3em 0.8em 0.4em;
 
}
 
}
  
Line 28: Line 31:
 
.mainpage-left,  
 
.mainpage-left,  
 
.mainpage-right {
 
.mainpage-right {
    margin-bottom: 1em;
+
  margin-bottom: 1em;
 
}
 
}
  
 
.mainpage-top h2,  
 
.mainpage-top h2,  
 
.mainpage-bottom h2 {
 
.mainpage-bottom h2 {
    text-align: center;
+
  text-align: center;
 
}
 
}
  
 
.mainpage-left h2,  
 
.mainpage-left h2,  
 
.mainpage-right h2 {
 
.mainpage-right h2 {
    text-indent: 0.8em;
+
  text-indent: 0.8em;
 
}
 
}
  
 
.mainpage-left{
 
.mainpage-left{
    margin-right: 0.5em;
+
  margin-right: 0.5em;
 
}
 
}
  
 
.mainpage-right{
 
.mainpage-right{
    margin-left: 0.5em;
+
  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 1em 1em;
 +
}
 +
 
 +
.quote {
 +
}
 +
 
 +
.red{
 +
  color:red;
 +
}
 +
 
 +
.thumbborder {
 +
  border:1px solid #000;
 +
}
 +
 
 +
/* From IntactWiki */
 +
.infobox {
 +
  clear:right;
 +
  float:right;
 +
  border:1px solid #8898BF;
 +
  margin-left:1em;
 +
}
 +
 
 +
pre {
 +
  padding: 4px;
 +
}
 +
 
 +
/* Hide headline on Main Page */
 +
 
 +
.page-Main_Page #firstHeading {
 +
  display: none;
 +
}
 +
 
 +
/* To make images responsive */
 +
.res-img img {
 +
max-width:100%;
 +
height:auto;
 +
}
 +
 
 +
/* numbered lists */
 +
ol li > ol {
 +
list-style-type: lower-alpha;  
 
}
 
}
 +
ol li > ol li > ol {
 +
list-style-type: lower-roman;
 +
}
 +
 +
<noinclude>[[de:MediaWiki:Common.css]]</nowiki>

Latest revision as of 07:33, 22 July 2022

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

/* don't show categories on main page */
body.page-Main_Page #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 1em 1em;
}

.quote {
}

.red{
   color:red;
}

.thumbborder {
   border:1px solid #000;
}

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

pre {
   padding: 4px;
}

/* Hide headline on Main Page */

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

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

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

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