/* Table of Contents ================================================== # Canvas # Media Queries */ /* # Canvas ================================================== */ .canvas { height: 100%; min-height: 100%; } .canvas-content, .canvas-sidebar { box-sizing: border-box; display: block; float: left; height: 100%; min-height: 100%; } .canvas-content { padding: 30px 0; max-width: calc(100% - 280px); width: calc(100% - 280px); } .canvas-with-header > .canvas-content, .canvas-with-header > .canvas-sidebar, .canvas-with-header-and-footer > .canvas-content, .canvas-with-header-and-footer > .canvas-sidebar { margin-top: 60px; } .canvas-with-footer > .canvas-content, .canvas-with-header-and-footer > .canvas-content { padding-bottom: 90px; } .canvas-sidebar { max-width: 280px; width: 280px; } .canvas-with-header .sidebar, .canvas-with-footer .sidebar { height: calc(100% - 60px); max-height: calc(100% - 60px); } .canvas-with-header-and-footer .sidebar { height: calc(100% - 120px); max-height: calc(100% - 120px); } /* # Media Queries ================================================== */ @media only screen and (max-width: 1199px) { .canvas-content { max-width: calc(100% - 220px); width: calc(100% - 220px); } .canvas-sidebar { max-width: 220px; width: 220px; } } @media only screen and (max-width: 767px) { .canvas-with-header > .canvas-content, .canvas-with-header > .canvas-sidebar, .canvas-with-header-and-footer > .canvas-content, .canvas-with-header-and-footer > .canvas-sidebar { margin-top: 50px; } .canvas-with-footer > .canvas-content, .canvas-with-header-and-footer > .canvas-content { padding-bottom: 80px; } .canvas-with-header .sidebar, .canvas-with-footer .sidebar { height: calc(100% - 50px); max-height: calc(100% - 50px); } .canvas-with-header-and-footer .sidebar { height: calc(100% - 100px); max-height: calc(100% - 100px); } .canvas-content { max-width: 100%; width: 100%; } }