Responsive thumbnail gallery time

This commit is contained in:
Jef van Schendel 2012-02-18 14:46:12 +01:00
parent 3d44c01ad6
commit 6c2e57304c

View File

@ -349,7 +349,7 @@ textarea#comment_content {
padding: 0px;
width: 180px;
overflow: hidden;
margin: 0px 4px 10px 4px;
margin: 0px 5px 10px 5px;
text-align: center;
font-size: 0.875em;
list-style: none;
@ -512,6 +512,10 @@ table.media_panel th {
display: inline;
}
.media_thumbnail {
width: 21%;
}
.profile_sidebar {
width: 100%;
margin: 0px;
@ -541,3 +545,15 @@ table.media_panel th {
padding: 9px 14px;
}
}
@media screen and (max-width: 570px) {
.media_thumbnail {
width: 29%;
}
}
@media screen and (max-width: 380px) {
.media_thumbnail {
width: 46%;
}
}