From c115ebc7e0c7077e10756159d9c31a531d5ca583 Mon Sep 17 00:00:00 2001 From: kaernyk Date: Fri, 26 Sep 2014 22:54:01 -0400 Subject: [PATCH] Improved image handling in catalog for various screen sizes --- stylesheets/style.css | 47 ++++++------------------------------------- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index 129dcffb..0f6fca49 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -658,8 +658,8 @@ div.thread.grid-li { } .theme-catalog div.grid-size-vsmall img { - max-height: 64px; - max-width: 96px; + max-height: 50%; + max-width: 99%; } .theme-catalog div.grid-size-vsmall { @@ -668,8 +668,8 @@ div.thread.grid-li { } .theme-catalog div.grid-size-small img { - max-height: 128px; - max-width: 225px; + max-height: 50%; + max-width: 99%; } .theme-catalog div.grid-size-small { @@ -678,8 +678,8 @@ div.thread.grid-li { } .theme-catalog div.grid-size-large img { - max-height: 175px; - max-width: 300px; + max-height: 50%; + max-width: 99%; } .theme-catalog div.grid-size-large { @@ -884,39 +884,4 @@ code > pre > span.pln { div.post div.body { clear: none; } - - .theme-catalog div.grid-size-vsmall img { - max-height: 96px; - max-width: 160px; - } - - .theme-catalog div.grid-size-vsmall { - width: 160px; - height: 256px; - } - - .theme-catalog div.grid-size-small img { - max-height: 160px; - max-width: 225px; - } - - .theme-catalog div.grid-size-small { - width: 225px; - height:320px; - } - - .theme-catalog div.grid-size-large img { - max-height: 200px; - max-width: 300px; - } - - .theme-catalog div.grid-size-large { - width: 300px; - height: 409px; - } - - .theme-catalog img.thread-image { - height: auto; - max-width: 100%; - } } \ No newline at end of file