Template:Styles/mystyles2.css: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
(Created page with "boo")
 
No edit summary
Line 1: Line 1:
boo
.column-demo{
float:left;
}
.column-demo td:nth-child(2n) {
    background-color: red;
}
.mw-redirect {
    color: gray; 
}
.zebra {
float:right;
}
.zebra tr:nth-child(odd) {
    background-color: #eee;
}
.zebra tr:nth-child(even) {
    background-color: #abc;
}
/*Fixed table header demo*/
#scrolltable { margin-top: 20px; height: 200px; overflow: auto; }
#scrolltable th div { position: absolute; margin-top: -20px; }

Revision as of 15:58, 16 April 2018

.column-demo{ float:left; } .column-demo td:nth-child(2n) {

   background-color: red;

} .mw-redirect {

    color: gray;   

} .zebra { float:right; } .zebra tr:nth-child(odd) {

   background-color: #eee;

} .zebra tr:nth-child(even) {

   background-color: #abc;

} /*Fixed table header demo*/

  1. scrolltable { margin-top: 20px; height: 200px; overflow: auto; }
  2. scrolltable th div { position: absolute; margin-top: -20px; }