Properly bootstrap-style media grid for thumbnails
This commit is contained in:
parent
6aef2a7da5
commit
b703efe785
3 changed files with 47 additions and 11 deletions
32
app/assets/stylesheets/my.css.scss
Normal file
32
app/assets/stylesheets/my.css.scss
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* Make sure thumbnails in grids are 160x120 pixels */
|
||||
ul.thumbnails div.thumbnail img
|
||||
{
|
||||
/*border: 5px solid green;*/
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
/*width: 260px;*/
|
||||
/*height: 220px;*/
|
||||
}
|
||||
|
||||
ul.thumbnails div.thumbnail
|
||||
{
|
||||
width: 200px;
|
||||
height: 230px;
|
||||
}
|
||||
|
||||
ul.thumbnails h3
|
||||
{
|
||||
font-size: 18px;
|
||||
line-height: normal;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.row.showmorebox
|
||||
{
|
||||
border: 1px solid #DDD;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue