From 520baebefdb90c986a859811a1fd1bf460f28d1f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 6 Dec 2013 21:26:34 +0000 Subject: [PATCH] Themes: Final gutter and breakpoint adjustments. props matveb. fixes #26462. git-svn-id: https://develop.svn.wordpress.org/trunk@26747 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 591a3732e4..af3e885b14 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -6358,9 +6358,9 @@ span.imgedit-scale-warn { .theme-browser .theme { cursor: pointer; float: left; - margin: 0 5% 4% 0; + margin: 0 4% 4% 0; position: relative; - width: 30%; + width: 30.6%; border: 1px solid #dedede; -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); @@ -7096,12 +7096,15 @@ body.folded .theme-overlay .theme-wrap { margin-right: 0; } } - -@media only screen and (min-width: 1700px) { +/* Maximum screenshot width reaches 440px */ +@media only screen and (min-width: 1640px) { .theme-browser .theme { width: 22.7%; margin: 0 3% 3% 0; } + .theme-browser .theme .theme-screenshot:after { + padding-top: 75%; /* using a 4/3 aspect ratio */ + } .theme-browser .theme:nth-child(3n) { margin-right: 3%; @@ -7116,13 +7119,8 @@ body.folded .theme-overlay .theme-wrap { left: 22%; } } - -@media only screen and (min-width:1400px) { - .theme-browser .theme .theme-screenshot:after { - padding-top: 75%; /* using a 4/3 aspect ratio */ - } -} -@media only screen and (max-width: 1150px) { +/* Maximum screenshot width reaches 440px */ +@media only screen and (max-width: 1120px) { .theme-browser .theme { width: 47.5%; margin-right: 0;