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 * ...")
 
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;
 +
}
 +
 
 +
.tmmnavbox .i1 {
 +
  background: #ccbbff;
 +
text-align: left;
 +
padding: 0 5px;
 +
line-height: 140%;
 +
  }
 +
 
 +
.tmmnavbox td {
 +
text-align: left;
 
}
 
}
   
+
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the              */
+
.productname {
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
+
font-size: 175%;
        font-weight: normal;       /* are styled here so they can be customised.              */
+
  line-height: 140%;
        text-align: right;
+
}
        width: auto;
+
 
 +
.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;
 
}
 
}

Revision as of 11:45, 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;
 }

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

.tmmnavbox td {
text-align: left;
}

.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;
}