Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Some CSS consolidation and got the horizontal scrollbars working on unusually wide code files. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | line-number-selection |
| Files: | files | file ages | folders |
| SHA3-256: |
3d49b73f409b4bd8f51f8c35745b5f70 |
| User & Date: | stephan 2020-08-15 09:58:40.993 |
Context
|
2020-08-15
| ||
| 10:14 | Shrink the line number column just a tick. ... (check-in: e5f79f4fa5 user: stephan tags: line-number-selection) | |
| 09:58 | Some CSS consolidation and got the horizontal scrollbars working on unusually wide code files. ... (check-in: 3d49b73f40 user: stephan tags: line-number-selection) | |
| 09:15 | Added a few 'inherits' CSS properties to resolve font size mayem when hilightjs does its thing. ... (check-in: 618c6b1319 user: stephan tags: line-number-selection) | |
Changes
Changes to src/default.css.
| ︙ | ︙ | |||
1151 1152 1153 1154 1155 1156 1157 |
}
.input-with-label > label {
font-weight: initial;
margin: 0 0.25em 0 0.25em;
vertical-align: middle;
}
| > > > > > > | | > > > | > | > > > > > | | | < < > | | | < < < < > | > | | 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 |
}
.input-with-label > label {
font-weight: initial;
margin: 0 0.25em 0 0.25em;
vertical-align: middle;
}
table.numbered-lines {
width: 100%;
table-layout: fixed /* required to keep ultra-wide code from exceeding
window width, and instead force a scrollbar
on them. */;
}
table.numbered-lines > tbody > tr {
font-family: monospace;
font-size: 1.2em;
line-height: 1.35;
white-space: pre;
}
table.numbered-lines > tbody > tr > td {
font-family: inherit;
font-size: inherit;
line-height: inherit;
white-space: inherit;
margin: 0;
vertical-align: top;
padding: 1em 0 0 0 /*prevents slight overlap at top */;
}
table.numbered-lines td.line-numbers {
width: 6em;
}
table.numbered-lines td.line-numbers > span {
display: block;
margin: 0;
padding: 0;
line-height: inherit;
font-size: inherit;
font-family: inherit;
cursor: pointer;
white-space: pre;
margin-right: 2px/*keep selection from nudging the right column */;
text-align: right;
}
table.numbered-lines td.line-numbers > span:hover {
background-color: rgba(112, 112, 112, 0.25);
}
table.numbered-lines td.file-content {
padding-left: 1em;
}
table.numbered-lines td.file-content > pre,
table.numbered-lines td.file-content > pre > code {
padding: 0;
margin: 0;
line-height: inherit;
font-size: inherit;
font-family: inherit;
white-space: pre;
}
table.numbered-lines td.file-content > pre {
overflow: auto;
padding: 0 0 1em 0 /*prevents a slight underlap at bottom from triggering a scrollar */;
}
table.numbered-lines td.file-content > pre > code > * {
/* Defense against syntax highlighters indirectly messing up these
properties... */
line-height: inherit;
font-size: inherit;
font-family: inherit;
}
div.selectedText/*legacy*/,
table.numbered-lines td.line-numbers span.selected-line/*replacement*/ {
font-weight: bold;
color: blue;
background-color: #d5d5ff;
border: 1px blue solid;
|
| ︙ | ︙ |