css does not minify/concat correctly when using default main.css #181
Description
I am using a single css file in my index.html file:
<link rel="stylesheet" href="css/style.css">
This links out to a file that consists only of imports:
@import url(normalize.css); @import url(main.css); @import url(site.css);
The main.css is the default css that is packaged w/Boilerplate. However, all the parens on one of the media queries seems to be breaking the minification routine. It looks like the 5/4 expression is causing issues; maybe the slash is escaping something?
The problematic section is bolded below, with its result (unminified for readability):
Before
.clearfix {
*zoom: 1;
}
/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
*@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices /
}
/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== /
@media print {
* {
background: transparent !important;
color: #000 !important; / Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
} <snip ...>
After
`
.clearfix {
*zoom: 1
}
@media print,(-o-min-device-pixel-ratio: 5 / @media print { *{background:transparent
!important;color:#000
!important;box-shadow:none
!important;text-shadow:none
!important
}
a, a:visited {
text-decoration: underline
}
`