[OCaml] Mobile-friendly clone of cgit.
refactor remove redundant declarations
Remove .commit-author { display: flex } in mobile MQ (already in base), border-radius on aria-current selectors (inherited from parent li), and #page-header .subtitle (duplicates #page-header p).
lib/static/styles.css
@@ -69,11 +69,6 @@
69
69
color: var(--color-muted);
70
70
}
71
71
72
Removed:
#page-header .subtitle {
73
Removed:
margin: 0;
74
Removed:
color: var(--color-muted);
75
Removed:
}
76
Removed:
77
72
.skip-link {
78
73
position: absolute;
79
74
top: -100%;
@@ -239,12 +234,10 @@
239
234
}
240
235
241
236
nav#top ul li[aria-current="page"] {
242
Removed:
border-radius: 0.5rem;
243
237
background-color: var(--color-accent);
244
238
}
245
239
246
240
nav#top ul li[aria-current="page"] a:hover {
247
Removed:
border-radius: 0.5rem;
248
241
background-color: var(--color-accent-hover);
249
242
color: white;
250
243
text-decoration: none;
@@ -1114,10 +1107,6 @@
1114
1107
padding: 0 0.5em;
1115
1108
}
1116
1109
1117
Removed:
.commit-author {
1118
Removed:
display: flex;
1119
Removed:
}
1120
Removed:
1121
1110
#main ul li:has(.commit-title) {
1122
1111
flex-wrap: wrap;
1123
1112
}
@@ -1223,7 +1212,6 @@
1223
1212
1224
1213
#bottom-nav ul li[aria-current="page"] {
1225
1214
background-color: var(--color-accent);
1226
Removed:
border-radius: 0.5rem;
1227
1215
}
1228
1216
1229
1217
#bottom-nav ul li[aria-current="page"] a:hover {