Difference between revisions of "MediaWiki:Common.css"

From Mibbit Wiki
Jump to: navigation, search
Line 73: Line 73:
  
 
*/
 
*/
 
+
/* Folding wiki tabs: folder-like tab style */
/* Folding wiki tabs: inset box style */
+
 
.foldtabSet {
 
.foldtabSet {
 +
  position: relative;
 
}
 
}
 
.foldtabBox {
 
.foldtabBox {
  padding:.5em;
+
background-color:#DFF2BF;
  background-color:#fffff2;
+
border:1px solid #ACC08C;
  border:2px inset grey;
+
padding:5px; align:center;
}
+
-moz-border-radius:8px;
.foldtabHead {
+
  padding-bottom:10px;
+
 
}
 
}
 
.foldtabHead a {  
 
.foldtabHead a {  
   border:2px outset grey;
+
   border:1px solid #0000aa;  
   padding:8px;
+
   padding:.13em 1em;
 +
  background-color:#e0e0ff;
 +
  -moz-border-radius-topleft:.35em;
 +
  -moz-border-radius-topright:.35em;
 
   text-decoration:none;
 
   text-decoration:none;
   background-color:#f2f2f2;
+
   color:#0000aa;
 +
  font-size:150%;
 +
  position: relative;
 +
  z-index: 0;
 
}
 
}
 
.foldtabHead a.selected {  
 
.foldtabHead a.selected {  
   border:2px inset grey;
+
   border-width:2px;
   background-color:#f2f2f2;
+
  border-bottom:none;
   font-weight:bold;
+
   background-color:#ffffff;
 +
   z-index: 2;
 
}
 
}
 
.foldtabHead p { padding:0;margin:0; }
 
.foldtabHead p { padding:0;margin:0; }

Revision as of 21:35, 21 December 2009

/* wikitable/prettytable class for skinning normal tables */
 
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
 
/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 5px;
    text-align: center;
    width: 100%;
}
 
table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}
 
table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}
 
@media print {
    .navbox {
        display: none;
    }
}

/* Havvy

TODO:  Links & Navigation & PRE type elements.

#content {
    background-color: #D5FFB9;
    color:  #950710;
    }

textarea, input {
   color: #950710;
   background-color: #E0FFC0;
   border: 1px solid #93C145;
   font-size: 10pt;
}

*/
/* Folding wiki tabs: folder-like tab style */
.foldtabSet {
  position: relative;
}
.foldtabBox {
background-color:#DFF2BF;
border:1px solid #ACC08C;
padding:5px; align:center;
-moz-border-radius:8px;
}
.foldtabHead a { 
  border:1px solid #0000aa; 
  padding:.13em 1em;
  background-color:#e0e0ff;
  -moz-border-radius-topleft:.35em;
  -moz-border-radius-topright:.35em;
  text-decoration:none;
  color:#0000aa;
  font-size:150%;
  position: relative;
  z-index: 0;
}
.foldtabHead a.selected { 
  border-width:2px;
  border-bottom:none;
  background-color:#ffffff;
  z-index: 2;
}
.foldtabHead p { padding:0;margin:0; }