Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d868f40f99
commit
ee74f3a9a6
File diff suppressed because one or more lines are too long
|
@ -2095,7 +2095,7 @@ body.admin-bar #adminmenu {
|
|||
}
|
||||
|
||||
.postbox-container {
|
||||
float: left;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#postbox-container-1 .meta-box-sortables:first-child,
|
||||
|
@ -4921,6 +4921,7 @@ td.post-title p, td.plugin-title p {
|
|||
|
||||
.tool-box {
|
||||
margin: 15px 0 35px;
|
||||
max-width: 650px;
|
||||
}
|
||||
.tool-box .buttons {
|
||||
margin: 15px 0;
|
||||
|
@ -7638,3 +7639,82 @@ a.widget-control-edit {
|
|||
.widgets_access .widget .widget-top {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
/* categories */
|
||||
#col-left{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#col-right{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 769px) {
|
||||
/* categories */
|
||||
#col-left{
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#col-right{
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.widefat{
|
||||
max-width: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 860px) {
|
||||
|
||||
/* categories */
|
||||
#col-left{
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#col-right{
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 980px) {
|
||||
|
||||
/* categories */
|
||||
#col-left{
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#col-right{
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
/* categories */
|
||||
#col-left{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#col-right{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-field input, .form-field textarea{
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
.form-wrap .form-field{
|
||||
padding:0;
|
||||
}
|
||||
|
||||
/* users */
|
||||
#profile-page .form-table textarea{
|
||||
max-width: 400px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -402,7 +402,7 @@ function wp_default_styles( &$styles ) {
|
|||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110914' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110914a' );
|
||||
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array('wp-admin'), '20110902' );
|
||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
|
Loading…
Reference in New Issue