Jump to content

User:Reversedragon/FirstNineThousand/hue.css

From Philosophical Research

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
ol.hue { list-style-type: none; counter-reset: list; margin-left: 0; }
ol[start].start_two-thousand   { counter-reset: list 1999; }
ol[start].start_two-thousand   { counter-reset: list 1999; }
ol[start].start_three-thousand { counter-reset: list 2999; }
ol[start].start_four-thousand  { counter-reset: list 3999; }
ol[start].start_six-thousand   { counter-reset: list 5999; }

ol.hue li { counter-increment: list; }

ol.hue li:before {
 margin: 0 0.5em; padding: 0 0.7em;
 min-width: 7em; display: inline-block;
 text-align: right !important;
 content: counter(list);
}

ol.hue li.field_ML:before       { background: #C24252; /* crimson */ }
ol.hue li.field_trotsky:before  { background: #FF8C00; /* DarkOrange */ }
ol.hue li.field_mdem:before     { background: #9370DB; /* MediumPurple */ }
ol.hue li.field_internal:before { background: lightgrey; }
ol.hue li.field_fantasy:before  { background: #90EE90; /* LightGreen */ }

ol.hue li[value]:before { content: attr(value) " / " counter(list); }