* { box-sizing: border-box; } body { margin: 0.7em; display: grid; grid-template-columns: 1fr 9fr; grid-gap: 20px; font-family: Georgia, Garamond, serif; font-style: normal; font-size: 20px; } #header { /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 3; /* Define layout for the children elements */ display: grid; grid-template-columns: 8fr 2fr; /* Content styling */ background-color: #336699; color: #FFFFFF; border-radius: 3px; } #header #header-text { /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 2; /* Content styling */ font-size: 1.7em; padding-left: 1em; } #header #header-nav { /* Place it in the parent element */ grid-column-start: 2; grid-column-end: 3; } #header #header-nav .nav li a { /* Content styling */ color: #FFFFFF; background: #4477AA; border: solid 5px #336699; border-radius: 5px; font-size: 0.7em; text-align: center; } #nav-sidebar { /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 2; } #nav-sidebar .nav li a:hover { border-radius: 0.5em; } #nav-sidebar .nav .activemenu { border-style: solid; border-radius: 0.5em; border-color: #AAAAAA; background-color: #EFEFEF; } #main { /* Place it in the parent element */ grid-column-start: 2; grid-column-end: 3; /* Define layout for the children elements */ display: grid; grid-template-columns: 1fr; grid-template-rows: 4em 100%; grid-gap: 1em; } #main #pagetitle { /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 3; /* Content-styling */ border-radius: 3px; background-color: #88BBEE; } #main #pagetitle .title { font-size: 1.4em; text-transform: capitalize; padding-left: 0.5em; } #main #all-content { /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 3; /* Define layout for the children elements */ display: grid; grid-template-columns: 7fr 3fr; /* For a maximum screen width of 1366 pixels */ grid-gap: 1.5em; } #main #all-content .row { margin: 0 2px; } #main #all-content #main-content { background: #FFFFFF; max-width: 950px; } #pagetitle .breadcrumb { background: none; text-transform: capitalize; font-size: 0.75em; } #pagetitle .breadcrumb .active a { color: #333333; } #pagetitle .breadcrumb a { color: #666666; }