Jump to content

User:Reversedragon/FirstNineThousand/hue.css: Difference between revisions

From Philosophical Research
fix icon styles turning TTS text huge and expanding icon box
allow paragraphs inside lists
 
(32 intermediate revisions by the same user not shown)
Line 19: Line 19:
ol.hue ol    { list-style-type: decimal; margin-left: 0.7em; }
ol.hue ol    { list-style-type: decimal; margin-left: 0.7em; }
ol.hue ol li  { padding-left: 0.8em; counter-increment: none; display: list-item; }
ol.hue ol li  { padding-left: 0.8em; counter-increment: none; display: list-item; }
ol.hue li > p:first-child  { margin-top: -1.6em; }


/* Item dimensions and numberings */
/* Item dimensions and numberings */
Line 26: Line 27:
ol.hue      li[value]:before { content: attr(value) " / " counter(list); }
ol.hue      li[value]:before { content: attr(value) " / " counter(list); }
ol.hue.clean li[value]:before { content: attr(value); }
ol.hue.clean li[value]:before { content: attr(value); }
ol.hue.clean.compound [data-qid]:before { content: attr(data-qid) }
ol.hue.clean.compound [data-qid]:before, ol.hue [data-qid]:before { content: attr(data-qid); }
ol.hue      li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) " / " counter(list); } /* "Z " */
ol.hue      li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) " / " counter(list); } /* "Z " */
ol.hue.clean li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) }
ol.hue.clean li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) }
ol.hue.clean.compound [data-qid][data-dimension]:before { content: attr(data-dimension) "–" attr(data-qid) }
ol.hue.clean.compound [data-qid][data-dimension]:before, ol.hue li[data-qid][data-dimension]:before, ol.hue.clean li[data-qid][data-dimension]:before { content: attr(data-dimension) "–" attr(data-qid) }
/* L and P are actual separate namespaces, so display them without hyphen */
/* L and P were originally separate numbering spaces, so display them without hyphen */
ol.hue li[value][data-dimension="L"]:before, ol.hue li[value][data-dimension="P"]:before
ol.hue li[value][data-dimension="L"]:before, ol.hue li[value][data-dimension="P"]:before
   { content: attr(data-dimension) attr(value) " / " counter(list); }
   { content: attr(data-dimension) attr(value) " / " counter(list); }
Line 45: Line 46:
/* definition lists */
/* definition lists */
dl.hue .row { display: grid; grid-template-columns: 15.2em auto; }
dl.hue .row { display: grid; grid-template-columns: 15.2em auto; }
dl.hue dt, dl.hue dd  { min-width: 15em; margin: 0 1.2em 0 0; display: inline-block; }
dl.hue dt, dl.hue dd  { min-width: 15em; margin: 0 1.2em 0 0; padding: 0.1em 0.4em; display: inline-block; }
dl.hue dt  { margin: 0 1em 0 0; }
dl.hue dt  { margin: 0 1em 0 0; }
dl.hue dt:first-child { grid-row-start: 1; grid-row-end: 2; grid-column-start: 1; grid-column-end: 1; }
dl.hue dt:first-child { grid-row-start: 1; grid-row-end: 2; grid-column-start: 1; grid-column-end: 1; }
dl.hue dt:first-child dfn { height: 100%; }
dl.hue dt:first-child dfn { height: 100%; }
dl.hue dd { grid-column-start: 2; }
dl.hue dd { grid-column-start: 2; }
dl.hue dt, dl.hue dd { padding: 0.1em 0.4em; }
dl.hue, dl.hue dd, dl.hue.data_wavebuild dl.hue .values,  dl.hue .row dl  { border: none; }
dl.hue, dl.hue dd, dl.hue.data_wavebuild dl.hue .values,  dl.hue .row dl  { border: none; }
.hue dfn, .hue.compound dfn, .hue.data_wavebuild dfn ins.wave-score { font-style: normal; display: inline-block; }  /* definitions */
.hue dfn, .hue.compound dfn { display: inline-block; }
.hue dfn span span.tts { font-size: inherit; }  /* prepare for mobile stylesheet correction */
/* for pages with table of contents - usually omitted on Item pages, but may be useful if they are very long */
/* for pages with table of contents - usually omitted on Item pages, but may be useful if they are very long */
ol.hue + dl.hue { margin-top: 1.3em; }  ol.hue + p + div.toc { margin-top: 1.1em; }
ol.hue + dl.hue { margin-top: 1.3em; }  ol.hue + p + div.toc { margin-top: 1.1em; }
/* dimension icons / clarifications */
.hue .item-dimension, .hue.data_wavebuild dfn ins.wave-score  { display: inline; }
.hue dfn, .hue.compound dfn, .hue.data_wavebuild dfn ins.wave-score  { font-style: normal; }
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dfn ins { text-decoration: none; }
ol.hue .data-structure, .hue .edition-sense { font-size: 90%; }
.hue dfn ins.wave-score { margin-left: 0.4em; }


/* qualifiers */
/* qualifiers */
dl.hue .row dd.values  { display: grid; grid-template-columns: 15.2em auto; }
dl.hue .row dd.values  { display: grid; grid-template-columns: 15.2em auto; }
dl.hue .row dl  { margin: 1px 0; }
dl.hue .row dl  { margin: 1px 0; }
dl.hue .values dd.value-main, dl.hue.data_wavebuild dd dl dd  { padding: 0; }
/* wavebuilder combinations */
/* wavebuilder combinations */
dl.hue.data_wavebuild dd .wrap, dl.hue.data_wavebuild dd dl dt, dl.hue.data_wavebuild dd dl dd,
dl.hue.data_wavebuild dd .wrap, dl.hue.data_wavebuild dd dl dt, dl.hue.data_wavebuild dd dl dd,
   .data_wavebuild .p153 .values, .data_wavebuild .p135 .values,  /* reset for forward.css */
   .data_wavebuild .p153 .values, .data_wavebuild .p135 .values,  /* reset for forward.css */
   .data_wavebuild .row .wrap dt, .data_wavebuild .p153 .one, .data_wavebuild .p135 .both  { display: inline-block; }
   .data_wavebuild .row .wrap dt, .data_wavebuild .p153 .one, .data_wavebuild .p135 .both,
  dl.hue.data_rating .row dd.values { display: inline-block; }
dl.hue.data_wavebuild .row dl, dl.hue.data_rating .row dl, dl.hue.data_motifs .row dl  { margin: 0; }
dl.hue.data_wavebuild .row dl, dl.hue.data_rating .row dl, dl.hue.data_motifs .row dl  { margin: 0; }


/* source rating hub */
/* source rating hub */
dl.hue.data_rating .row dd.values  { display: inline-block; }
dl.hue.data_rating .row dt.test-n, dl.hue.data_rating .row dt.rating-level  { display: none; }
dl.hue.data_rating .row dt.test-n, dl.hue.data_rating .row dt.rating-level  { display: none; }
dl.hue.data_rating .row dd.test-n-int:before  { content: "/ "; }
dl.hue.data_rating .row dd.test-n-int:before  { content: "/ "; }
Line 73: Line 82:
dl.hue.data_rating .row dd.rating-level-item  { min-width: 2.2em; }
dl.hue.data_rating .row dd.rating-level-item  { min-width: 2.2em; }
dl.hue.data_rating .row dd dfn  { min-width: 3em; }
dl.hue.data_rating .row dd dfn  { min-width: 3em; }
/* dimension icons / clarifications */
.hue .item-dimension { display: inline; }
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dfn ins { text-decoration: none; }
ol.hue .data-structure, .hue .edition-sense { margin-left: 0.35em; font-size: 90%; }
.hue dfn ins.wave-score { margin-left: 0.4em; }
/* special Item titles */
.hue cite.article { font-style: normal; } .hue cite.article:before { content: open-quote; } .hue cite.article:after { content: close-quote; }


dl.hue dd dl.values dt.term, dl.hue dd.values dl dt.term  /* semantic "triple subject" headings */
dl.hue dd dl.values dt.term, dl.hue dd.values dl dt.term  /* semantic "triple subject" headings */
, .hue dfn .wave-score, dl.hue .data-structure, ol.hue dfn .edition-sense
, .hue dfn .wave-score, dl.hue .data-structure, ol.hue dfn .edition-sense
, ol.hue.compound li:before, dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before  /* swatches */
, ol.hue.compound li:before, dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before  /* swatches */
, ol.hue.compound dfn.flag:before, dl.hue dfn.manual .flag
, .hue dd dfn .field  /* show field/series clarification in number lists, but not definition lists */
, .hue dd dfn .field  /* show field/series clarification in number lists, but not definition lists */
, dl.hue dt .edition-sense, dl.hue ruby rt
, dl.hue dt .edition-sense, dl.hue ruby rt
, .data_wavebuild .edition-sense.term  /* make label-subentities look exactly like one Item simply has multiple names */
, .data_wavebuild .edition-sense.term  /* make label-subentities look exactly like one Item simply has multiple names */
, dl.hue .shorthand  /* shorthand templates - mainly HuePalette, optionally displayed with Gadget */
, dl.hue .shorthand  /* shorthand templates - mainly HuePalette, optionally displayed with Gadget */
, .wave-score .quiltset
, .data_wavebuild .p135 .wrap.p145, .data_wavebuild .p135 .wrap.p134 .result, .data_wavebuild .p153 .wrap.p134  /* omit information added for "A B" layout */
, .data_wavebuild .p135 .wrap.p145, .data_wavebuild .p135 .wrap.p134 .result, .data_wavebuild .p153 .wrap.p134  /* omit information added for "A B" layout */
{ content: none; display: none; }
{ content: none; display: none; }
@media print {
.hue dfn, .hue.compound dfn, .hue dt  { border: 1px solid black; }
.hue dl, .hue dl dt  { border-color: #202020; }
ol.hue li, ol.hue.compound li dfn,  .mw-body .hue dfn a, .hue dt dfn, dl.hue .string dfn  { border: none; }
ol.hue li[value]:before, ol.hue.compound dfn[data-qid]:before  { border: 1px solid black; }
ol.hue li, ol.hue.compound li dfn  { padding: 0; margin: 0; }
dl.hue .row dd.values  { grid-template-columns: auto auto; }
.hue dd dfn .figure  { display: inline-block; margin: 0 0.4em 0 0; }
ol.hue dfn .item-dimension, ol.hue dfn .tradition  /* philosophy tag */
{ content: none; display: none; }
}


@media screen {
@media screen {
Line 98: Line 118:
ol.hue.wide li { padding-left: 11.7em; }
ol.hue.wide li { padding-left: 11.7em; }
/* swatch hanging indents */
/* swatch hanging indents */
ol.hue li:before      { margin: 0 0.5em 0 -10em; padding: 0 0.7em; }
ol.hue li:before      { margin: 0 0.5em 0 -9.95em; padding: 0 0.7em; }
ol.hue.wide li:before  { margin: 0 0.5em 0 -11.7em; min-width: 9em; }
ol.hue.wide li:before  { margin: 0 0.5em 0 -11.7em; min-width: 9em; }
ol.hue.compound li    { margin: 0 0.5em 0 0; background: transparent; }
ol.hue.compound li    { margin: 0 0.5em 0 0; background: transparent; }
ol.hue.compound dfn    { margin: 0 0.5em 0 0; }
ol.hue.compound dfn    { margin: 0 0.5em 0 0; }
ol.hue.compound dfn:before  { padding: 0 0.7em; margin: 0 0.5em 0 -10em; width: 8em; }
ol.hue.compound dfn:before, ol.hue.compound dfn.flag .figure { padding: 0 0.7em; margin: 0 0.5em 0 -9.95em; width: 8em; }


/* second-background setup */
/* second-background setup */
ol.hue li  { z-index: 1; }
ol.hue li  { z-index: 1; }
ol.hue li, ol.hue.compound li dfn, ol.hue.compound li dfn:before,
ol.hue li, ol.hue.compound li dfn, ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure
   dl.hue .row dd, dl.hue dd dfn, dl.hue dd .value-main dfn, dl.hue dd dfn:before, dl.hue dd dfn .figure,
   dl.hue .row dd, dl.hue dd dfn, dl.hue dd .value-main dfn, dl.hue dd dfn:before, dl.hue dd dfn .figure,
   .hue dfn a, .hue dfn ins, .hue dfn span  { position: relative; }
   .hue dfn a, .hue dfn ins, .hue dfn span  { position: relative; }
Line 126: Line 146:
/* stuff inside definitions */
/* stuff inside definitions */
ol.hue dfn,  dl.hue .string:not(.highlighted) dfn,  .hue dfn a, .hue dfn ins, .hue dfn span  { background: transparent; }
ol.hue dfn,  dl.hue .string:not(.highlighted) dfn,  .hue dfn a, .hue dfn ins, .hue dfn span  { background: transparent; }
ol.hue li:before,  ol.hue.compound li dfn:before, dl.hue dd dfn:before, .hue dd dfn .figure { display: inline-block; opacity: 1; background-color: inherit; }  /* color swatch */
ol.hue li:before,  ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure, dl.hue dd dfn:before, .hue dd dfn .figure
ol.hue.compound li dfn:before  { top: 0; height: auto; }  /* number swatch */
  { display: inline-block; opacity: 1; background-color: inherit; }  /* color swatch */
ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure { top: 0; height: auto; }  /* number swatch */
ol.hue li:before  { position: relative; z-index: 4; }
ol.hue li:before  { position: relative; z-index: 4; }
.hue dfn a, .hue dfn ins, .hue dfn span,  dl.hue dd dfn:before, .hue dd dfn .figure  { z-index: 5; }
.hue dfn a, .hue dfn ins, .hue dfn span,  dl.hue dd dfn:before, .hue dd dfn .figure  { z-index: 5; }
Line 146: Line 167:
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dd .figure:before { font-family: monospace; font-size: 140%; line-height: 0.75; }
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dd .figure:before { font-family: monospace; font-size: 140%; line-height: 0.75; }
.figure.item-dimension ins.tts { font-size: inherit; line-height: 0.5; font-size: 50%; }  /* avoid icon styles turning TTS text huge and expanding icon box */
.figure.item-dimension ins.tts { font-size: inherit; line-height: 0.5; font-size: 50%; }  /* avoid icon styles turning TTS text huge and expanding icon box */
.hue dd dfn .figure abbr, .hue dd dfn .figure ins { width: 0px; overflow: hidden; }  /* display Latin string in anything that's not a screen browser, icon in screen browsers */
.hue dd dfn .figure abbr, .hue dd dfn .figure ins, .hue dd dfn .tts.swatch span { display: inline-block; width: 0px; overflow: hidden; }  /* display Latin string in anything that's not a screen browser, icon in screen browsers */
.hue dfn ins abbr { cursor: inherit; }
.hue dfn ins abbr { cursor: inherit; }


Line 156: Line 177:


/* swatches */
/* swatches */
/* ol.hue.compound dfn:before, dl.hue dd dfn:before { } */
ol.hue li:before, ol.hue.compound dfn:before, ol.hue.compound dfn.flag .figure {
ol.hue li:before, ol.hue.compound dfn:before {
  text-align: right !important; content: counter(list); min-width: 7em; border: 0px solid transparent; border-width: 0 4px 0 4px;
  text-align: right !important; content: counter(list); min-width: 7em; border: 0px solid transparent; border-width: 0 4px 0 4px;
}
}
Line 163: Line 183:
ol.hue li:before  { border-color: transparent; }  /* display totally unlabeled entries plainly */
ol.hue li:before  { border-color: transparent; }  /* display totally unlabeled entries plainly */
ol.hue li.number_done:before, ol.hue li[value]:before, ol.hue.compound [data-qid]:before,
ol.hue li.number_done:before, ol.hue li[value]:before, ol.hue.compound [data-qid]:before,
   ol.hue.compound [data-edprefix]:before, ol.hue.compound [data-edsuffix]:before  /* used on thesis portal / SSR pages acting as Items */
   ol.hue.compound [data-edprefix]:before, ol.hue.compound [data-edsuffix]:before, /* used on thesis portal / SSR pages acting as Items */
   { border-color: inherit; }  /* list items set border color */
   ol.hue.compound [data-qid].flag .figure, ol.hue.compound [data-edprefix].flag .figure, ol.hue.compound [data-edsuffix].flag .figure
    { border-color: inherit; }  /* list items set border color */
dl.hue.compound dfn.flag .flag .aural, dl.hue.compound dfn .swatch .aural  { display: inline-block; width: 0px; height: 0px; }
/* .flag: manual Item number bullet, in order to be more TTS-friendly */
ol.hue.compound dfn.flag .figure, ol.hue.compound dfn.flag .figure.flag { display: inline-block; }
.hue.compound dfn.flag .flag, .hue.compound dfn.flag .tts, .hue.compound dfn.flag .tts .visual { font-size: inherit; color: inherit; }


/* number list colors */
/* number list colors */
.mw-body ol.hue, .mw-body ol.hue li,  .mw-body dl.hue dfn  { color: inherit; }
.mw-body ol.hue, .mw-body ol.hue li,  .mw-body dl.hue dfn  { color: inherit; }
ol.hue li           { border-color: #808080; background: #e9e9e9; }  /* colorless list entry */
ol.hue li { border-color: #808080; background: #e9e9e9; }  /* colorless list entry */
/* definition list colors */
/* definition list colors */
dl.hue, .wikitable .row, .wikitable dt, .wikitable dfn:before, .wikitable dfn .figure { border: 1px solid var(--border-color-base,#a2a9b1); }
dl.hue, .wikitable .row, .wikitable dt, .wikitable dfn:before, .wikitable dfn .figure { border: 1px solid var(--border-color-base,#a2a9b1); }
Line 180: Line 205:
.mw-body ol.hue.compound dfn a, .mw-body ol.hue.compound dfn span, .mw-body ol.hue.compound dfn ins  { color: var(--color-base,#202122); }
.mw-body ol.hue.compound dfn a, .mw-body ol.hue.compound dfn span, .mw-body ol.hue.compound dfn ins  { color: var(--color-base,#202122); }


ol.hue dfn .item-dimension, .hue dfn .tradition /* philosophy tag */
ol.hue dfn .item-dimension, ol.hue dfn .swatch, ol.hue.compound dfn.flag:before, /* philosophy tag */
, dl.hue dfn ins.result  /* source rating hub */
  dl.hue dfn ins.result  /* source rating hub */
{ content: none; display: none; }
    { content: none; display: none; }


}
}
@media print {
.hue dfn, .hue.compound dfn, .hue dt  { border: 1px solid black; }
.hue dl, .hue dl dt  { border-color: #202020; }
ol.hue li, ol.hue.compound li dfn,  .mw-body .hue dfn a, .hue dt dfn, dl.hue .string dfn  { border: none; }
ol.hue li[value]:before, ol.hue.compound dfn[data-qid]:before  { border: 1px solid black; }
ol.hue li, ol.hue.compound li dfn  { padding: 0; margin: 0; }
dl.hue .row dd.values  { grid-template-columns: auto auto; }
.hue dd dfn .figure  { display: inline-block; margin: 0 0.4em 0 0; }
ol.hue dfn .item-dimension, ol.hue dfn .tradition  /* philosophy tag */
{ content: none; display: none; }
}


/* series-specific tweaks:  [[User:Reversedragon/FirstNineThousand/hue2.css]] */
/* series-specific tweaks:  [[User:Reversedragon/FirstNineThousand/hue2.css]] */
/* [[Category:Fake Item lists]] */
/* [[Category:Fake Item lists]] */

Latest revision as of 13:03, 22 November 2025

/* stylesheet for showing counting numbers versus identifiers, and term categories */

/* either medium - print or screen */
ol.hue li,  dl.hue, dl.hue.data_rating .row  { display: block; }
ol.hue li:before  { display: inline-block; }

/* basic Hue lists */
ol.hue         { list-style-type: none; margin-left: 0; }
ol.hue.reset   { counter-reset: list; }
ol.hue li  { counter-increment: list; min-width: 10em; padding-left: 10em; }

/* swatch hanging indents */
ol.hue li:before     { margin: 0 0.5em 0 -10em; }
ol.hue.compound dfn  { margin: 0 0 0 10em; }
ol.hue li:before, ol.hue.wide li:before  { padding: 0 0.7em;  min-width: 4.5em; }
ol.hue.wide li:before  { min-width: 8em; }
ol.hue.compound dfn:before  { padding: 0 0.7em; margin-right: 0.5em; }
/* nested ordered lists */
ol.hue ol     { list-style-type: decimal; margin-left: 0.7em; }
ol.hue ol li  { padding-left: 0.8em; counter-increment: none; display: list-item; }
ol.hue li > p:first-child  { margin-top: -1.6em; }

/* Item dimensions and numberings */
/* .clean lists: no automatic numbers. .compound lists: neatly accommodate property-table-style definition tags. */
ol.hue ol li:before  { content: none; }
ol.hue > li:before { content: attr(value); }
ol.hue       li[value]:before { content: attr(value) " / " counter(list); }
ol.hue.clean li[value]:before { content: attr(value); }
ol.hue.clean.compound [data-qid]:before, ol.hue [data-qid]:before { content: attr(data-qid); }
ol.hue       li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) " / " counter(list); } /* "Z " */
ol.hue.clean li[value][data-dimension]:before { content: attr(data-dimension) "–" attr(value) }
ol.hue.clean.compound [data-qid][data-dimension]:before, ol.hue li[data-qid][data-dimension]:before, ol.hue.clean li[data-qid][data-dimension]:before { content: attr(data-dimension) "–" attr(data-qid) }
/* L and P were originally separate numbering spaces, so display them without hyphen */
ol.hue li[value][data-dimension="L"]:before, ol.hue li[value][data-dimension="P"]:before
  { content: attr(data-dimension) attr(value) " / " counter(list); }
ol.hue.clean li[value][data-dimension="L"]:before, ol.hue.clean li[value][data-dimension="P"]:before
  { content: attr(data-dimension) attr(value) }
ol.hue.clean.compound [data-qid][data-dimension="L"]:before, ol.hue.clean.compound [data-qid][data-dimension="P"]:before
  { content: attr(data-dimension) attr(data-qid) }
/* experiment: for thesis portal entries not turned into Ontology pages. data-edprefix and -edsuffix may be used to concatenate anything to a serial number, totally preformatted. */
ol.hue li[data-serial]:before, ol.hue.clean.compound [data-serial]:before { content: attr(data-serial); }
ol.hue li[data-edition][data-serial]:before,  ol.hue.clean.compound [data-edition][data-serial]:before { content: attr(data-edition) "/" attr(data-serial); }
ol.hue li[data-edprefix][data-serial]:before, ol.hue.clean.compound [data-edprefix][data-serial]:before { content: attr(data-edprefix) "" attr(data-serial); }
ol.hue li[data-edsuffix][data-serial]:before, ol.hue.clean.compound [data-edsuffix][data-serial]:before { content: attr(data-serial) "" attr(data-edsuffix); }

/* definition lists */
dl.hue .row { display: grid; grid-template-columns: 15.2em auto; }
dl.hue dt, dl.hue dd  { min-width: 15em; margin: 0 1.2em 0 0; padding: 0.1em 0.4em; display: inline-block; }
dl.hue dt  { margin: 0 1em 0 0; }
dl.hue dt:first-child { grid-row-start: 1; grid-row-end: 2; grid-column-start: 1; grid-column-end: 1; }
dl.hue dt:first-child dfn { height: 100%; }
dl.hue dd { grid-column-start: 2; }
dl.hue, dl.hue dd, dl.hue.data_wavebuild dl.hue .values,  dl.hue .row dl  { border: none; }
.hue dfn, .hue.compound dfn  { display: inline-block; }
.hue dfn span span.tts { font-size: inherit; }  /* prepare for mobile stylesheet correction */
/* for pages with table of contents - usually omitted on Item pages, but may be useful if they are very long */
ol.hue + dl.hue { margin-top: 1.3em; }  ol.hue + p + div.toc { margin-top: 1.1em; }

/* dimension icons / clarifications */
.hue .item-dimension, .hue.data_wavebuild dfn ins.wave-score  { display: inline; }
.hue dfn, .hue.compound dfn, .hue.data_wavebuild dfn ins.wave-score  { font-style: normal; }
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dfn ins { text-decoration: none; }
ol.hue .data-structure, .hue .edition-sense { font-size: 90%; }
.hue dfn ins.wave-score { margin-left: 0.4em; }

/* qualifiers */
dl.hue .row dd.values  { display: grid; grid-template-columns: 15.2em auto; }
dl.hue .row dl  { margin: 1px 0; }
dl.hue .values dd.value-main, dl.hue.data_wavebuild dd dl dd  { padding: 0; }
/* wavebuilder combinations */
dl.hue.data_wavebuild dd .wrap, dl.hue.data_wavebuild dd dl dt, dl.hue.data_wavebuild dd dl dd,
  .data_wavebuild .p153 .values, .data_wavebuild .p135 .values,  /* reset for forward.css */
  .data_wavebuild .row .wrap dt, .data_wavebuild .p153 .one, .data_wavebuild .p135 .both,
   dl.hue.data_rating .row dd.values  { display: inline-block; }
dl.hue.data_wavebuild .row dl, dl.hue.data_rating .row dl, dl.hue.data_motifs .row dl  { margin: 0; }

/* source rating hub */
dl.hue.data_rating .row dt.test-n, dl.hue.data_rating .row dt.rating-level  { display: none; }
dl.hue.data_rating .row dd.test-n-int:before  { content: "/ "; }
dl.hue.data_rating .row dd.test-q-int, dl.hue.data_rating .row dd.test-n-int  { min-width: 0.9em; }
dl.hue.data_rating .row dt, dl.hue.data_rating .row dd.test-rubric  { min-width: 1.1em; }
dl.hue.data_rating .row dd.rating-level-item  { min-width: 2.2em; }
dl.hue.data_rating .row dd dfn  { min-width: 3em; }

dl.hue dd dl.values dt.term, dl.hue dd.values dl dt.term  /* semantic "triple subject" headings */
, .hue dfn .wave-score, dl.hue .data-structure, ol.hue dfn .edition-sense
, ol.hue.compound li:before, dl.hue dt dfn:before, dl.hue dt dfn .figure, dl.hue dfn.manual:before, dl.hue .string dfn:before  /* swatches */
, ol.hue.compound dfn.flag:before, dl.hue dfn.manual .flag
, .hue dd dfn .field  /* show field/series clarification in number lists, but not definition lists */
, dl.hue dt .edition-sense, dl.hue ruby rt
, .data_wavebuild .edition-sense.term  /* make label-subentities look exactly like one Item simply has multiple names */
, dl.hue .shorthand  /* shorthand templates - mainly HuePalette, optionally displayed with Gadget */
, .wave-score .quiltset
, .data_wavebuild .p135 .wrap.p145, .data_wavebuild .p135 .wrap.p134 .result, .data_wavebuild .p153 .wrap.p134  /* omit information added for "A B" layout */
{ content: none; display: none; }

@media print {
 .hue dfn, .hue.compound dfn, .hue dt  { border: 1px solid black; }
 .hue dl, .hue dl dt  { border-color: #202020; }
 ol.hue li, ol.hue.compound li dfn,  .mw-body .hue dfn a, .hue dt dfn, dl.hue .string dfn  { border: none; }
 ol.hue li[value]:before, ol.hue.compound dfn[data-qid]:before  { border: 1px solid black; }
 
 ol.hue li, ol.hue.compound li dfn  { padding: 0; margin: 0; }
 
 dl.hue .row dd.values  { grid-template-columns: auto auto; }
 
 .hue dd dfn .figure  { display: inline-block; margin: 0 0.4em 0 0; }
 
 ol.hue dfn .item-dimension, ol.hue dfn .tradition  /* philosophy tag */
 { content: none; display: none; }
}


@media screen {

/* basic hue lists */
ol.hue li      { min-width: 10em; padding-left: 10em; }
ol.hue.wide li { padding-left: 11.7em; }
/* swatch hanging indents */
ol.hue li:before       { margin: 0 0.5em 0 -9.95em; padding: 0 0.7em; }
ol.hue.wide li:before  { margin: 0 0.5em 0 -11.7em; min-width: 9em; }
ol.hue.compound li     { margin: 0 0.5em 0 0; background: transparent; }
ol.hue.compound dfn    { margin: 0 0.5em 0 0; }
ol.hue.compound dfn:before, ol.hue.compound dfn.flag .figure  { padding: 0 0.7em; margin: 0 0.5em 0 -9.95em; width: 8em; }

/* second-background setup */
ol.hue li  { z-index: 1; }
ol.hue li, ol.hue.compound li dfn, ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure
  dl.hue .row dd, dl.hue dd dfn, dl.hue dd .value-main dfn, dl.hue dd dfn:before, dl.hue dd dfn .figure,
  .hue dfn a, .hue dfn ins, .hue dfn span  { position: relative; }
ol.hue li:after, ol.hue li dfn:before, ol.hue.compound li dfn:after,  dl.hue dd dfn:after, dl.hue dd .value-main dfn:after  { position: absolute; }

/* second-background for basic & compound lists */
ol.hue li:after, ol.hue.compound li dfn:after,  dl.hue dd dfn:after  { opacity: 0.9; width: 100%; height: 100%; left: 0; top: 0; }
ol.hue li:after, ol.hue.compound li dfn:after,  dl.hue dd > dfn:after, dl.hue dd .value-main dfn:after  { content: "   "; display: block; z-index: -1; }
ol.hue.compound li dfn:after,  dl.hue dd dfn:after  { opacity: 0.8 }
ol.hue dfn  { width: 100%; z-index: 4; }
dl.hue dd dfn:after, dl.hue dd .value-main dfn:after  { z-index: 0; }
/* get rid of second-backgrounds where they shouldn't be */
ol.hue.compound li:after, ol.hue ol li:after, ol.hue li.number_empty:after,  dl.hue .row.string dfn:after  { content: none; }
/* quick fix to definition tags on Term pages */
dl.hue .string.highlighted dd dfn, ol.hue dfn.term { width: auto; min-width: auto; padding: 0 0.5em; }
dl.hue .string.highlighted dfn:before, dl.hue .string.highlighted dfn .figure { content: none; display: none; }
ol.hue dfn.term { padding: 0; background: none; }  /* in number lists, assume that including Terms is for things like TTS-corrected markup and thus they shouldn't be highlighted */

/* stuff inside definitions */
ol.hue dfn,  dl.hue .string:not(.highlighted) dfn,  .hue dfn a, .hue dfn ins, .hue dfn span  { background: transparent; }
ol.hue li:before,  ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure, dl.hue dd dfn:before, .hue dd dfn .figure
  { display: inline-block; opacity: 1; background-color: inherit; }  /* color swatch */
ol.hue.compound li dfn:before, ol.hue.compound li dfn.flag .figure  { top: 0; height: auto; }  /* number swatch */
ol.hue li:before  { position: relative; z-index: 4; }
.hue dfn a, .hue dfn ins, .hue dfn span,  dl.hue dd dfn:before, .hue dd dfn .figure  { z-index: 5; }

/* definition lists */
dl.hue .row { border-width: 0 0 1px 0; }  dl.hue .row:last-child { border-width: 0 0 0 0; }
dl.hue .row dt:first-child { border-width: 0 1px 0 0; box-sizing: border-box; }  /* grid overlays padded boxes weirdly without border-box */
dl.hue dfn { min-width: 11em; padding: 0.12em 0.8em 0 0; }
/* qualifiers / compound triples */
dl.hue .row dl dt  { margin-left: 1.5em; }
dl.hue .row dl dt:first-child { border-width: 1px; }

/* definitions */
dl.hue dd dfn  { padding: 0.12em 0.4em 0.12em 0.2em; }
ol.hue.compound dfn a, ol.hue .data-structure  { color: inherit; background: transparent; }
/* dimension icons */
.hue dd .figure:before, .hue dd dfn .item-dimension abbr, .hue dd dfn .item-dimension ins  { display: inline-block; content: attr(data-icon); }
dl.hue .item-dimension abbr, dl.hue .item-dimension ins, .hue dd .figure:before { font-family: monospace; font-size: 140%; line-height: 0.75; }
.figure.item-dimension ins.tts { font-size: inherit; line-height: 0.5; font-size: 50%; }  /* avoid icon styles turning TTS text huge and expanding icon box */
.hue dd dfn .figure abbr, .hue dd dfn .figure ins, .hue dd dfn .tts.swatch span { display: inline-block; width: 0px; overflow: hidden; }  /* display Latin string in anything that's not a screen browser, icon in screen browsers */
.hue dfn ins abbr { cursor: inherit; }

/* special qualifiers / wavebuilder combinations */
dl.hue.data_wavebuild dd dl dt, dl.hue.data_wavebuild dd dl dd { display: inline-block; }
dl.hue.data_wavebuild .row dd, dl.hue.data_motifs .row dd { min-width: 25em; }
dl.hue.wide .row dd { min-width: 40em; }
dl.hue.data_motifs .row dd.values  { grid-template-columns: 27em auto; }

/* swatches */
ol.hue li:before, ol.hue.compound dfn:before, ol.hue.compound dfn.flag .figure {
 text-align: right !important; content: counter(list); min-width: 7em; border: 0px solid transparent; border-width: 0 4px 0 4px;
}
.hue dd dfn:before, .hue dd dfn .figure  { content: "   "; text-align: center; display: inline-block; width: 1.5em; margin: 0 0.5em 0 0; }
ol.hue li:before  { border-color: transparent; }  /* display totally unlabeled entries plainly */
ol.hue li.number_done:before, ol.hue li[value]:before, ol.hue.compound [data-qid]:before,
  ol.hue.compound [data-edprefix]:before, ol.hue.compound [data-edsuffix]:before,  /* used on thesis portal / SSR pages acting as Items */
  ol.hue.compound [data-qid].flag .figure, ol.hue.compound [data-edprefix].flag .figure, ol.hue.compound [data-edsuffix].flag .figure
    { border-color: inherit; }  /* list items set border color */
dl.hue.compound dfn.flag .flag .aural, dl.hue.compound dfn .swatch .aural  { display: inline-block; width: 0px; height: 0px; }
/* .flag: manual Item number bullet, in order to be more TTS-friendly */
ol.hue.compound dfn.flag .figure, ol.hue.compound dfn.flag .figure.flag { display: inline-block; }
.hue.compound dfn.flag .flag, .hue.compound dfn.flag .tts, .hue.compound dfn.flag .tts .visual { font-size: inherit; color: inherit; }

/* number list colors */
.mw-body ol.hue, .mw-body ol.hue li,  .mw-body dl.hue dfn  { color: inherit; }
ol.hue li  { border-color: #808080; background: #e9e9e9; }  /* colorless list entry */
/* definition list colors */
dl.hue, .wikitable .row, .wikitable dt, .wikitable dfn:before, .wikitable dfn .figure { border: 1px solid var(--border-color-base,#a2a9b1); }
dl.hue, .wikitable .row, .wikitable dt, .wikitable dd,  dl.hue dfn:after { background: var(--background-color-neutral-subtle,#f8f9fa); }
.wikitable .row { background: var(--background-color-neutral-subtle,#f8f9fa) !important; }
.wikitable dt,  dl.hue dt dfn:after { background: var(--background-color-neutral,#eaecf0); }
ol.hue li:after, ol.hue dfn:after  { background: var(--background-color-base,#fff); }  /* second-background for number lists */
/* reset color */
ol.hue ol li  { background: none; }
dl.hue dt dfn { background-color: transparent !important; }  /* the second stylesheet precedes this by invoking particular field/series colors, but those must come second */
.mw-body ol.hue.compound dfn a, .mw-body ol.hue.compound dfn span, .mw-body ol.hue.compound dfn ins  { color: var(--color-base,#202122); }

ol.hue dfn .item-dimension, ol.hue dfn .swatch, ol.hue.compound dfn.flag:before,  /* philosophy tag */
  dl.hue dfn ins.result  /* source rating hub */
    { content: none; display: none; }

}

/* series-specific tweaks:  [[User:Reversedragon/FirstNineThousand/hue2.css]] */
/* [[Category:Fake Item lists]] */