diff --git a/docs/site/_layouts/page.html b/docs/site/_layouts/page.html index 8d67777baa2..97c128ea5ff 100644 --- a/docs/site/_layouts/page.html +++ b/docs/site/_layouts/page.html @@ -1,36 +1,40 @@ - + + + + {{ page.title }} + + - - - {{ page.title }} - - - - - - - - - - -
- {{ content }} -
- - - - - - + + + +
{{ content }}
+ + + + + + diff --git a/docs/site/_layouts/sitemap.html b/docs/site/_layouts/sitemap.html index d2e5bfb4a42..cd39288b180 100644 --- a/docs/site/_layouts/sitemap.html +++ b/docs/site/_layouts/sitemap.html @@ -1,40 +1,46 @@ - + + + + {{ page.title }} + + - - - {{ page.title }} - - - + + +
+ +
+ This navigation UI is temporary, just to give access to the pages. +
+ +
- - -
- -
This navigation UI is temporary, just to give access to the pages.
- -
+
{{ content }}
-
- {{ content }} -
- -
- -
- - - - - - - +
+ +
+ + + + + + diff --git a/docs/site/assets/css/page.css b/docs/site/assets/css/page.css index 0c87e37d648..72f53f03659 100644 --- a/docs/site/assets/css/page.css +++ b/docs/site/assets/css/page.css @@ -1,3 +1,756 @@ +/** + * CLDR Site css + */ + +/* + * Begin section from reports-v2.css + */ + +blockquote { + margin: 20px; +} +/* for quoting from the standard */ +blockquote.tus { + font-size: 11pt; + font-family: Times New Roman, serif; +} +dt { + font-style: italic; +} +li { + margin-top: 0.25em; + margin-bottom: 0.25em; +} +.bb { + page-break-before: always; +} +.copyright { + font-size: 75%; +} +.codeComment { + color: #0000ff; +} + +/*use these styles for contrastive background coloring associated with specific conventions */ +.syntax { + background-color: #eeeeff; +} +.example { + background-color: #eeffee; +} +.values { + background-color: #ffffee; +} + +/* use these styles for constrastive background coloring with no specific meaning */ +.lightblue { + background-color: #eeeeff !important ; +} +.medgray { + background-color: #c0c0c0 !important ; +} +.lightyellow { + background-color: #ffff80 !important ; +} +.lightgray { + background-color: #e4e4e4 !important; +} /*not sure we need this one */ +.vlightgray { + background-color: #f8f8f8 !important; +} +.sandstone { + background-color: #ece8e0 !important; +} + +span.codepoint { + font-family: monospace; +} +span.charSample { + font-size: 200%; +} +span.name { + text-transform: lowercase; + font-variant: small-caps; + font-size: 75%; +} + +span.section { + font-style: italic; +} +span.secno { + font-style: italic; +} + +p.caption { + page-break-after: avoid; + font-weight: bold; + text-align: center; +} +p.rule { + font-style: italic; + background-color: #ece8e0; +} +td.rule, +th.rule { + font-style: italic; + font-weight: 400 !important; + padding: 3px !important; + margin: 2px !important; +} +td.rule, +th.rule { + background-color: #ece8e0 !important; + border: 1px solid #f2f2f2 !important; +} + +/* from UAX#29 */ +.symbol { + font-size: 90%; + font-family: Arial, Geneva, sans-serif; +} +.example2 { + background-color: #ffff99; +} +.charlist { + font-size: 90%; + font-family: monospace; +} +.pairItem { + text-align: Center; +} +.lbclass { + text-align: Center; +} + +/* table related styles*/ +table { + border-spacing: 0; + border-collapse: collapse; + border-style: solid; + border-color: black; + border-width: 1px; +} +th, +td { + border-spacing: 0; + border-collapse: collapse; + border-style: solid; + border-color: black; + border-width: 1px; + font-family: Arial, Geneva, sans-serif; + color: black; + vertical-align: top; + text-align: left; +} +table.body { + border-style: none; + width: 100%; +} +td.body { + border-style: none; + padding: 20px; +} +caption { + font-size: 120%; + font-weight: bold; + padding-bottom: 0.75em; +} +td.icon { + border-style: none; + border-width: 0; + padding: 2px; + margin: 0; + background-color: #5555ff; + color: white; + font-size: 100%; + text-align: left; + font-weight: bold; + font-family: Arial, Geneva, sans-serif; +} + +td.gray { + border-style: none; + border-width: 0; + padding: 0px; + margin: 0; + background-color: #eeeefe; + color: white; + font-size: 6pt; +} + +/* various overrides for table styles */ +table.header { + border-style: none; + border-width: 0; + margin: 0; + width: 100%; +} +table.noborder th, +table.noborder td { + border-style: none !important; + border-width: 0; + margin: 0; +} +.noborder { + border-style: none !important; + border-width: 0; + margin: 0; +} +.nb { + border-style: none !important; + border-width: 0; + margin: 0; +} + +table.border th, +table.border td { + border-style: solid !important; + border-width: 1px; + margin: 0; +} +.border { + border-style: solid !important; + border-width: 1px; + margin: 0; +} + +.nb th, +.nb td { + border-style: none !important; + border-width: 0; + margin: 0; +} + +.ref { + width: 92%; + border-style: none; + border-width: 0; + margin: 0; + padding: 0.33em; +} + +/* don't color links on headers and captions, unless hovering */ +h2 a:link, +h3 a:link, +h4 a:link, +h5 a:link, +p.caption a:link, +caption a:link, +h2 a:visited, +h3 a:visited, +h4 a:visited, +h5 a:visited, +p.caption a:visited, +caption a:visited { + color: black; + text-decoration: none; +} +h2 a:hover, +h3 a:hover, +h4 a:hover, +h5 a:hover, +p.caption a:hover, +caption a:hover { + color: #3030ff; + text-decoration: underline; +} + +/* run in headers */ +span.run_in { + font-style: italic; + font-weight: bold; +} +span.note { + font-style: italic; +} + +p.bar { + background-color: #5555ff; + color: white; + font-size: 100%; + font-weight: bold; + font-family: Arial, Geneva, sans-serif; + text-align: right; + padding: 4px; +} + +a.bar:link { + color: white; +} +a.bar:visited { + color: white; +} +a.bar:active { + color: white; +} +a.bar:hover { + color: #b0b0b0; +} + +/* some UAXs use h3 some h4 */ +h4.summary { + margin-top: 1em; +} +h3.summary { + margin-top: 1em; +} + +/* link style for character class */ +a.charclass { + font-weight: bold; + text-decoration: none; + color: #808080; +} + +/* syntax coloring for C source code samples */ + +.CKeyword { + color: rgb(0, 0, 255); +} +.CComment { + color: rgb(0, 128, 0); +} +.CCommand { + font-weight: bold; + color: rgb(255, 0, 0); +} + +.changed { + background-color: #ffff00; + border-style: dotted; + border-width: 1px; +} +.removed { + text-decoration: line-through; + background-color: #ffff00; + border-style: dotted; + border-width: 1px; +} +.changed2 { + background-color: #00ffff; + border-style: dotted; + border-width: 1px; +} +.removed2 { + text-decoration: line-through; + background-color: #00ffff; + border-style: dotted; + border-width: 1px; +} + +span.changedspan { + background-color: #ffff00; + border-style: dotted; + border-width: 1px; +} +span.removedspan { + text-decoration: line-through; + background-color: #ffff00; + border-style: dotted; + border-width: 1px; +} + +.reviewnote { + background-color: #ffff80; + color: #cc0000; + border-style: dashed; + border-width: 1px; +} + +/* table w/o a grid, except for lines in first and last row like in TR#25 */ + +table.gray { + border-collapse: collapse; + border-style: none; + border-width: medium; +} + +th.grayfirst, +td.grayfirst { + border-left-style: none; + border-left-width: medium; + border-right-style: none; + border-right-width: medium; + border-top: 1.5pt solid gray; + border-bottom: 0.75pt solid gray; + padding-left: 5.4pt; + padding-right: 5.4pt; + padding-top: 0in; + padding-bottom: 0in; +} +th.graymiddle, +td.graymiddle { + border-style: none; + border-width: medium; + padding-left: 5.4pt; + padding-right: 5.4pt; + padding-top: 0in; + padding-bottom: 0in; +} + +th.graylast, +td.graylast { + border-left-style: none; + border-left-width: medium; + border-right-style: none; + border-right-width: medium; + border-top-style: none; + border-top-width: medium; + border-bottom: 1.5pt solid gray; + padding-left: 5.4pt; + padding-right: 5.4pt; + padding-top: 0in; + padding-bottom: 0in; +} + +/* list styles that work well in table of contents */ +ul.toc { + list-style-position: outside; + list-style-type: none; + margin-left: 1em; + margin-bottom: 0pt; + margin-top: 0pt; + line-height: 90%; +} + +ol.toc { + list-style-type: decimal; + margin-bottom: 0pt; +} + +ol ul.toc { + list-style-position: outside; + list-style-type: none; + margin-left: 0em; + margin-bottom: 0pt; + margin-top: 0pt; + line-height: 90%; +} + +ul ul.toc { + list-style-position: outside; + list-style-type: none; + margin-left: 1.3em; + margin-bottom: 0pt; + margin-top: 0pt; + line-height: 90%; +} +ul.toc li { + margin-left: 0; +} + +/* prevent open circles starting bullets inside numbered points */ +ol ul { + list-style-type: disc; +} +ul.nobullet { + list-style-type: none; +} + +/* is the preceding needed for web ? */ + +.right { + text-align: right; +} +.left { + text-align: Left; +} +.center { + text-align: center; +} + +/* UAX#14 specific styles, duplicated here in case they are applicable elsehwere */ +table.pair { + border: 1px solid; + font-size: 8pt; +} +table.pair th { + text-align: center; + font-size: 8pt; +} +table.pair th.pairItem { + background-color: #800080; +} +.nb-la { + width: 7em; + border-style: none; + border-width: 0; + padding-left: 0.2em; + background-color: #ece8e0; +} +.nb-lb { + border-style: none; + border-width: 0; + padding-left: 0.2em; + background-color: #f0f0f0; +} +td.nb-lb p { + margin-left: 0em; +} + +/* use some font styles conditionally */ +span.mathsym1 { +} +span.mathsym2 { + font-family: Arial, Geneva, sans-serif; +} +span.mathsym3 { + font-family: Arial, Geneva, sans-serif; +} +span.specials { + font-size: smaller; +} +span.symbol { + font-size: 90%; + font-family: Arial, Geneva, sans-serif; +} /* same as .symbol */ + +/* additional table styles from standard_styles.css */ + +/*simple - single pixel border, charcol lines */ +/*subtle - same, but gray headers on gray background */ +/* the -nb variants are the same but w/o borders */ + +table.simple { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + border-collapse: collapse; + padding: 0.2em; + font-size: 1em; +} +table.simple th { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + font-weight: bold; + padding: 5px; + text-align: left; +} +table.simple td { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + padding: 5px; + text-align: left; +} + +table.subtle { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + border-collapse: collapse; + padding: 0.2em; + font-size: 1em; +} +table.subtle th { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + font-weight: bold; + padding: 5px; + text-align: left; +} +table.subtle td { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; + padding: 5px; + text-align: left; +} + +table.subtle-nb { + border-style: none; + border-width: 0; + border-collapse: collapse; +} +table.subtle-nb th { + border: solid 1px #f2f2f2; + font-weight: bold; + padding: 5px; + text-align: left; +} +table.subtle-nb td { + border-style: none; + border-width: 0; + font-weight: normal; + padding: 5px; + text-align: left; +} + +table.subtle-nb table.subtle th { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; +} +table.subtle-nb table.subtle td { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; +} +table.subtle-nb table.simple th { + color: #000000; + background-color: #ffffff; /* was: #FFFFFF; */ + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; +} +table.subtle-nb table.simple td { + border-width: 1px; + border-style: solid; + border-color: #a0a0a0; +} +table.subtle table.simple th { + color: #000000; + background-color: #ffffff; +} /*was #FFFFFF */ + +table.subtle th { + color: #606060; + background-color: #ece8e0; +} +table.subtle-nb th { + color: #606060; + background-color: #ece8e0; +} + +table.subtle th p { + color: #606060; + background-color: #ece8e0; +} +table.subtle-nb tr th p { + color: #606060; + background-color: #ece8e0; +} + +table.simple th p { + margin: 0; +} +table.subtle th p { + margin: 0; +} +table.subtle-nb th p { + margin: 0; +} + +/* first-child selector only works in IE if DOCTYPE has a URL (standards mode) */ +/* the following remove space above first and below last paragraph (or list) inside a table cell, but preserve interparagraph spacing */ + +table.simple td > p:first-child { + margin: 0; +} +table.simple td > p { + margin-top: 1.5em; +} + +table.subtle td > p:first-child { + margin: 0; +} +table.subtle td > p { + margin-top: 1.5em; +} + +table.subtle-nb td > p:first-child { + margin: 0; +} +table.subtle-nb td > p { + margin-top: 1.5em; +} + +table.simple td > ul:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.simple td > ol:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.simple td > ul { + margin-top: 1.5em; + margin-bottom: 0.5em; +} +table.simple td > ol { + margin-top: 1.5em; + margin-bottom: 0.5em; +} + +table.subtle td > ul:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.subtle td > ol:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.subtle td > ul { + margin-top: 1.5em; + margin-bottom: 0.5em; +} +table.subtle td > ol { + margin-top: 1.5em; + margin-bottom: 0.5em; +} + +table.subtle-nb td > ul:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.subtle-nb td > ol:first-child { + margin-top: 0; + margin-bottom: 0; +} +table.subtle-nb td > ul { + margin-top: 1.5em; + margin-bottom: 0.5em; +} +table.subtle-nb td > ol { + margin-top: 1.5em; + margin-bottom: 0.5em; +} + +/* override the default padding use with table style "simple" */ +table.nopad { + padding: 0; +} +table.nopad th, +table.nopad td { + padding: 0; +} + +table.loose th, +table.loose td { + padding-top: 8px; + padding-bottom: 8px; +} + +/* override for no-border cells in the middle of standard tables - hide-borders also affects row borders between adjacent cells of same class*/ +.hide-borders { + border-left: hidden !important; + border-right: hidden !important; + border-top: none !important; + border-bottom: none !important; +} +.hide-side-borders { + border-left: hidden !important; + border-right: hidden !important; +} + +/* end section from reports-v2.css */ + +/* conditional display */ +body { + margin: 0; + font-family: Arial, Geneva, sans-serif; + color: black; + background-color: white; + background-repeat: repeat; + background-attachment: scroll; + background-position: 0%; +} +div.body { + margin: 3em; +} /* margin for body only */ + /* mirror of div.body */ body.page section.body { margin: 3em; @@ -235,3 +988,19 @@ img { max-width: 100%; max-height: 90dvh; } + +/* Tables should inherit from body, but do not seem to in NN */ +section.body a:link { + color: #3030ff; + text-decoration: none; +} +section.body a:active { + color: #3030ff; +} +section.body a:visited { + color: #3030ff; + text-decoration: none; +} +section.body a:hover { + text-decoration: underline; +} diff --git a/docs/site/assets/css/reports-v2.css b/docs/site/assets/css/reports-v2.css deleted file mode 100644 index 840104f2d63..00000000000 --- a/docs/site/assets/css/reports-v2.css +++ /dev/null @@ -1,306 +0,0 @@ -/* - Style sheet for web-based Unicode Standard Annexes, Technical Standards and Technical Reports - M.Davis and A.Freytag - - Last edited: 2015-04-06 AF, 2015-04-15 KW - removed all "-web" and "-book" suffixes - - To use, in ... - insert: - */ - - -/* conditional display */ -body { margin: 0; font-family: Arial, Geneva, sans-serif; - color: black; background-color: white; background-repeat:repeat; - background-attachment: scroll; background-position: 0%; } -div.body { margin: 3em; } /* margin for body only */ - -blockquote { margin: 20px; } -/* for quoting from the standard */ -blockquote.tus { font-size: 11pt; font-family: Times New Roman, serif; } -dt { font-style: italic; } -li {margin-top: 0.25em; margin-bottom: 0.25em; } -.bb { page-break-before: always; } -.copyright { font-size: 75%; } -.codeComment { color: #0000FF; } - -/*use these styles for contrastive background coloring associated with specific conventions */ -.syntax { background-color: #EEEEFF; } -.example { background-color: #EEFFEE; } -.values { background-color: #FFFFEE; } - -/* use these styles for constrastive background coloring with no specific meaning */ -.lightblue { background-color: #EEEEFF !important ; } -.medgray { background-color: #C0C0C0 !important ; } -.lightyellow {background-color: #FFFF80 !important ; } -.lightgray { background-color: #E4E4E4 !important; } /*not sure we need this one */ -.vlightgray { background-color: #F8F8F8 !important; } -.sandstone { background-color: #ECE8E0 !important; } - -span.codepoint { font-family: monospace; } -span.charSample { font-size: 200%; } -span.name { text-transform: lowercase; - font-variant: small-caps; font-size: 75%; } - -span.section { font-style: italic; } -span.secno { font-style: italic; } - -p.caption { page-break-after: avoid; font-weight: bold; text-align: center; } -p.rule { font-style:italic; background-color: #ECE8E0; } -td.rule, th.rule { font-style:italic; font-weight: 400 !important; padding: 3px !important; margin:2px !important; } -td.rule, th.rule { background-color: #ECE8E0 !important; border: 1px solid #F2F2F2 !important; } - - -/* from UAX#29 */ -.symbol { font-size: 90%; font-family: Arial, Geneva, sans-serif; } -.example2 { background-color: #FFFF99; } -.charlist { font-size: 90%; font-family: monospace; } -.pairItem { text-align: Center; } -.lbclass { text-align: Center; } - - -/* table related styles*/ -table { border-spacing: 0; border-collapse: collapse; - border-style: solid; border-color: black; border-width: 1px; } -th, td { border-spacing: 0; border-collapse: collapse; - border-style: solid; border-color: black; border-width: 1px; - font-family: Arial, Geneva, sans-serif; - color: black; vertical-align: top; text-align: left; } -table.body { border-style: none; width: 100%; } -td.body { border-style: none; padding: 20px; } -caption { font-size: 120%; font-weight: bold; padding-bottom: 0.75em; } -td.icon { border-style: none; border-width: 0; padding: 2px; margin: 0; - background-color: #5555FF; color: white; - font-size: 100%; text-align: left; - font-weight: bold; font-family: Arial, Geneva, sans-serif; } - -td.gray { border-style: none; border-width: 0; padding: 0px; margin: 0; - background-color: #EEEEFE; color: white; - font-size: 6pt; } - -/* various overrides for table styles */ -table.header { border-style: none; border-width: 0; margin: 0; width: 100%; } -table.noborder th, table.noborder td { border-style: none !important; border-width: 0; margin: 0; } -.noborder { border-style: none !important; border-width: 0; margin: 0; } -.nb { border-style: none !important; border-width: 0; margin: 0; } - -table.border th, table.border td { border-style: solid !important; border-width: 1px; margin: 0; } -.border { border-style: solid !important; border-width: 1px; margin: 0; } - -.nb th, .nb td { border-style: none !important; border-width: 0; margin: 0; } - -.ref { width: 92%; border-style: none; border-width: 0; margin: 0; padding: .33em; } - - -/* Tables should inherit from body, but do not seem to in NN */ -section.body a:link { color: #3030FF; text-decoration:none; } -section.body a:active { color: #3030FF; } -section.body a:visited { color: #3030FF; text-decoration:none; } -section.body a:hover { text-decoration:underline; } - -/* HEADERS and RELATED STYLES */ -h1, h2, h3, h4, h5, h6 { font-weight: bold; margin-top: 8px; } -h1 { font-size: x-large; text-transform: uppercase; text-align: center; } -h2 { font-size: large; } -h2.nonumber { font-size: large; } -h2.uaxtitle { font-size: large; text-align:center; } -h3 { font-size: medium; } -h4 { font-size: medium; font-style: italic; } -h5 { font-size: small; } -h6 { font-size: small; font-style: italic; } - -/* don't color links on headers and captions, unless hovering */ -h2 a:link, h3 a:link, h4 a:link, h5 a:link, p.caption a:link, caption a:link, -h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, p.caption a:visited, caption a:visited { - color:black; - text-decoration:none; - } -h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, p.caption a:hover, caption a:hover { - color: #3030FF; - text-decoration:underline; - } - -/* run in headers */ -span.run_in { font-style:italic; font-weight: bold; } -span.note { font-style: italic; } - - -p.bar { background-color: #5555FF; color: white; font-size: 100%; font-weight: bold; - font-family: Arial, Geneva, sans-serif; text-align: right; padding: 4px; } - -a.bar:link { color: white; } -a.bar:visited { color: white; } -a.bar:active { color: white; } -a.bar:hover { color: #B0B0B0; } - -/* some UAXs use h3 some h4 */ -h4.summary { margin-top: 1em; } -h3.summary { margin-top: 1em; } - -h4.contents {} -h4.status {} - - -/* link style for character class */ -a.charclass { font-weight:bold; text-decoration: none; color: #808080 } - - -/* syntax coloring for C source code samples */ - -.CKeyword {color: rgb(0,0,255); } -.CComment {color: rgb(0,128,0); } -.CCommand { font-weight:bold; color: rgb(255,0,0); } - - -.changed { background-color: #FFFF00; border-style: dotted; border-width: 1px; } -.removed { text-decoration: line-through; background-color: #FFFF00; border-style: dotted; border-width: 1px; } -.changed2 { background-color: #00FFFF; border-style: dotted; border-width: 1px; } -.removed2 { text-decoration: line-through; background-color: #00FFFF; border-style: dotted; border-width: 1px; } - -span.changedspan { background-color: #FFFF00; border-style: dotted; border-width: 1px; } -span.removedspan { text-decoration: line-through; background-color: #FFFF00; border-style: dotted; border-width: 1px; } - -.reviewnote { background-color: #FFFF80; color: #CC0000; border-style: dashed; - border-width: 1px; } - - - -/* table w/o a grid, except for lines in first and last row like in TR#25 */ - -table.gray { border-collapse: collapse; border-style: none; border-width: medium; } - -th.grayfirst, td.grayfirst { border-left-style: none; border-left-width: medium; border-right-style: none; - border-right-width: medium; border-top: 1.5pt solid gray; - border-bottom: .75pt solid gray; padding-left: 5.4pt; - padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in } -th.graymiddle, td.graymiddle { border-style: none; border-width: medium; padding-left: 5.4pt; - padding-right:5.4pt; padding-top: 0in; padding-bottom: 0in; } - -th.graylast, td.graylast { border-left-style: none; border-left-width: medium; border-right-style: none; - border-right-width: medium; border-top-style: none; - border-top-width: medium; border-bottom: 1.5pt solid gray; - padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; - padding-bottom: 0in; } - - -/* list styles that work well in table of contents */ -ul.toc { list-style-position: outside; list-style-type: none; margin-left: 1em; margin-bottom: 0pt; - margin-top: 0pt; line-height: 90%; } - -ol.toc { list-style-type: decimal; margin-bottom: 0pt; } - -ol ul.toc { list-style-position: outside; list-style-type: none; margin-left: 0em; margin-bottom: 0pt; - margin-top: 0pt; line-height: 90%; } - -ul ul.toc { list-style-position: outside; list-style-type: none; margin-left: 1.3em; margin-bottom: 0pt; - margin-top: 0pt; line-height: 90%; } -ul.toc li { margin-left: 0; } - -/* prevent open circles starting bullets inside numbered points */ -ol ul { list-style-type: disc; } -ul.nobullet { list-style-type: none; } - -/* is the preceding needed for web ? */ - -.right { text-align: right; } -.left { text-align: Left; } -.center { text-align: center; } - - -/* UAX#14 specific styles, duplicated here in case they are applicable elsehwere */ -table.pair { border:1px solid; font-size:8pt; } -table.pair th { text-align:center; font-size:8pt; } -table.pair th.pairItem { background-color:#800080; } -.nb-la { width:7em; border-style: none; border-width: 0; padding-left: 0.2em; background-color:#ECE8E0; } -.nb-lb { border-style: none; border-width: 0; padding-left: 0.2em; background-color:#F0F0F0; } -td.nb-lb p { margin-left:0em; } - -/* use some font styles conditionally */ -span.mathsym1 { } -span.mathsym2 { font-family: Arial, Geneva, sans-serif; } -span.mathsym3 { font-family: Arial, Geneva, sans-serif; } -span.specials { font-size: smaller; } -span.symbol { font-size: 90%; font-family: Arial, Geneva, sans-serif } /* same as .symbol */ - -/* additional table styles from standard_styles.css */ - -/*simple - single pixel border, charcol lines */ -/*subtle - same, but gray headers on gray background */ -/* the -nb variants are the same but w/o borders */ - -table.simple { border-width:1px; border-style:solid; border-color:#A0A0A0; - border-collapse:collapse; padding:0.2em; font-size:1em} - table.simple th { border-width:1px; border-style:solid; border-color:#A0A0A0; - font-weight:bold; padding:5px; text-align: left; } - table.simple td {border-width:1px; border-style:solid; border-color:#A0A0A0; - padding:5px; text-align: left; } - - -table.subtle { border-width:1px; border-style:solid; border-color:#A0A0A0; - border-collapse:collapse; padding:0.2em; font-size:1em} - table.subtle th { border-width:1px; border-style:solid; border-color:#A0A0A0; - font-weight:bold; padding:5px; text-align: left; } - table.subtle td {border-width:1px; border-style:solid; border-color:#A0A0A0; - padding:5px; text-align: left; } - - -table.subtle-nb { border-style:none; border-width:0; border-collapse:collapse; } - table.subtle-nb th { border:solid 1px #F2F2F2; font-weight:bold; padding:5px; text-align:left; } - table.subtle-nb td { border-style:none; border-width: 0; font-weight:normal; padding:5px; text-align:left; } - -table.subtle-nb table.subtle th { border-width:1px; border-style:solid; border-color:#A0A0A0; } -table.subtle-nb table.subtle td { border-width:1px; border-style:solid; border-color:#A0A0A0; } -table.subtle-nb table.simple th { color: #000000; background-color: #FFFFFF; /* was: #FFFFFF; */ - border-width:1px; border-style:solid; - border-color:#A0A0A0; } -table.subtle-nb table.simple td { border-width:1px; border-style:solid; border-color:#A0A0A0; } -table.subtle table.simple th { color: #000000; background-color:#FFFFFF; } /*was #FFFFFF */ - -table.subtle th { color: #606060; background-color:#ECE8E0;} -table.subtle-nb th { color: #606060; background-color:#ECE8E0;} - -table.subtle th p { color: #606060; background-color:#ECE8E0; } -table.subtle-nb tr th p { color: #606060; background-color:#ECE8E0; } - -table.simple th p { margin:0; } -table.subtle th p { margin:0; } -table.subtle-nb th p { margin:0; } - - -/* first-child selector only works in IE if DOCTYPE has a URL (standards mode) */ -/* the following remove space above first and below last paragraph (or list) inside a table cell, but preserve interparagraph spacing */ - -table.simple td>p:first-child { margin: 0; } -table.simple td>p { margin-top: 1.5em; } - -table.subtle td>p:first-child { margin:0; } -table.subtle td>p { margin-top:1.5em; } - -table.subtle-nb td>p:first-child { margin:0; } -table.subtle-nb td>p { margin-top:1.5em; } - -table.simple td>ul:first-child { margin-top:0; margin-bottom:0; } -table.simple td>ol:first-child { margin-top:0; margin-bottom:0; } -table.simple td>ul { margin-top:1.5em; margin-bottom:0.5em; } -table.simple td>ol { margin-top:1.5em; margin-bottom:0.5em; } - -table.subtle td>ul:first-child { margin-top:0; margin-bottom:0; } -table.subtle td>ol:first-child { margin-top:0; margin-bottom:0; } -table.subtle td>ul { margin-top:1.5em; margin-bottom:0.5em; } -table.subtle td>ol { margin-top:1.5em; margin-bottom:0.5em; } - -table.subtle-nb td>ul:first-child { margin-top:0; margin-bottom:0; } -table.subtle-nb td>ol:first-child { margin-top:0; margin-bottom:0; } -table.subtle-nb td>ul { margin-top:1.5em; margin-bottom:0.5em; } -table.subtle-nb td>ol { margin-top:1.5em; margin-bottom:0.5em; } - -/* override the default padding use with table style "simple" */ -table.nopad { padding: 0; } -table.nopad th, table.nopad td { padding:0;} - -table.loose th, table.loose td { padding-top: 8px; padding-bottom: 8px; } - -/* override for no-border cells in the middle of standard tables - hide-borders also affects row borders between adjacent cells of same class*/ -.hide-borders { border-left:hidden !important; border-right:hidden !important; border-top:none !important; border-bottom:none!important; } -.hide-side-borders { border-left:hidden !important; border-right:hidden !important; } diff --git a/docs/site/package-lock.json b/docs/site/package-lock.json index 74410ef94e3..0ce625e0b9e 100644 --- a/docs/site/package-lock.json +++ b/docs/site/package-lock.json @@ -13,6 +13,9 @@ "gray-matter": "^4.0.3", "sitemap": "^8.0.0", "vue": "^3.5.0" + }, + "devDependencies": { + "prettier": "^2.8.8" } }, "node_modules/@babel/helper-string-parser": { @@ -323,6 +326,21 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/sax": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", diff --git a/docs/site/package.json b/docs/site/package.json index a347f5258d4..6630db4cba0 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -5,7 +5,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "node assets/js/build.mjs", - "postinstall": "mkdir -p assets/vendor ; cp node_modules/vue/dist/vue.global.prod.js assets/vendor" + "postinstall": "mkdir -p assets/vendor ; cp node_modules/vue/dist/vue.global.prod.js assets/vendor", + "pretty": "prettier --no-error-on-unmatched-pattern --write assets/js/cldrsite.js assets/js/build.mjs assets/css/page.css _layouts/*.html" }, "keywords": [], "author": "Steven R. Loomis ", @@ -16,5 +17,8 @@ "gray-matter": "^4.0.3", "sitemap": "^8.0.0", "vue": "^3.5.0" + }, + "devDependencies": { + "prettier": "^2.8.8" } }