Skip to content

Commit

Permalink
closes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
francisrupert committed Dec 7, 2017
1 parent d101e90 commit 3b17aee
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module.exports = function (grunt) {
processors: [
require('pixrem')(), // add fallbacks for rem units
require('autoprefixer')({ browsers: 'last 2 versions' }), // add vendor prefixes
// require('postcss-quantity-queries')(), // do things like .asdf:at-least(4) {} ; https://github.com/pascalduez/postcss-quantity-queries
require('postcss-quantity-queries')(), // do things like .asdf:at-least(4) {} ; https://github.com/pascalduez/postcss-quantity-queries
// require('cssnano')() // minify the result
]
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"node-sass": "^3.10.1",
"pixrem": "^3.0.2",
"postcss": "^5.2.6",
"time-grunt": "^1.4.0"
"time-grunt": "^1.4.0",
"postcss-quantity-queries": "^0.4.0"
},
"dependencies": {
"jquery": "^2.2.2",
Expand Down
14 changes: 14 additions & 0 deletions src/stylesheets/_pcp.shame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@
width: 100%;
}

.pcp-mapping .fsa-content-tabs__item:nth-last-child(n+11),
.pcp-mapping .fsa-content-tabs__item:nth-last-child(n+11) ~ .fsa-content-tabs__item {
.fsa-content-tabs__label {
@include font-size(3);
}
}

.pcp-mapping .fsa-content-tabs__item:nth-last-child(n+15),
.pcp-mapping .fsa-content-tabs__item:nth-last-child(n+15) ~ .fsa-content-tabs__item {
.fsa-content-tabs__label {
@include font-size(2);
}
}

.sr-only {
@include sr-only();
}
Expand Down

0 comments on commit 3b17aee

Please sign in to comment.