@@ -1369,6 +1369,54 @@ body.simulated-fullscreen .d-flex.flex-row-reverse.mb-2 a.btn.btn-secondary[titl
13691369  fill #005eb8 ;
13701370}
13711371
1372+ /*  Prevent width of white area of course pages being limited in width - to match header */ 
1373+ @media  (min-width 768px  ) {
1374+     body .limitedwidth.pagelayout-course  #page .drawers  .main-inner ,
1375+     body .limitedwidth.pagelayout-mycourses  #page .drawers  .main-inner ,
1376+     body .pagelayout-incourse  #page .drawers  .main-inner  {
1377+         max-width unset ;
1378+     }
1379+ }
1380+ 
1381+ /*  Remove padding to maximise the width of the white area of course pages and match header */ 
1382+ /*  Rules to apply when the menu is NOT open */ 
1383+ @media  (min-width 768px  ) {
1384+     body .pagelayout-course  #page .drawers :not (.show-drawer-left ),
1385+     body .pagelayout-mycourses  #page .drawers :not (.show-drawer-left ),
1386+     body .pagelayout-incourse  #page .drawers :not (.show-drawer-left ) {
1387+         padding-left 0 ;
1388+     }
1389+ }
1390+ 
1391+ /*  Rule to remove padding-right always */ 
1392+ @media  (min-width 768px  ) {
1393+     body .pagelayout-course  #page .drawers ,
1394+     body .pagelayout-mycourses  #page .drawers ,
1395+     body .pagelayout-incourse  #page .drawers  {
1396+         padding-right 0 ;
1397+     }
1398+ }
1399+ 
1400+ /*  Limit width of content area to prevent wide text area on course pages */ 
1401+ @media  (min-width 768px  ) {
1402+     body .limitedwidth.pagelayout-course  #page-wrapper  #page  #page-content ,
1403+     body .limitedwidth.pagelayout-mycourses  #page-wrapper  #page  #page-content ,
1404+     body .pagelayout-incourse  #page-wrapper  #page  #page-content  {
1405+         max-width 830px  ;
1406+     }
1407+     /*  No limit required when displaying SCORM content inline */ 
1408+     body #page-mod-scorm-player  #page-wrapper  #page  #page-content  {
1409+       max-width unset ;
1410+     }
1411+ }
1412+ 
1413+ /*  Remove rounded corners on course page white content area */ 
1414+ body .limitedwidth.pagelayout-course  #page .drawers  .main-inner ,
1415+ body .limitedwidth.pagelayout-mycourses  #page .drawers  .main-inner ,
1416+ body .pagelayout-incourse  #page .drawers  .main-inner  {
1417+     border-radius 0 ;
1418+ }
1419+ 
13721420.course-section  .section-item  {
13731421  padding 0px  ;
13741422  border none ;
@@ -1418,4 +1466,4 @@ a:not([class]):focus,
14181466  background-color #ffeb3b ;
14191467  box-shadow 0  -2px   #ffeb3b , 0  4px   #212b32 ;
14201468  text-decoration none ;
1421- }
1469+ }
0 commit comments