Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dry up scss/3-layouts/_wvu-base #71

Open
zeroedin opened this issue Jun 28, 2016 · 0 comments
Open

Dry up scss/3-layouts/_wvu-base #71

zeroedin opened this issue Jun 28, 2016 · 0 comments

Comments

@zeroedin
Copy link
Contributor

zeroedin commented Jun 28, 2016

There is duplication of code in scss/3-layouts/_wvu-base could rewrite the file to:

@mixin wvu-container {
  @include outer-container(); position: relative; padding: $wvu-container-padding; padding-left: 1em; padding-right: 1em;
  @include mq($bp-xlarge) {
    padding: $wvu-container-padding; padding-left: 0; padding-right: 0;
  }
}

.wvu-container {
  @include wvu-container();
}

.main {
  @include mq($bp-medium) { @include span-columns(9); }
}

.wvu-sidebar {
  @include mq($bp-medium) { @include span-columns(3); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant