Move @supports block to end of stylesheet to avoid breaking whole stylesheet in Maxthon. #593

This commit is contained in:
ccd0 2015-11-15 20:05:47 -08:00
parent 8aa780cc33
commit 6063a9ecc6
3 changed files with 11 additions and 10 deletions

View File

@ -344,7 +344,7 @@ Main =
$.ready ->
cb() if Main.isThisPageLegit()
css: `<%= importCSS('font-awesome', 'style', 'yotsuba', 'yotsuba-b', 'futaba', 'burichan', 'tomorrow', 'photon') %>`
css: `<%= importCSS('font-awesome', 'style', 'yotsuba', 'yotsuba-b', 'futaba', 'burichan', 'tomorrow', 'photon', 'supports') %>`
features: [
['Polyfill', Polyfill]

View File

@ -944,15 +944,6 @@ span.hide-announcement {
text-decoration: none;
border-bottom: 1px dashed;
}
@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {
.quotelink.forwardlink,
.backlink.forwardlink {
text-decoration: underline;
-moz-text-decoration-style: dashed;
text-decoration-style: dashed;
border-bottom: none;
}
}
.filtered {
text-decoration: underline line-through;
}

10
src/css/supports.css Normal file
View File

@ -0,0 +1,10 @@
/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */
@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {
.quotelink.forwardlink,
.backlink.forwardlink {
text-decoration: underline;
-moz-text-decoration-style: dashed;
text-decoration-style: dashed;
border-bottom: none;
}
}