DannyBen/madness

View on GitHub
app/styles/main.scss

Summary

Maintainability
Test Coverage
@import "manifest";

body {
  max-width: 1300px;
  margin: 0 auto;
}

.main {
  padding: 0 20px 100px 20px;

  &:before, &:after {
    display: table;
    content: "";
  }

  &:after {
    // clear: both;
  }

  @include desktop {
    &.with-sidebar {
      min-height: 100vh;
      margin-left: 250px;
    }
  }
  
  &.without-sidebar {
    max-width: 980px;
    margin: 0 auto;
  }
}