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

@ -58,3 +58,10 @@
*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

@ -163,21 +163,3 @@ body > style {
}
}
}
/* 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