-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS font size configure: https://github.com/metanorma/isodoc/issues/227 #254
Conversation
footnotefontsize: "11.0pt", | ||
smallerfontsize: "11.0pt", | ||
monospacefontsize: "10.0pt", | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing hash brace must be on the same line as the last hash element when opening brace is on the same line as the first hash element.
normalfontsize: "12.0pt", | ||
footnotefontsize: "11.0pt", | ||
smallerfontsize: "11.0pt", | ||
monospacefontsize: "10.0pt", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the elements of a hash literal if they span more than one line.
monospacefont: '"Courier New",monospace', | ||
normalfontsize: "12.0pt", | ||
footnotefontsize: "11.0pt", | ||
smallerfontsize: "11.0pt", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the elements of a hash literal if they span more than one line.
monospacefont: '"Courier New",monospace' } | ||
monospacefont: '"Courier New",monospace', | ||
normalfontsize: "12.0pt", | ||
footnotefontsize: "11.0pt", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the elements of a hash literal if they span more than one line.
@@ -69,7 +69,12 @@ def default_fonts(options) | |||
'"Times New Roman",serif'), | |||
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : | |||
'"Times New Roman",serif'), | |||
monospacefont: '"Courier New",monospace' } | |||
monospacefont: '"Courier New",monospace', | |||
normalfontsize: "12.0pt", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the elements of a hash literal if they span more than one line.
mso-pagination:widow-orphan; | ||
font-size:12pt; | ||
font-size:$normalfontsize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon after property should be followed by one space
Line should be indented with spaces, not tabs
@@ -1108,9 +1108,9 @@ p.MsoBodyText, li.MsoBodyText, div.MsoBodyText | |||
margin-bottom:6.0pt; | |||
margin-left:0cm; | |||
text-align:justify; | |||
line-height:12.0pt; | |||
line-height:$normalfontsize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon after property should be followed by one space
Line should be indented with spaces, not tabs
@@ -1091,7 +1091,7 @@ p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText | |||
mso-layout-grid-align:none; | |||
punctuation-wrap:simple; | |||
text-autospace:none; | |||
font-size:11.0pt; | |||
font-size:$footnotefontsize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon after property should be followed by one space
Line should be indented with spaces, not tabs
@@ -1059,7 +1059,7 @@ p.MsoToc9, li.MsoToc9, div.MsoToc9 | |||
mso-layout-grid-align:none; | |||
punctuation-wrap:simple; | |||
text-autospace:none; | |||
font-size:12.0pt; | |||
font-size:$normalfontsize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon after property should be followed by one space
Line should be indented with spaces, not tabs
@@ -1037,7 +1037,7 @@ p.MsoToc8, li.MsoToc8, div.MsoToc8 | |||
mso-layout-grid-align:none; | |||
punctuation-wrap:simple; | |||
text-autospace:none; | |||
font-size:12.0pt; | |||
font-size:$normalfontsize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon after property should be followed by one space
Line should be indented with spaces, not tabs
No description provided.