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