Skip to content

Commit 61e5fc1

Browse files
authored
Make docs' content responsively wider (bigskysoftware#2644)
* Make docs' content responsively wider * Keep navigation static * Remove unneeded class
1 parent 846a3d9 commit 61e5fc1

File tree

1 file changed

+31
-1
lines changed
  • www/themes/htmx-theme/static/css

1 file changed

+31
-1
lines changed

www/themes/htmx-theme/static/css/site.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,37 @@ a[href]:hover, .btn:hover {
336336
}
337337

338338
.c.wide-content {
339-
max-width: 50em;
339+
width: 100%
340+
}
341+
342+
@media (min-width: 640px){
343+
.c.wide-content {
344+
max-width: 640px
345+
}
346+
}
347+
348+
@media (min-width: 768px){
349+
.c.wide-content {
350+
max-width: 768px
351+
}
352+
}
353+
354+
@media (min-width: 1024px){
355+
.c.wide-content {
356+
max-width: 1024px
357+
}
358+
}
359+
360+
@media (min-width: 1280px){
361+
.c.wide-content {
362+
max-width: 1280px
363+
}
364+
}
365+
366+
@media (min-width: 1536px){
367+
.c.wide-content {
368+
max-width: 1536px
369+
}
340370
}
341371

342372
.btn.primary {

0 commit comments

Comments
 (0)