Fixed a couple of things

This commit is contained in:
Hugo Giraudel 2013-07-10 21:27:40 +02:00
parent a55c9437f7
commit b0993aecee
5 changed files with 18 additions and 27 deletions

View file

@ -57,4 +57,11 @@
zoom: 1;
*display: inline;
}
}
@mixin prefix($property, $value) {
$vendors: "-webkit-", "-moz-", "-ms-", "-o-", "";
@each $v in $vendors {
#{$v}#{$property}: $value;
}
}

View file

@ -36,11 +36,7 @@
* Try turning images to black and white if supported filters
*/
img {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
@include prefix(filter, grayscale(100%));
}
/**

View file

@ -162,22 +162,4 @@ body > style {
position: static;
}
}
}
/* Quick print reset */
@media print {
p, blockquote {
orphans: 2;
widows: 2;
}
blockquote,
ul, ol {
page-break-inside: avoid;
}
h1, h2, h3,
caption {
page-break-after: avoid;
}
}

View file

@ -12,8 +12,17 @@ table,
vertical-align: top;
}
/**
* 1. Prevent reCAPTCHA from exploding
* See: https://github.com/raphaelgoetter/KNACSS/issues/18
*/
table {
width: 100%;
border: $border;
&#recaptcha_table {
table-layout: auto; /* 1 */
}
}
.table {
@ -26,10 +35,6 @@ caption {
font-style: italic;
}
table {
border: $border;
}
thead {
@include mq(tiny) {
display: none;

1
stylesheets/knacss.css Normal file

File diff suppressed because one or more lines are too long