Difference between revisions of "MediaWiki:Common.css"

From vb24
Jump to navigation Jump to search
 
(5 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 */
  
h1,h2,h3,h4,h5,h6 {
+
table {
   font-weight: normal !important;
+
   font-size: smaller !important;
}
+
   }
+
//th[scope=row] {
h1,h3,h5 {
+
th {
   color: #333333;
+
  text-align: left !important;
}
+
  }
+
 
h2,h4,h6 {
 
  color: #666666;
 
}
 
 
table, th, tr, td {
 
    vertical-align: top;
 
    }
 
 
.right {
 
    float: right
 
    }
 
 
.part {
 
    margin: 1em;
 
    padding: 1em;
 
    background-color: #EEEEEE;
 
    }
 
 
/* MediaWiki */
 
 
/* Do not force uppercase */
 
/* Do not force uppercase */
 
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a {
 
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a {
    text-transform: none;
+
  text-transform: none;
 
}
 
}
  
/* Wikitable class for skinning normal tables */
+
/* Class wikitable */
 +
/*
 
table.wikitable {
 
table.wikitable {
margin: 1em 1em 1em 0;
+
  margin: 1em 1em 1em 0;
background: #EEEEEE;
+
  background: #EEEEEE;
border: 1px white solid;
+
  border: 1px white solid;
border-collapse: collapse;
+
  border-collapse: collapse;
empty-cells: show;
+
  empty-cells: show;
text-align: left;
+
  text-align: left;
}
+
  }
table.wikitable tr:hover { background-color: #ffffcc; }
+
*/
 +
/*
 +
table.wikitable tr:hover {  
 +
  background-color: #ffffcc;  
 +
  }
 +
*/
 +
/*
 
table.wikitable th, table.wikitable td {
 
table.wikitable th, table.wikitable td {
border: 1px white solid;
+
  border: 1px white solid;
padding: 0.2em 0.4em;
+
  padding: 0.2em 0.4em;
}
+
  }
 +
*/
 +
/*
 
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
 
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
background: #990066;
+
  background: #990066;
color: white;
+
  color: white;
// text-align: center;
+
  }
}
+
*/
 +
/*
 
table.wikitable td.hl1, table.wikitable th.hl1 {
 
table.wikitable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
+
  background: #c5d8fc;
// text-align: center;
+
  }
}
+
*/
 +
/*
 
table.wikitable td.hl2, table.wikitable th.hl2 {
 
table.wikitable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
+
  background: #a7c1f2;
// text-align: center;
+
  }
}
+
*/
 +
/*
 
table.wikitable caption {
 
table.wikitable caption {
margin-left: inherit;
+
  margin-left: inherit;
margin-right: inherit;
+
  margin-right: inherit;
font-weight: bold;
+
  font-weight: bold;
 
}
 
}
 +
*/

Latest revision as of 16:34, 7 February 2015

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

table {
  font-size: smaller !important;
  }
//th[scope=row] {
th {
  text-align: left !important;
  }

/* Do not force uppercase */
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a {
  text-transform: none;
}

/* Class wikitable */
/*
table.wikitable {
  margin: 1em 1em 1em 0;
  background: #EEEEEE;
  border: 1px white solid;
  border-collapse: collapse;
  empty-cells: show;
  text-align: left;
  }
*/
/*
table.wikitable tr:hover { 
  background-color: #ffffcc; 
  }
*/
/*
table.wikitable th, table.wikitable td {
  border: 1px white solid;
  padding: 0.2em 0.4em;
  }
*/
/*
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
  background: #990066;
  color: white;
  }
*/
/*
table.wikitable td.hl1, table.wikitable th.hl1 {
  background: #c5d8fc;
  }
*/
/*
table.wikitable td.hl2, table.wikitable th.hl2 {
  background: #a7c1f2;
  }
*/
/*
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
*/