diff options
| author | kaernyk <kaernyk@gmail.com> | 2014-09-26 22:54:01 -0400 |
|---|---|---|
| committer | kaernyk <kaernyk@gmail.com> | 2014-09-26 22:54:01 -0400 |
| commit | c115ebc7e0c7077e10756159d9c31a531d5ca583 (patch) | |
| tree | 4e916df29419eb95018a39338acfe8bb33f35199 | |
| parent | 2e46875125867886780a2a0dcc022e01c111bcf4 (diff) | |
Improved image handling in catalog for various screen sizes
| -rw-r--r-- | stylesheets/style.css | 47 |
1 files 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 |
