[OCaml] Mobile-friendly clone of cgit.
style use h1 for root page section headings
Changed files
lib/static/styles.css
@@ -275,7 +275,7 @@
275
275
display: none;
276
276
}
277
277
278
Removed:
.section-toggle h3 {
278
Added:
.section-toggle h1 {
279
279
display: inline;
280
280
font-size: 1.25em;
281
281
letter-spacing: 0.02em;
lib/views/root.ml
@@ -74,7 +74,7 @@
74
74
[ class_ "section-toggle" ]
75
75
[
76
76
span [ class_ "tree-chevron" ] [ txt "\xe2\x80\xba" ];
77
Removed:
h3 [] [ txt "Favorites" ];
77
Added:
h1 [] [ txt "Favorites" ];
78
78
];
79
79
repo_list favorites;
80
80
];
@@ -98,7 +98,7 @@
98
98
[ class_ "section-toggle" ]
99
99
[
100
100
span [ class_ "tree-chevron" ] [ txt "\xe2\x80\xba" ];
101
Removed:
h3 [] [ txt "Repositories" ];
101
Added:
h1 [] [ txt "Repositories" ];
102
102
];
103
103
repo_list nodes;
104
104
];
@@ -118,7 +118,7 @@
118
118
[ class_ "section-toggle" ]
119
119
[
120
120
span [ class_ "tree-chevron" ] [ txt "\xe2\x80\xba" ];
121
Removed:
h3 [] [ txt "Archived" ];
121
Added:
h1 [] [ txt "Archived" ];
122
122
];
123
123
repo_list archived;
124
124
];