Difference between revisions of "MediaWiki:Common.css"

From Legion Wiki
Jump to navigationJump to search
m
m
Line 53: Line 53:
  
 
/* wikitable class for skinning normal tables */
 
/* wikitable class for skinning normal tables */
table.wikitable {
+
table.wikitable, table.wikitable2 {
 
     margin: 1em 1em 1em 0;
 
     margin: 1em 1em 1em 0;
 
     background: #f9f9f9;
 
     background: #f9f9f9;
Line 59: Line 59:
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
}
 
}
.wikitable th, .wikitable td {
+
.wikitable th, .wikitable td, .wikitable2 th, .wikitable2 td {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
 
     padding: 0.2em;
 
     padding: 0.2em;
Line 67: Line 67:
 
     text-align: center;
 
     text-align: center;
 
}
 
}
.wikitable caption {
+
.wikitable caption, .wikitable2 caption {
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}

Revision as of 19:05, 10 January 2011

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

/* +/- colours for recentchanges */

.mw-plusminus-pos { color: #060; }
.mw-plusminus-neg { color: #e10000; }

/* Colour key, currently in beta with old colours */

.preboot_prec_cameo {background:#f0d8d8}
.preboot_prec_heading {background:#ff8080}
.preboot_prec_outera {background:#ffd5d5}
.preboot_prec_reprint {background:#ffd5f5}

.preboot_postc_cameo {background:#d8d8f0}
.preboot_postc_heading {background:#8080ff}
.preboot_postc_outera {background:#d5d5ff}
.preboot_postc_reprint {background:#d0e8ff}

.preboot_5yl_cameo {background:#ded1ef}
.preboot_5yl_heading {background:#cc99ff}
.preboot_5yl_outera {background:#e5cfff}
.preboot_5yl_reprint {background:#efcfff}

.preboot_retro_cameo {background:#e6dcce}
.preboot_retro_heading {background:#cb9056}
.preboot_retro_outera {background:#f3e2c2}
.preboot_retro_reprint {background:#f4e2d2}

.postboot_postzh_cameo {background:#d5f4bf}
.postboot_postzh_heading {background:#5be85b}
.postboot_postzh_outera {background:#dfffc5}
.postboot_postzh_reprint {background:#d5ffd5}

.threeboot_eprime_cameo {background:#dcdfc3}
.threeboot_eprime_heading {background:#96a02c}
.threeboot_eprime_outera {background:#e8efaf}
.threeboot_eprime_reprint {background:#efecd1}

.elseworlds_cameo {background:#e5e5e5}
.elseworlds_heading {background:#cccccc}
.elseworlds_outera {background:#e5e5e5}
.elseworlds_reprint {background:#dadada}

.cartoon_dcau_heading {background:#ffe25f}
.cartoon_dcau_outera {background:#fff0af}

.cartoon_lsh_heading {background:#ffb84f}
.cartoon_lsh_outera {background:#ffd9a0}
.cartoon_lsh_reprint {background:#ffdec4}

/* Stuff that bloody well should be in the default stylesheet (check what else is missing later...) */

/* wikitable class for skinning normal tables */
table.wikitable, table.wikitable2 {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td, .wikitable2 th, .wikitable2 td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption, .wikitable2 caption {
    font-weight: bold;
}

/* hide initially collapsed collapsable tables */
table.collapsed tr.collapsable {
	display: none;
}