File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ feat: add different width for different media for main content
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55[project ]
66# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77name = " ansys-sphinx-theme"
8- version = " 1.0.5 "
8+ version = " 1.0.6 "
99description = " A theme devised by ANSYS, Inc. for Sphinx documentation."
1010readme = " README.rst"
1111requires-python = " >=3.9,<4"
Original file line number Diff line number Diff line change @@ -720,8 +720,27 @@ button.btn.version-switcher__button:hover {
720720.bd-main .bd-content .bd-article-container {
721721 padding : 8px ;
722722 width : 1000px ;
723+ max-width : 100% ;
723724}
724725
725726.bd-sidebar-primary {
726727 width : 20% ;
727728}
729+
730+ @media (min-width : 960px ) {
731+ .col-lg-3 {
732+ width : fit-content;
733+ }
734+ }
735+
736+ @media (min-width : 960px ) {
737+ .bd-page-width {
738+ max-width : min (100% , 1700px ) !important ;
739+ }
740+ }
741+
742+ @media (min-width : 960px ) {
743+ .bd-main .bd-content .bd-article-container {
744+ width : min (100% , 1070px );
745+ }
746+ }
You can’t perform that action at this time.
0 commit comments