/* 0 CSS RESET */ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ $doctype-colors-list: (standard: #0ac442, governance: #750697, guide: #48a0e7, ); $docstage-colors-list: (working-draft: #fda706, committee-draft: #fd06fd, draft-standard: #fdf906, standard: #0ac442, obsolete: #7e0d13, ); $mainContentsOffsetLeft: 4em; @import 'base_style/all'; h1, h2, h3, h4, h5, h6, .h2Annex { margin-top: 1.5em; margin-bottom: 0.3em; color: #000000; font-family: $headerfont; } body { @include bodyStyle1($bodyfont, 1, black, white); margin: 0; margin-left: 298px; margin-right: 2em; main { margin: 0 1.5em; } } @import 'coverpage'; /* Setting of the page size and margins */ @page { size: 210mm 297mm; margin: 10mm 15mm 20mm 25mm; } .title-section { padding-left: 4em; padding-top: 10mm; } .prefatory-section { padding: 0 3em 0 6em; } .prefatory-section, main { margin: 0 1.5em; } main { padding-left: 4em; padding-right: 2em; } .zzSTDTitle1, .MsoCommentText { display: none; } span.title { text-transform: uppercase; font-size: 1em; font-weight: 800; } .coverpage_warning { font-size: 0.9em; font-style: italic; padding-bottom: 1em; } .coverpage { text-align: center; padding: 0; /* margin: 2em 0; */ } .coverpage-doc-relations, .coverpage-doc-identity-first { padding-top: 0; } .coverpage-stage-block { font-style: normal; font-weight: 400; } .coverpage-logo { color: black; font-weight: normal; } .coverpage_docnumber, .coverpage_techcommittee { font-size: 100%; } /* NEW */ .coverpage-header { height: 55mm; } /* NEW */ .coverpage-category { float: left; text-align: left; } /* NEW */ .coverpage-category span { font-size: 0.9em; font-family: $headerfont; display: block; } .coverpage-logo { display: flex; flex-wrap: wrap; justify-content: flex-end; /* flex-direction: column; */ } /* NEW */ .coverpage-logo-gb-img { float: right; padding-right: 0mm; } /* NEW */ .coverpage-logo-gb-img img { margin-bottom: 9mm; float: right; } /* NEW */ .coverpage-logo-header { height: 42mm; display: flex; flex-direction: column; } .coverpage-tc-name { font-size: 1.2em; line-height: 1.2em; margin: 0.25em 0; } span.coverpage-logo-text { font-size: 5mm; text-align: right; float: right; padding-bottom: 9mm; font-weight: bold; } /* NEW */ .coverpage-doc-identity-first { border-bottom: solid black 1px; } /* NEW */ .title-first, .title-second, .title-third, .stage, .date-publish, .date-active, .coverpage_footer { font-family: $headerfont; } /* NEW */ /* span.title-second, span.title-third { font-size: 5mm; } */ .coverpage-stage-block { font-size: 1.25em; text-align: center; width:100%; margin-top:2em; /* display: none; */ } /* NEW */ .coverpage-stage-block .stage { display: block; margin-top:1em; } /* NEW */ .coverpage-stage-block .coverpage-warning{ display: block; margin-top:1em; } /* NEW */ .coverpage-warning { font-size: 0.8em; font-style: italic; } /* NEW */ span.date-publish { float:left; } /* NEW */ span.date-active { float:right; } .coverpage-doc-relations { font-size:10.5pt; } .coverpage-title-zh span { padding-top: 2mm; font-size: 8mm; } .coverpage-title-en { font-size: 5mm; } /* NEW */ .coverpage-warning { border-top: solid 1px #f36f36; border-bottom: solid 1px #f36f36; margin: 1em 2em; color: #485094; padding: 1em; } /* NEW */ .coverpage-warning .title { color: #f36f36; font-weight: 500; } /* NEW */ .coverpage-warning .content { font-style: italic; } .coverpage-dates { font-size: 4.5mm; } .coverpage_footer { font-size: 1em; } /* NEW */ .coverpage-banner { height: 177.5mm; } .copyright { padding: 1em; } .copyright .year, .copyright .message, .copyright .name, .copyright .address { line-height: 1; } p.MsoCommentText, li.MsoCommentText, div.MsoCommentText { margin-top: 0cm; margin-right: 0cm; margin-bottom: 12.0pt; margin-left: 0cm; text-align: justify; line-height: 12.0pt; /* tab-stops: 20.15pt; */ font-size: 12.0pt; font-family: $bodyfont; } p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject { margin-top: 0cm; margin-right: 0cm; margin-bottom: 12.0pt; margin-left: 0cm; text-align: justify; line-height: 12.0pt; tab-stops: 20.15pt; font-size: 10.0pt; font-family: $headerfont; font-weight: bold; } /* TYPOGRAPHY */ a { color: #000; text-decoration: underline; text-decoration-color: black; } h1 { font-size: 1.5em; font-weight: 400; } h2 { font-size: 1.3em; font-weight: 300; } h3 { font-size: 1.1em; font-weight: 300; } h1 { margin-top: 2em; margin-bottom: 1em; } h2 { margin-top: 2em; margin-bottom: 1em; } h1, h2, h3, h4, h5, h6 { line-height: 1.2; } h2 p { display: inline; } p { font-size: 1em; line-height:1.4em; margin-left:2em; margin-top: 1em; margin-bottom:1em; } p.zzSTDTitle1 { font-weight: 700; font-size: 1.5em; } span.obligation { font-weight: 400; } p.TermNum { font-size: 1.3em; font-weight: 300; margin: 1em 0 0 0; } p.Terms { font-size: 1.3em; font-weight: 300; margin: 0 0 1em 0; } p.AltTerms { font-weight: 400; font-style: italic; margin: 0; margin-left: 2em; } p.DeprecatedTerms { font-weight: 400; font-style: italic; margin: 0; } /* Navigation*/ nav { @include sidebarNav(#f7f7f7, 278px, 45px); a { color: black; text-decoration: none; line-height: 1.2em; } } #toggle { @include sidebarNavToggle(white, black); @media screen and (min-width: $bigscreenBreakpoint) { margin-left: -$mainContentsOffsetLeft; width: 30px; border-right: solid black 1px; margin-top: -2em; z-index: 0; } } #toc { @include toc(inherit, #1d1d1d, white); li:before { content: " "; display: none; } ul{ a { &:hover { box-shadow: none; color: black; } color: #000000; text-decoration: none !important; display: block; font-family: $bodyfont; } } .toc-active { a { color: black; } } .toc-active, li:hover { background: none; box-shadow: none !important; } } #toc-list { ul { margin-bottom: 0.25em; li { list-style-type: none; } } @media screen and (min-width: $bigscreenBreakpoint) { padding: 0; margin: 0; } } div.figure > img:not(.logo) { margin-left: auto; margin-right: auto; display: block; max-width: 100%; height: auto; } ::selection { background: #1d1d1d; /* WebKit/Blink Browsers */ color: white; } ::-moz-selection { background: #1d1d1d; /* Gecko Browsers */ color: white; } /* Document types + stages */ .document-type-band { left:0; top:180px; height: 100%; position: fixed; display: block; z-index: 99; } .document-stage-band { left:0; top:0; height: 100%; position: fixed; display: block; z-index: 98; box-shadow: -5px 0px 10px #1d1d1d; } .document-type { position: relative; width: 25px; } .document-stage { position: relative; width: 25px; } p.document-type, p.document-stage { color: white; text-transform: uppercase; font-size: 0.9em; font-weight: 400; letter-spacing: 0.05em; /* margin-top: 0px; margin-bottom: 10px; margin-right: 5px; margin-left: 5px; */ margin:0; margin-left: 6px; writing-mode:tb-rl; -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform: rotate(180deg); white-space:nowrap; display:block; bottom:0; } p.document-type.zh, p.document-stage.zh { -webkit-transform:rotate(0deg); -moz-transform:rotate(0deg); -o-transform: rotate(0deg); margin-top: 10px; letter-spacing: 0.1em; font-size: 1em; } p.document-type { font-weight: 400; height: 210px; } #governance-band p.document-type { font-weight: 400; height: 230px!important; } p.document-stage { font-weight: 300; height:160px; } #standard-band { background-color: #0ac442; } #standard { border-bottom: solid 3px #0ac442; } #governance { border-bottom: solid 3px #750697; } #governance-band { background-color: #750697; } #guide { border-bottom: solid 3px #48a0e7; } #guide-band { background-color: #48a0e7; } .coverpage-maturity { font-weight: 400; font-size: 1em; margin: 0 0 2em 0; text-transform: uppercase; } #working-draft { border-bottom: solid 3px #fda706; } #working-draft-band { background-color: #fda706; } #committee-draft { border-bottom: solid 3px #fd06fd; } #committee-draft-band { background-color: #fd06fd; } #draft-standard { border-bottom: solid 3px #fdf906; } #draft-standard { border-bottom: solid 3px #fdf906; } #standard { border-bottom: solid 3px #0ac442; } #standard-band { background-color: #0ac442; } #obsolete { border-bottom: solid 3px #7e0d13; } #obsolete-band { background-color: #7e0d13; } /* 3 Other styles */ /* 3.3 Lists */ ul, ol {margin-left: 2em;} ul { padding-left: 1em; } #toc-list ul {margin-bottom: 0.25em;} #toc-list ul li {list-style-type: none;} ul > li { list-style: none; } ul > li > p:first-child:before { content: "\2014"; display: inline-block; width: 1em; margin-left: -1.5em; margin-right: 0.5em; } li p { display: inline-block; margin-bottom: 0.6em; line-height: 1.2; } /* https://github.com/metanorma/metanorma-iso/issues/319 : a) ordered lists */ ol[type="alphabet"] { counter-reset: alphabet; } ol[type="arabic"] { counter-reset: arabic; } ol[type="roman"] { counter-reset: roman; } ol[type="alphabet_upper"] { counter-reset: alphabet_upper; } ol[type="roman_upper"] { counter-reset: roman_upper; } ol[type="alphabet"] ol[type="alphabet"] { counter-reset: alphabet2; } ol[type="arabic"] ol[type="arabic"] { counter-reset: arabic2; } ol[type="roman"] ol[type="roman"] { counter-reset: roman2; } ol[type="alphabet_upper"] ol[type="alphabet_upper"] { counter-reset: alphabet_upper2; } ol[type="roman_upper"] ol[type="roman_upper"] { counter-reset: roman_upper2; } ol { counter-reset: alphabet; } ol > li { list-style: none; position: relative; } ol > li:before { position: absolute; left: -1.4em; } ol[type="roman"] > li:before { left: -2.0em; } ol[type="roman_upper"] > li:before { left: -2.3em; } ol[type="alphabet"] > li:before { counter-increment: alphabet; content: counter(alphabet, lower-alpha)") " } ol[type="arabic"] > li:before { counter-increment: arabic; content: counter(arabic, decimal)") " } ol[type="roman"] > li:before { counter-increment: roman; content: counter(roman, lower-roman)") " } ol[type="alphabet_upper"] > li:before { counter-increment: alphabet_upper; content: counter(alphabet_upper, upper-alpha)") " } ol[type="roman_upper"] > li:before { counter-increment: roman_upper; content: counter(roman_upper, upper-roman)") " } ol > li:before { counter-increment: alphabet; content: counter(alphabet, lower-alpha)") " } ol[type="alphabet"] ol[type="alphabet"] > li:before { counter-increment: alphabet2; content: counter(alphabet2, lower-alpha)") " } ol[type="arabic"] ol[type="arabic"] > li:before { counter-increment: arabic2; content: counter(arabic2, decimal)") " } ol[type="roman"] ol[type="roman"] > li:before { counter-increment: roman2; content: counter(roman2, lower-roman)") " } ol[type="alphabet_upper"] ol[type="alphabet_upper"] > li:before { counter-increment: alphabet_upper2; content: counter(alphabet_upper2, upper-alpha)") " } ol[type="roman_upper"] ol[type="roman_upper"] > li:before { counter-increment: roman_upper2; content: counter(roman_upper2, upper-roman)") " } /* 3.4 Rules */ .rule { @include rule(1px, #0e1a85); &.toc { @media screen and (min-width: $bigscreenBreakpoint) { display: none; } } } /* 3.5 Bibliograhy */ p.Biblio, p.NormRef { margin-top: 1em; margin-left: 2em; } /* 3.6 Source Code + figures */ pre { font-family: $monospacefont; font-variant-ligatures: none; } pre, .figure, .pseudocode { font-size: 0.9em; line-height: 1.6em; padding: 1.5em; background-color: #f7f7f7; margin: 2em 0 1em 0; overflow: auto; } .Sourcecode { @include sourceBlock(#f7f7f7, null); // Requires fontSize: null, but needs an update in isodoc // @include sourceBlock(#f7f7f7, null, null); } .pseudocode { @include pseudocodeBlock(#f7f7f7, null); // Requires fontSize: null, but needs an update in isodoc // @include pseudocodeBlock(#f7f7f7, null, null); } .Sourcecode, .figure, .pseudocode { font-size: 0.9em; } .figure { @include figureBlock(); background-color: #f7f7f7; } .figure-title, .FigureTitle, .SourceTitle, .AdmonitionTitle, .RecommendationTitle { font-weight: 700; font-size: 1em; font-family: $headerfont; } /* 3.7 Notes */ .Note, .note { background-color: #fff495; color: #47430c; padding: 1.2em; /*margin: 2em 0 1em 0;*/ margin: 1.5em 0 1.5em 0; /* text-align: left; */ } .Admonition { background-color: #ffcccc; color: #47430c; padding: 1.2em; margin: 1.5em 0 1.5em 0; } /* .Note p, .note p { margin: 0; } */ /* 3.8 Examples */ .example { @include exampleBlock(#e1eef1, null, .5em, 1.5em); .example-title { margin-top: 0; } .Sourcecode, .pseudocode, pre { background: none; } } /* 3.9 Tables */ table { @include table(1px solid black); td, th { padding: 1em !important; } text-align: center; } p.TableTitle { margin-top: 2.5em; font-weight: 400; font-size: 1.1em; font-family: $headerfont; } .TableFootnote { text-align: left !important; list-style: lower-alpha; } /* 3.10 Footnotes */ a.footnote-number, a.TableFootnoteRef { vertical-align: super; font-size: 0.8em; text-decoration: none; } .footnote, .footnote a, span.TableFootnoteRef { font-size: 0.9em; text-decoration: none; } sup a { vertical-align: super; font-size: 0.8em; } #footnote_box { font-size: 14px; background: white; padding: 0 10px; margin: 10px; border: 1px solid #888; -moz-box-shadow: 0px 0px 5px #888; -webkit-box-shadow: 0px 0px 5px #888; box-shadow: 0px 0px 5px #888; } ol.footnotes-list, aside.footnote { margin-left: 1em; } ol.footnotes-list li, aside.footnote { font-size: 0.9em; vertical-align: top; list-style:decimal; margin-bottom: 1em; } ol.footnotes-list:first-child { margin-top: 2em; } ol.footnotes-list p, aside.footnote { display: inline; } ol > li > p:before { content: ""; display: none; } /* 3.11 Blockquotes */ .blockquote, .Quote { @include blockquoteBlock(#f7f7f7); } /* 3.12 Formulas */ .formula { @include formulaBlock(#f7f7f7); margin-left: 20%; margin-right: 20%; } dl.formula_dl { background-color: #f7f7f7; margin-left: 20%; margin-right: 20%; } /* Keywords */ span.keyword { font-weight: 600; } .Admonition, .admonition { background-color: #ffb3b3; padding: 0.5em; margin: 1.5em 0 1.5em 0; text-align: left; } .Admonition p, .admonition p { margin: 0; }