Themes: Final gutter and breakpoint adjustments.

props matveb.
fixes #26462.

Built from https://develop.svn.wordpress.org/trunk@26747


git-svn-id: http://core.svn.wordpress.org/trunk@26635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-12-06 21:27:10 +00:00
parent e0957c8eb7
commit 9891557341
4 changed files with 20 additions and 24 deletions

View File

@ -6358,9 +6358,9 @@ span.imgedit-scale-warn {
.theme-browser .theme { .theme-browser .theme {
cursor: pointer; cursor: pointer;
float: right; float: right;
margin: 0 0 4% 5%; margin: 0 0 4% 4%;
position: relative; position: relative;
width: 30%; width: 30.6%;
border: 1px solid #dedede; border: 1px solid #dedede;
-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); -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); box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
@ -7096,12 +7096,15 @@ body.folded .theme-overlay .theme-wrap {
margin-left: 0; margin-left: 0;
} }
} }
/* Maximum screenshot width reaches 440px */
@media only screen and (min-width: 1700px) { @media only screen and (min-width: 1640px) {
.theme-browser .theme { .theme-browser .theme {
width: 22.7%; width: 22.7%;
margin: 0 0 3% 3%; margin: 0 0 3% 3%;
} }
.theme-browser .theme .theme-screenshot:after {
padding-top: 75%; /* using a 4/3 aspect ratio */
}
.theme-browser .theme:nth-child(3n) { .theme-browser .theme:nth-child(3n) {
margin-left: 3%; margin-left: 3%;
@ -7116,13 +7119,8 @@ body.folded .theme-overlay .theme-wrap {
right: 22%; right: 22%;
} }
} }
/* Maximum screenshot width reaches 440px */
@media only screen and (min-width:1400px) { @media only screen and (max-width: 1120px) {
.theme-browser .theme .theme-screenshot:after {
padding-top: 75%; /* using a 4/3 aspect ratio */
}
}
@media only screen and (max-width: 1150px) {
.theme-browser .theme { .theme-browser .theme {
width: 47.5%; width: 47.5%;
margin-left: 0; margin-left: 0;

File diff suppressed because one or more lines are too long

View File

@ -6358,9 +6358,9 @@ span.imgedit-scale-warn {
.theme-browser .theme { .theme-browser .theme {
cursor: pointer; cursor: pointer;
float: left; float: left;
margin: 0 5% 4% 0; margin: 0 4% 4% 0;
position: relative; position: relative;
width: 30%; width: 30.6%;
border: 1px solid #dedede; border: 1px solid #dedede;
-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); -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); 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; margin-right: 0;
} }
} }
/* Maximum screenshot width reaches 440px */
@media only screen and (min-width: 1700px) { @media only screen and (min-width: 1640px) {
.theme-browser .theme { .theme-browser .theme {
width: 22.7%; width: 22.7%;
margin: 0 3% 3% 0; 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) { .theme-browser .theme:nth-child(3n) {
margin-right: 3%; margin-right: 3%;
@ -7116,13 +7119,8 @@ body.folded .theme-overlay .theme-wrap {
left: 22%; left: 22%;
} }
} }
/* Maximum screenshot width reaches 440px */
@media only screen and (min-width:1400px) { @media only screen and (max-width: 1120px) {
.theme-browser .theme .theme-screenshot:after {
padding-top: 75%; /* using a 4/3 aspect ratio */
}
}
@media only screen and (max-width: 1150px) {
.theme-browser .theme { .theme-browser .theme {
width: 47.5%; width: 47.5%;
margin-right: 0; margin-right: 0;

File diff suppressed because one or more lines are too long