MediaWiki talk:Common.css

Revision as of 02:21, 31 January 2025 by Michael Bromley (talk | contribs) (read page widths: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 31 January by Michael Bromley in topic read page widths

read page widths

/* adjust viewing widths */ /* Styles for standard view */ .skin-standard .mw-body {

   max-width: 900px;    /* Adjust this value as needed */
   min-width: 600px;    /* Adjust this value as needed */
   margin: 0 auto;
   padding: 0 20px;

}

/* Styles for wide view */ .skin-wide .mw-body {

   max-width: 1200px;   /* Adjust this value as needed */
   min-width: 800px;    /* Adjust this value as needed */
   margin: 0 auto;
   padding: 0 20px;

}

/* Apply consistent width to the content area */ .mw-body {

   flex: 1;  /* Allow content to take up available space */

}

/* Styles to ensure sidebar does not affect the width */

  1. mw-content-text {
   box-sizing: border-box;  /* Include padding and border in the element's width and height */

} Michael Bromley (talk) 02:21, 31 January 2025 (UTC)Reply

Return to "Common.css" page.