[OCaml] Mobile-friendly clone of cgit.
refactor narrow #main ul li border to specific list selectors
Replace overly broad #main ul li border with targeted selectors for #commit-list, #file-tree, #branch-list, #tag-list, and repo lists. Remove the now-unnecessary border:none counter-rule on .tree-nested li.
lib/static/styles.css
@@ -259,12 +259,17 @@
259
259
list-style: none;
260
260
}
261
261
262
Removed:
#main ul li {
262
Added:
#commit-list > li,
263
Added:
#file-tree > li,
264
Added:
#branch-list > li,
265
Added:
#tag-list > li,
266
Added:
#repo-list > li,
267
Added:
#repo-list-favorites > li,
268
Added:
#repo-list-archived > li {
263
269
border: 1px solid var(--color-border);
264
270
}
265
271
266
272
#main .tree-nested li {
267
Removed:
border: none;
268
273
border-top: 1px solid var(--color-hover-bg);
269
274
}
270
275