[OCaml] Mobile-friendly clone of cgit.
style 60rem content width, full-width bars, stack root layout
- body: full viewport width, navbar/toolbar/footer span edge to edge. - nav#top, #toolbar, footer: content constrained to 60rem via padding-inline with max()/calc(); backgrounds remain full-width. - footer: dark grey (#111) background to match toolbar. - #main: max-width 60rem, centered. - root-layout: always stacks vertically (repos above README); removed the side-by-side grid at wider viewports.
lib/static/styles.css
@@ -325,14 +325,6 @@
325
325
display: none;
326
326
}
327
327
328
Removed:
@media (min-width: 960px) {
329
Removed:
.root-layout {
330
Removed:
display: grid;
331
Removed:
grid-template-columns: 2fr 1fr;
332
Removed:
gap: 2em;
333
Removed:
}
334
Removed:
}
335
Removed:
336
328
/* Root page section toggles */
337
329
.section-toggle {
338
330
cursor: pointer;