Difference between revisions of "MediaWiki:Common.css"

From Offerit
Jump to: navigation, search
(Created page with "/** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * ...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/** Collapsible tables *********************************************************
+
/* CSS placed here will be applied to all skins */
  *
+
/* prevent ugly horizontal page expansion */
  * Description: Allows tables to be collapsed, showing only the header. See
+
pre { overflow: auto; }
  *                        http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
+
/*** Used for most tables -DAH ***/
  * Maintainers: [[en:User:R. Koot]]
+
.tmplfunc th {
  */
+
background-color: grey;
   
+
}
table.collapsed tr.collapsible {
+
 
        display: none;
+
/*** Used for right-side naviagation menus ***/
 +
.offeritnavbox {
 +
  float: right;
 +
  clear: right;
 +
  border: 1px solid #8888aa;
 +
  background: #f7f8ff;
 +
padding: 5px;
 +
  font-size: 85%;
 +
  margin: 0 15px 0 15px;
 +
line-height: 100%;
 +
width: 250px;
 +
}
 +
 
 +
.offeritnavbox .i1 {
 +
  background: #C0C0C0;
 +
text-align: left;
 +
padding: 0 5px;
 +
line-height: 140%;
 +
  }
 +
 
 +
.offeritnavbox td {
 +
text-align: left;
 
}
 
}
   
+
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the              */
+
a.offeritnavbox:link{ color: #385E0F;}
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
+
 
        font-weight: normal;       /* are styled here so they can be customised.              */
+
.productname {
        text-align: right;
+
  font-size: 175%;
        width: auto;
+
line-height: 140%;
 +
}
 +
 
 +
.nofloat {
 +
float: none;
 +
}
 +
 
 +
.redtext {
 +
    color: red;
 +
    }
 +
 
 +
.bothclear {
 +
    clear: both;
 +
}
 +
 
 +
.def_box {
 +
float: right;  
 +
clear: right;
 +
border: 1px solid #8888aa;
 +
background: #f7f8ff;
 +
padding: 15px;
 +
font-size: 85%;
 +
margin: 0 15px 15px 15px;
 +
line-height: 100%;
 +
width: 250px;
 +
text-align: justify;
 +
}
 +
 
 +
.def_box .title {
 +
font-size: 1.5em;
 +
font-weight: 700;
 +
text-align: center;
 
}
 
}

Latest revision as of 10:57, 7 October 2011

/* CSS placed here will be applied to all skins */
/* prevent ugly horizontal page expansion */
pre { overflow: auto; } 
/*** Used for most tables -DAH ***/
.tmplfunc th {
 background-color: grey;
 }

/*** Used for right-side naviagation menus ***/
.offeritnavbox {
 float: right; 
 clear: right; 
 border: 1px solid #8888aa; 
 background: #f7f8ff; 
 padding: 5px; 
 font-size: 85%; 
 margin: 0 15px 0 15px;
 line-height: 100%;
 width: 250px;
 }

.offeritnavbox .i1 {
 background: #C0C0C0;
 text-align: left; 
 padding: 0 5px;
 line-height: 140%;
 }

.offeritnavbox td {
text-align: left;
}

a.offeritnavbox:link{ color: #385E0F;}

.productname {
 font-size: 175%;
 line-height: 140%;
 }

.nofloat {
 float: none;
 }

.redtext {
    color: red;
    }

.bothclear {
    clear: both;
}

.def_box {
 float: right; 
 clear: right; 
 border: 1px solid #8888aa; 
 background: #f7f8ff; 
 padding: 15px; 
 font-size: 85%; 
 margin: 0 15px 15px 15px;
 line-height: 100%;
 width: 250px;
 text-align: justify;
 }

.def_box .title {
 font-size: 1.5em;
 font-weight: 700;
 text-align: center;
}