##// END OF EJS Templates
Formatting cleanup of renderedhtml.less.
Brian E. Granger -
Show More
@@ -1,11 +1,11 b''
1 .rendered_html {
1 .rendered_html {
2
2
3 color: black;
3 color: @textColor;
4 em {font-style: italic;}
4 em {font-style: italic;}
5 strong {font-weight: bold;}
5 strong {font-weight: bold;}
6 u {text-decoration: underline;}
6 u {text-decoration: underline;}
7 :link { text-decoration: underline }
7 :link {text-decoration: underline;}
8 :visited { text-decoration: underline }
8 :visited {text-decoration: underline;}
9
9
10 // For a 14px base font size this goes as:
10 // For a 14px base font size this goes as:
11 // font-size = 26, 22, 18, 14, 12, 12
11 // font-size = 26, 22, 18, 14, 12, 12
@@ -14,16 +14,16 b''
14 h2 {font-size: 157.1%; margin: 1.27em 0 0 0; font-weight: bold; line-height: 1.0;}
14 h2 {font-size: 157.1%; margin: 1.27em 0 0 0; font-weight: bold; line-height: 1.0;}
15 h3 {font-size: 128.6%; margin: 1.55em 0 0 0; font-weight: bold; line-height: 1.0;}
15 h3 {font-size: 128.6%; margin: 1.55em 0 0 0; font-weight: bold; line-height: 1.0;}
16 h4 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0;}
16 h4 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0;}
17 h5 {font-size: 100; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic}
17 h5 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
18 h6 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic}
18 h6 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
19
19
20 // Reduce the top margins by 14px compared to above
20 // Reduce the top margins by 14px compared to above
21 h1:first-child {margin-top: 0.538em}
21 h1:first-child {margin-top: 0.538em;}
22 h2:first-child {margin-top: 0.636em}
22 h2:first-child {margin-top: 0.636em;}
23 h3:first-child {margin-top: 0.777em}
23 h3:first-child {margin-top: 0.777em;}
24 h4:first-child {margin-top: 1em}
24 h4:first-child {margin-top: 1em;}
25 h5:first-child {margin-top: 1em}
25 h5:first-child {margin-top: 1em;}
26 h6:first-child {margin-top: 1em}
26 h6:first-child {margin-top: 1em;}
27
27
28 ul {list-style:disc; margin: 0em 2em;}
28 ul {list-style:disc; margin: 0em 2em;}
29 ul ul {list-style:square; margin: 0em 2em;}
29 ul ul {list-style:square; margin: 0em 2em;}
@@ -34,23 +34,15 b''
34 ol ol ol ol {list-style:lower-roman; margin: 0em 2em;}
34 ol ol ol ol {list-style:lower-roman; margin: 0em 2em;}
35 /* any extras will just be numbers: */
35 /* any extras will just be numbers: */
36 ol ol ol ol ol {list-style:decimal; margin: 0em 2em;}
36 ol ol ol ol ol {list-style:decimal; margin: 0em 2em;}
37
37 * + ul {margin-top: 1em;}
38 * + ul {
38 * + ol {margin-top: 1em;}
39 margin-top: 1em;
40 }
41
42 * + ol {
43 margin-top: 1em;
44 }
45
39
46 hr {
40 hr {
47 color: black;
41 color: black;
48 background-color: black;
42 background-color: black;
49 }
43 }
50
44
51 pre {
45 pre {margin: 1em 2em;}
52 margin: 1em 2em;
53 }
54
46
55 pre, code {
47 pre, code {
56 border: 0;
48 border: 0;
@@ -60,54 +52,35 b''
60 padding: 0px;
52 padding: 0px;
61 }
53 }
62
54
63 blockquote {
55 blockquote {margin: 1em 2em;}
64 margin: 1em 2em;
65 }
66
56
67 table {
57 table {
68 // Center tables horizontally
69 margin-left: auto;
58 margin-left: auto;
70 margin-right: auto;
59 margin-right: auto;
71 border: 1px solid black;
60 border: 1px solid black;
72 border-collapse: collapse;
61 border-collapse: collapse;
73 }
62 }
74
75 tr, th, td {
63 tr, th, td {
76 border: 1px solid black;
64 border: 1px solid black;
77 border-collapse: collapse;
65 border-collapse: collapse;
78 margin: 1em 2em;
66 margin: 1em 2em;
79 }
67 }
80
68 td, th {
81 td,th {
82 text-align: left;
69 text-align: left;
83 vertical-align: middle;
70 vertical-align: middle;
84 padding: 4px;
71 padding: 4px;
85 }
72 }
73 th {font-weight: bold;}
74 * + table {margin-top: 1em;}
86
75
87 th {
76 p {text-align: justify;}
88 font-weight: bold;
77 * + p {margin-top: 1em;}
89 }
90
91 * + table {
92 margin-top: 1em;
93 }
94
95 p {
96 text-align: justify;
97 }
98
99 * + p {
100 margin-top: 1em;
101 }
102
78
103 img {
79 img {
104 display: block;
80 display: block;
105 margin-left: auto;
81 margin-left: auto;
106 margin-right: auto;
82 margin-right: auto;
107 }
83 }
108
84 * + img {margin-top: 1em;}
109 * + img {
110 margin-top: 1em;
111 }
112
85
113 }
86 }
@@ -127,7 +127,7 b' p.p-space{margin-bottom:10px}'
127 .rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1}
127 .rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1}
128 .rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1}
128 .rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1}
129 .rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1}
129 .rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1}
130 .rendered_html h5{font-size:100;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
130 .rendered_html h5{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
131 .rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
131 .rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
132 .rendered_html h1:first-child{margin-top:.538em}
132 .rendered_html h1:first-child{margin-top:.538em}
133 .rendered_html h2:first-child{margin-top:.636em}
133 .rendered_html h2:first-child{margin-top:.636em}
@@ -1341,7 +1341,7 b' p.p-space{margin-bottom:10px}'
1341 .rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1}
1341 .rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1}
1342 .rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1}
1342 .rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1}
1343 .rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1}
1343 .rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1}
1344 .rendered_html h5{font-size:100;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
1344 .rendered_html h5{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
1345 .rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
1345 .rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
1346 .rendered_html h1:first-child{margin-top:.538em}
1346 .rendered_html h1:first-child{margin-top:.538em}
1347 .rendered_html h2:first-child{margin-top:.636em}
1347 .rendered_html h2:first-child{margin-top:.636em}
General Comments 0
You need to be logged in to leave comments. Login now