Frost-mobile: media query in css for tablets

Use space more efficiently on tablets in frost-mobile theme. Tested with
iPad 1.
This commit is contained in:
Christian Vogeley 2012-08-05 16:08:07 +02:00
parent f616fd21e7
commit e6067e6694

View File

@ -156,7 +156,7 @@ nav #banner #logo-text a {
font-size: 40px; font-size: 40px;
font-weight: bold; font-weight: bold;
margin-left: 3px; margin-left: 3px;
color: #000000; color: #000000;
} }
nav #banner #logo-text a:hover { text-decoration: none; } nav #banner #logo-text a:hover { text-decoration: none; }
@ -2399,13 +2399,13 @@ aside input[type='text'] {
} }
.photo-album-image-wrapper .caption { .photo-album-image-wrapper .caption {
display: none; display: none;
width: 100%; width: 100%;
/* position: absolute; */ /* position: absolute; */
bottom: 0px; bottom: 0px;
padding: 0.5em 0.5em 0px 0.5em; padding: 0.5em 0.5em 0px 0.5em;
background-color: rgba(245, 245, 255, 0.8); background-color: rgba(245, 245, 255, 0.8);
border-bottom: 2px solid #CCC; border-bottom: 2px solid #CCC;
margin: 0px; margin: 0px;
} }
.photo-album-image-wrapper a:hover .caption { .photo-album-image-wrapper a:hover .caption {
display:block; display:block;
@ -2433,13 +2433,13 @@ aside input[type='text'] {
-webkit-border-radius: 10px; -webkit-border-radius: 10px;
} }
.photo-top-album-name { .photo-top-album-name {
width: 100%; width: 100%;
min-height: 2em; min-height: 2em;
/* position: absolute; */ /* position: absolute; */
bottom: 0px; bottom: 0px;
padding: 0px 3px; padding: 0px 3px;
padding-top: 0.5em; padding-top: 0.5em;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
} }
#photo-top-end { #photo-top-end {
clear: both; clear: both;
@ -3885,3 +3885,21 @@ ul.notifications-menu-popup {
margin-left: 40px; margin-left: 40px;
width: 130px; width: 130px;
} }
@media only screen and (min-device-width: 768px)
and (max-device-width: 1024px)
{
html {
width:700px
}
div.section-wrapper {
width:700px;
margin-left:0px;
}
.wall-item-body {
width:700px;
}
.comment .wall-item-body {
width:650px;
}
}