Fossil SCM
Added a few 'inherits' CSS properties to resolve font size mayem when hilightjs does its thing.
Commit
618c6b131979604f7268f999fb1f7e3833f4a9cea4ab5a40bb525442faf95043
Parent
b646e724b70a395…
1 file changed
+7
-1
+7
-1
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -1153,12 +1153,13 @@ | ||
| 1153 | 1153 | font-weight: initial; |
| 1154 | 1154 | margin: 0 0.25em 0 0.25em; |
| 1155 | 1155 | vertical-align: middle; |
| 1156 | 1156 | } |
| 1157 | 1157 | |
| 1158 | -table.numbered-lines td { | |
| 1158 | +table.numbered-lines > tbody > tr > td { | |
| 1159 | 1159 | font-family: monospace; |
| 1160 | + font-size: inherit; | |
| 1160 | 1161 | line-height: 1.35; |
| 1161 | 1162 | white-space: pre; |
| 1162 | 1163 | margin: 0; |
| 1163 | 1164 | white-space: nowrap; |
| 1164 | 1165 | vertical-align: top; |
| @@ -1185,10 +1186,13 @@ | ||
| 1185 | 1186 | margin: 0; |
| 1186 | 1187 | padding: 0; |
| 1187 | 1188 | overflow-x: auto; |
| 1188 | 1189 | overflow-y: hidden /* apparently not needed, but eases my mind */; |
| 1189 | 1190 | padding: 0 0 1em 0 /*prevents a slight underlap at bottom from triggering a scrollar */; |
| 1191 | + line-height: inherit; | |
| 1192 | + font-size: inherit; | |
| 1193 | + font-family: inherit; | |
| 1190 | 1194 | } |
| 1191 | 1195 | table.numbered-lines td.file-content > pre > code { |
| 1192 | 1196 | margin: 0; |
| 1193 | 1197 | padding: 0; |
| 1194 | 1198 | white-space: pre; |
| @@ -1196,10 +1200,12 @@ | ||
| 1196 | 1200 | font-size: inherit; |
| 1197 | 1201 | font-family: inherit; |
| 1198 | 1202 | } |
| 1199 | 1203 | table.numbered-lines td.file-content > pre > code > * { |
| 1200 | 1204 | box-sizing: border-box; |
| 1205 | + font-size: inherit; | |
| 1206 | + line-height: inherit; | |
| 1201 | 1207 | } |
| 1202 | 1208 | div.selectedText/*legacy*/, |
| 1203 | 1209 | table.numbered-lines td.line-numbers span.selected-line/*replacement*/ { |
| 1204 | 1210 | font-weight: bold; |
| 1205 | 1211 | color: blue; |
| 1206 | 1212 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1153,12 +1153,13 @@ | |
| 1153 | font-weight: initial; |
| 1154 | margin: 0 0.25em 0 0.25em; |
| 1155 | vertical-align: middle; |
| 1156 | } |
| 1157 | |
| 1158 | table.numbered-lines td { |
| 1159 | font-family: monospace; |
| 1160 | line-height: 1.35; |
| 1161 | white-space: pre; |
| 1162 | margin: 0; |
| 1163 | white-space: nowrap; |
| 1164 | vertical-align: top; |
| @@ -1185,10 +1186,13 @@ | |
| 1185 | margin: 0; |
| 1186 | padding: 0; |
| 1187 | overflow-x: auto; |
| 1188 | overflow-y: hidden /* apparently not needed, but eases my mind */; |
| 1189 | padding: 0 0 1em 0 /*prevents a slight underlap at bottom from triggering a scrollar */; |
| 1190 | } |
| 1191 | table.numbered-lines td.file-content > pre > code { |
| 1192 | margin: 0; |
| 1193 | padding: 0; |
| 1194 | white-space: pre; |
| @@ -1196,10 +1200,12 @@ | |
| 1196 | font-size: inherit; |
| 1197 | font-family: inherit; |
| 1198 | } |
| 1199 | table.numbered-lines td.file-content > pre > code > * { |
| 1200 | box-sizing: border-box; |
| 1201 | } |
| 1202 | div.selectedText/*legacy*/, |
| 1203 | table.numbered-lines td.line-numbers span.selected-line/*replacement*/ { |
| 1204 | font-weight: bold; |
| 1205 | color: blue; |
| 1206 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1153,12 +1153,13 @@ | |
| 1153 | font-weight: initial; |
| 1154 | margin: 0 0.25em 0 0.25em; |
| 1155 | vertical-align: middle; |
| 1156 | } |
| 1157 | |
| 1158 | table.numbered-lines > tbody > tr > td { |
| 1159 | font-family: monospace; |
| 1160 | font-size: inherit; |
| 1161 | line-height: 1.35; |
| 1162 | white-space: pre; |
| 1163 | margin: 0; |
| 1164 | white-space: nowrap; |
| 1165 | vertical-align: top; |
| @@ -1185,10 +1186,13 @@ | |
| 1186 | margin: 0; |
| 1187 | padding: 0; |
| 1188 | overflow-x: auto; |
| 1189 | overflow-y: hidden /* apparently not needed, but eases my mind */; |
| 1190 | padding: 0 0 1em 0 /*prevents a slight underlap at bottom from triggering a scrollar */; |
| 1191 | line-height: inherit; |
| 1192 | font-size: inherit; |
| 1193 | font-family: inherit; |
| 1194 | } |
| 1195 | table.numbered-lines td.file-content > pre > code { |
| 1196 | margin: 0; |
| 1197 | padding: 0; |
| 1198 | white-space: pre; |
| @@ -1196,10 +1200,12 @@ | |
| 1200 | font-size: inherit; |
| 1201 | font-family: inherit; |
| 1202 | } |
| 1203 | table.numbered-lines td.file-content > pre > code > * { |
| 1204 | box-sizing: border-box; |
| 1205 | font-size: inherit; |
| 1206 | line-height: inherit; |
| 1207 | } |
| 1208 | div.selectedText/*legacy*/, |
| 1209 | table.numbered-lines td.line-numbers span.selected-line/*replacement*/ { |
| 1210 | font-weight: bold; |
| 1211 | color: blue; |
| 1212 |