From 2c21f29cb49e56aca71e371316a67ba3a82a2be1 Mon Sep 17 00:00:00 2001 From: Mandi Wise Date: Thu, 7 Aug 2014 14:07:13 -0700 Subject: [PATCH] Make CSS a little more responsive. --- README.md | 1 + public/assets/css/public.css | 19 +++++++++++-------- readme.txt | 1 + 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9815898..269d1cb 100755 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ Yes, but no translations are available quite yet. ### 2.0.4 * Add ability to manually load public CSS when using `do_shortcode` +* Improve responsiveness of public CSS ### 2.0.3 * Ensure scripts and styles only load when the shortcode is present (for real this time...) diff --git a/public/assets/css/public.css b/public/assets/css/public.css index a81229b..d4501ca 100755 --- a/public/assets/css/public.css +++ b/public/assets/css/public.css @@ -58,17 +58,18 @@ #filters { list-style: none; + margin: 0 0 1em 0; } #filters li { float: left; border: 1px solid #ededed; - margin: 0 0.5em 1em 0; + margin: 0 .5em 1em 0; } #filters li a { text-decoration: none; - padding: 0.5em 1em; + padding: .5em 1em; display: block; } @@ -79,12 +80,15 @@ #iso-loop { display: none; list-style: none; + margin: 0; } #iso-loop li { - margin: 0; - padding: 0 1em; - max-width: 290px; + width: 30.5%; + margin: 0 2.5% 2.5% 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } h2.iso-title a { @@ -92,9 +96,8 @@ h2.iso-title a { } .iso-thumb { - width: inherit; - padding: 0.5em 0; - margin-bottom: 0.5em; + width: auto; + margin-bottom: .5em; } .iso-thumb img { diff --git a/readme.txt b/readme.txt index 9601d12..65543c8 100755 --- a/readme.txt +++ b/readme.txt @@ -100,6 +100,7 @@ Yes, but no translations are available quite yet. = 2.0.4 = * Add ability to manually load public CSS when using `do_shortcode` +* Improve responsiveness of public CSS = 2.0.3 = * Ensure scripts and styles only load when the shortcode is present (for real this time...)