Skip to content
Snippets Groups Projects
hy-main-content-wrapper.scss 954 B
Newer Older
  • Learn to ignore specific revisions
  • :host {
      display: block;
    }
    
    .with-sidebar {
      .hy-main-content-wrapper {
        // Layout Mobile 320-479px
    
        margin: 0 auto;
        max-width: 100%;
    
    Tuukka Turu's avatar
    Tuukka Turu committed
        position: relative;
    
        // Side navigation disappears to hamburger when width < 1200.
    
          // the rule is applied to screens >=480px: width 100% - side margins (32px)
    
    druid's avatar
    druid committed
        // Large desktop Layout >1600px
    
        @include breakpoint($xlarge) {
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
          max-width: 1216px;
          padding: 0;
    
        }
      }
    }
    
    .without-sidebar {
      .hy-main-content-wrapper {
        // Layout Mobile 320-479px
    
        margin: 0 auto;
        max-width: 100%;
    
    Tuukka Turu's avatar
    Tuukka Turu committed
        position: relative;
    
    
        // Layout Tablet 480-959px
        @include breakpoint($narrow) {
          padding: 0 2rem;
        }
    
    
    druid's avatar
    druid committed
        // Large desktop Layout >1200px
    
        @include breakpoint($extrawide) {
    
    druid's avatar
    druid committed
          max-width: 1216px;
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
          padding: 0;