[responsive/portal] Make new tableless layout more or less responsive
Right column is moved down below other columns if width is not sufficient.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
@media only screen and (max-width: 895px), only screen and (max-device-width: 895px)
|
||||
{
|
||||
#portal-body #portal-right { display: none !important; }
|
||||
#portal-right { margin-left: 0 !important; }
|
||||
#portal-center {
|
||||
margin-right: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
dd.responsive-portal-news { display: none !important; }
|
||||
.responsive-portal-news dd.posts, .responsive-portal-news dd.views { display: none !important; }
|
||||
.responsive-portal-news dt { width: 125% !important; }
|
||||
dt#n { width: 125% !important; }
|
||||
|
||||
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px)
|
||||
{
|
||||
.topiclist .topics, .topiclist .posts { display: none !important; }
|
||||
#portal-forumlist dl.icon dt { width: 125% !important; }
|
||||
}
|
||||
.topiclist .topics, .topiclist .posts { display: none !important; }
|
||||
#portal-forumlist dl.icon dt { width: 125% !important; }
|
||||
|
||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||
{
|
||||
@@ -30,7 +30,7 @@ dt#n { width: 125% !important; }
|
||||
float: right !important;
|
||||
}
|
||||
#portal-forumlist dl.icon dt { width: 100% !important; }
|
||||
#portal-left ul.topiclist dd { display: block !important; }
|
||||
#portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; }
|
||||
.portal-responsive-show { display: block !important; }
|
||||
.portal-responsive-hide { display: none !important; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user