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 {
cursor: pointer;
float: right;
margin: 0 0 4% 5%;
margin: 0 0 4% 4%;
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-left: 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 0 3% 3%;
}
.theme-browser .theme .theme-screenshot:after {
padding-top: 75%; /* using a 4/3 aspect ratio */
}
.theme-browser .theme:nth-child(3n) {
margin-left: 3%;
@ -7116,13 +7119,8 @@ body.folded .theme-overlay .theme-wrap {
right: 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-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 {
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;

File diff suppressed because one or more lines are too long