Skip to content

Commit

Permalink
fix: add wide-content css flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Sep 20, 2024
1 parent 66a19cb commit a2ddbc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions mkdocs_nype/templates/assets/stylesheets/nype-main.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
}
}

/* Wide content */
@media screen and (min-width: 30rem) {
.nype-wide-content + .md-container .md-content {
max-width: 60rem;
margin: auto;
}
}

/* Overall better text formatting */
.nype-justify + .md-container .md-content {
text-align: justify;
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "hatchling.build"

[project]
name = "mkdocs-nype"
version = "0.15.2"
version = "0.15.3"
description = "MkDocs theme for Nype MkDocs projects, extends the Material for MkDocs theme"
authors = [
{ name = "Kamil Krzyśków", email = "[email protected]" }
Expand Down

0 comments on commit a2ddbc3

Please sign in to comment.