Difference between revisions of "MediaWiki:Common.css"

From database24
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   font-weight: normal !important;
 
   font-weight: normal !important;
 
}
 
}
 
 
h1,h3,h5 {
 
h1,h3,h5 {
 
   color: #990066;
 
   color: #990066;
 
}
 
}
 
 
h2,h4,h6 {
 
h2,h4,h6 {
 
   color: #666666;
 
   color: #666666;
Line 50: Line 48:
 
   
 
   
 
/* MediaWiki */
 
/* 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 */
 
/* Wikitable class for skinning normal tables */
 
table.wikitable {
 
table.wikitable {
 
   margin: 1em 1em 1em 0;
 
   margin: 1em 1em 1em 0;
   background: #EEEEEE;
+
   padding: 0.2em 0.4em;
 
   border: 1px white solid;
 
   border: 1px white solid;
 
   border-collapse: collapse;
 
   border-collapse: collapse;
 
   empty-cells: show;
 
   empty-cells: show;
 +
  background: #EEEEEE;
 
   text-align: left;
 
   text-align: left;
 
   }
 
   }
Line 68: Line 68:
 
   font-weight: bold;
 
   font-weight: bold;
 
   }
 
   }
table.wikitable th, table.wikitable td {
+
table.wikitable tr th, table.wikitable tr td {
   border: 1px white solid;
+
   // border: 1px white solid;
   padding: 0.2em 0.4em;
+
   // padding: 0.2em 0.4em;
 +
  // text-align: left;
 
}
 
}
 
// Colors
 
// Colors
table.wikitable th {
+
table.wikitable tr th {
 +
  color: #990066;
 
   background-color: #666666;
 
   background-color: #666666;
 
   }
 
   }
Line 79: Line 81:
 
   background-color: #ffffcc;  
 
   background-color: #ffffcc;  
 
   }
 
   }
/*
 
table.wikitable td.hl1, table.wikitable th.hl1 {
 
  background: #c5d8fc;
 
}
 
table.wikitable td.hl2, table.wikitable th.hl2 {
 
  background: #a7c1f2;
 
}
 
table.wikitable td.hl3, table.wikitable th.hl3 {
 
  background: #990066;
 
  color: #990066;
 
}
 
*/
 

Latest revision as of 15:43, 12 October 2016

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

h1,h2,h3,h4,h5,h6 {
  font-weight: normal !important;
}
h1,h3,h5 {
  color: #990066;
}
h2,h4,h6 {
  color: #666666;
}

code,pre {
  font-family: "Lucida Console", Monaco, monospace;
  }

table, th, tr, td {
  vertical-align: top;
  text-align: left;
  }
caption {
  caption-side: bottom;
}

.right {
  float: right;
  }
 
.part {
  margin: 1em;
  padding: 1em;
  background-color: #EEEEEE;
  }

/* MediaWiki Logo and Portlets */
/* The footer and the other bars need to be adjusted too ...
#column-one {
  position:fixed;
}
*/

/* Table of Contents */
#toc {
  /* position: fixed; */
  float: right;
  margin: 1em 0 1em 2em;
  }
 
/* MediaWiki */
/* Do not force uppercase 
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a {
  text-transform: none;
  }
*/

/* Wikitable class for skinning normal tables */
table.wikitable {
  margin: 1em 1em 1em 0;
  padding: 0.2em 0.4em;
  border: 1px white solid;
  border-collapse: collapse;
  empty-cells: show;
  background: #EEEEEE;
  text-align: left;
  }
table.wikitable caption {
  caption-side: bottom;
  font-weight: bold;
  }
table.wikitable tr th, table.wikitable tr td {
  // border: 1px white solid;
  // padding: 0.2em 0.4em;
  // text-align: left;
}
// Colors
table.wikitable tr th {
  color: #990066;
  background-color: #666666;
  }
table.wikitable tr:hover { 
  background-color: #ffffcc; 
  }