User:TotesNeato/common.css

/*** TABLES ***/

/* Overall look of the table. */ table.borderlands { margin: 0.5em 0.5em 0.5em 0; background: var(--custom-navbox-background-color); border-collapse: collapse; border: 1px solid var(--theme-border-color); color: white; }

/* Basic borders and padding for the table cells and table header cells. */ table.borderlands td { border: 1px solid var(--theme-border-color); padding: 3px 7px; }

/* All header cells will be subject to the same coloring. */ table.borderlands th { border: 1px solid var(--theme-border-color); padding: 3px 7px; font-weight: bold; background: #222; text-align: center; }

/* Applied to the entire sub-header row. */ table.borderlands tr.subheader { font-style: italic; }

/* Make both the subheader th and td cells look the same. Overrides the normal header cell color, and reserves bolding for the main header cells. */ table.borderlands tr.subheader th { background: #333; font-weight: normal; } table.borderlands tr.subheader td { background: #333; }

/* Alternate color for row differentiation. */ table.borderlands tr.alt_row { background: #404040; }

/* These allow automatic coloring of rarities */ .rarity-common,     .rarity-common a       { color: rgb(150,150,150) ; text-shadow: 0px 0px 3px black ; } .rarity-white,      .rarity-white a        { color: rgb(255,255,255) ; text-shadow: 0px 0px 3px grey  ; } .rarity-green,      .rarity-green a        { color: rgb(61,210,11)   ; } .rarity-unique,     .rarity-unique a       { color: rgb(47,120,255)  ; } .rarity-blue,       .rarity-blue a         { color: rgb(47,120,255)  ; } .rarity-legendary,  .rarity-legendary a    { color: rgb(255,150,0)   ; } .rarity-orange,     .rarity-orange a       { color: rgb(255,150,0)   ; } .rarity-purple,     .rarity-purple a       { color: rgb(145,50,200)  ; } .rarity-yellow,     .rarity-yellow a       { color: rgb(255,180,0)   ; } .rarity-dark-orange, .rarity-dark-orange a { color: rgb(220,120,0)   ; } .rarity-pearlescent, .rarity-pearlescent a { color: rgb(0,255,255)   ; } .rarity-e-tech,     .rarity-e-tech a       { color: fuchsia          ; } .rarity-cursed,     .rarity-cursed a       { color: rgb(0,204,204)   ; } .rarity-red,        .rarity-red a          { color: rgb(207,71,71)   ; } .rarity-seraph,     .rarity-seraph a       { color: rgb(255,105,180) ; } .rarity-aftermarket, .rarity-aftermarket a { color: lime             ; }

/* These allow automatic coloring of elements */ .element-corrosive,  .element-corrosive a   { color: #7ecb40 ; } .element-cryo,       .element-cryo a        { color: #78CAD2 ; } .element-explosive,  .element-explosive a   { color: #d2c600 ; } .element-incendiary, .element-incendiary a  { color: #d88600 ; } .element-shock,      .element-shock a       { color: #00A3D8 ; } .element-slag,       .element-slag a        { color: #9e00d8 ; } .element-transfusion, .element-transfusion a { color: purple ; }

/* Random colors we are using (these also color hyperlinks) */ .color-black, .color-black a { color: black ; } .color-red,  .color-red a   { color: red   ; }

/* Random text _attributes_ we are using*/ .text-flavor { color: red; font-weight: bold; } .text-negative { color: red; }