Skip to content

Commit

Permalink
Make docs' content responsively wider (#2644)
Browse files Browse the repository at this point in the history
* Make docs' content responsively wider

* Keep navigation static

* Remove unneeded class
  • Loading branch information
pokonski committed Jun 18, 2024
1 parent 846a3d9 commit 61e5fc1
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion www/themes/htmx-theme/static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,37 @@ a[href]:hover, .btn:hover {
}

.c.wide-content {
max-width: 50em;
width: 100%
}

@media (min-width: 640px){
.c.wide-content {
max-width: 640px
}
}

@media (min-width: 768px){
.c.wide-content {
max-width: 768px
}
}

@media (min-width: 1024px){
.c.wide-content {
max-width: 1024px
}
}

@media (min-width: 1280px){
.c.wide-content {
max-width: 1280px
}
}

@media (min-width: 1536px){
.c.wide-content {
max-width: 1536px
}
}

.btn.primary {
Expand Down

0 comments on commit 61e5fc1

Please sign in to comment.