File tree Expand file tree Collapse file tree
packages/common-config/static/common/styles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,6 +85,11 @@ html[data-theme="dark"] {
8585
8686 /* Sidebar width customization */
8787 --doc-sidebar-hidden-width : 3.5rem ;
88+
89+ /* Layout widths */
90+ --ifm-container-width : 1200px ;
91+ --ifm-container-width-xl : 1320px ;
92+ --ifm-content-width : 760px ;
8893}
8994
9095/* Sharp Grotesk Font Faces */
@@ -373,6 +378,26 @@ article {
373378 min-height : 90vh !important ;
374379}
375380
381+ /* Constrain site-wide container width */
382+ .container {
383+ max-width : var (--ifm-container-width );
384+ }
385+
386+ @media (min-width : 1440px ) {
387+ .container {
388+ max-width : var (--ifm-container-width-xl );
389+ }
390+ }
391+
392+ /* Constrain markdown content width for readability */
393+ .theme-doc-markdown ,
394+ .markdown {
395+ max-width : var (--ifm-content-width );
396+ margin-left : auto;
397+ margin-right : auto;
398+ width : 100% ;
399+ }
400+
376401/* Navbar styling */
377402.navbar {
378403 background : rgba (14 , 21 , 44 , 0.75 );
You can’t perform that action at this time.
0 commit comments