From d2b9389fffb625dea30e1afe405aee725c276ac0 Mon Sep 17 00:00:00 2001 From: raphaelgoetter Date: Fri, 2 Aug 2013 11:09:53 +0200 Subject: [PATCH] autogrids corrections --- css/grids.css | 8 ++++---- less/knacss.less | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/css/grids.css b/css/grids.css index 58570b4..2268f21 100644 --- a/css/grids.css +++ b/css/grids.css @@ -28,16 +28,16 @@ /* auto-justified equal grids */ -[class^="autogrid"] { +[class*="autogrid"] { text-align: justify; font-size: 1px; letter-spacing: -1px; /* whitespace fi xpart 1 */ } -[class^="autogrid"]:after { +[class*="autogrid"]:after { content: ""; display: inline-block; width: 100%; } -[class^="autogrid"] > * { +[class*="autogrid"] > * { display: inline-block; vertical-align: top; text-align: left; @@ -72,5 +72,5 @@ .autogrid12 > * {width: 49.55%} } @media (max-width: 640px) { - [class^="autogrid"] > * {width: 100%} + [class*="autogrid"] > * {width: 100%} } \ No newline at end of file diff --git a/less/knacss.less b/less/knacss.less index eb3d903..bc540c4 100644 --- a/less/knacss.less +++ b/less/knacss.less @@ -391,16 +391,16 @@ img.left, img.right { /* auto-justified equal grids */ -[class^="autogrid"] { +[class*="autogrid"] { text-align: justify; font-size: 1px; letter-spacing: -1px; /* whitespace fi xpart 1 */ } -[class^="autogrid"]:after { +[class*="autogrid"]:after { content: ""; display: inline-block; width: 100%; } -[class^="autogrid"] > * { +[class*="autogrid"] > * { display: inline-block; vertical-align: top; text-align: left; @@ -435,7 +435,7 @@ img.left, img.right { .autogrid12 > * {width: 49.55%} } @media (max-width: @tinyscreen) { - [class^="autogrid"] > * {width: 100%} + [class*="autogrid"] > * {width: 100%} } /* blocks widths (percentage and pixels) */