lib/isodoc/nist/html/htmlstyle.scss in metanorma-nist-0.2.6 vs lib/isodoc/nist/html/htmlstyle.scss in metanorma-nist-0.2.7
- old
+ new
@@ -239,10 +239,14 @@
.Sourcecode {
@include sourceBlock(#f6f6f6);
}
+.pseudocode {
+ @include pseudocodeBlock(#f6f6f6);
+}
+
.Note {
background-color: #ffca3a;
color: #141115;
padding: 1.2em;
margin: 1em 0 1em 0;
@@ -284,11 +288,11 @@
background-color: #e1eef1;
padding: 1.2em;
margin: 2em 0 1em 0;
padding-left: 2em;
- .Sourcecode {
+ .Sourcecode, .pseudocode {
background: none;
}
.example-title {
font-weight: 700;
@@ -311,12 +315,14 @@
margin-top: 0;
margin-left:-1.5em;
}
}
+.example .Sourcecode, .example .pseudocode {
+ background: none;
+}
-
/* Tables */
table {
@include table($border: none !important);
@@ -383,10 +389,10 @@
h1, h2, h3, h4 {
page-break-after: avoid;
margin-top: 1.2em;
}
- .note, .figure, .Sourcecode, table {
+ .note, .figure, .Sourcecode, .pseudocode, table {
page-break-inside: avoid;
}
.info-section {
display: none;