Improved display of tiles next to each other.

This commit is contained in:
Joshua Ramon Enslin 2018-06-21 16:55:42 +02:00 committed by Stefan Rohde-Enslin
parent 4e06d0bae7
commit 264881ec8d

View File

@ -27,7 +27,8 @@ a.navicurrent { background: #D6D6D6; }
* This class also builds the base for other tiles. * This class also builds the base for other tiles.
*/ */
div.objTile { display: inline-block; width: 200px; border: 1px solid #D6D6D6; text-align: center; div.objTile { display: inline-block; width: 200px; border: 1px solid #D6D6D6;
vertical-align: top; text-align: center;
transition: background .4s, box-shadow .4s; } transition: background .4s, box-shadow .4s; }
div.objTile > div { position: relative; padding: .5em .5em 1.5em .5em; } div.objTile > div { position: relative; padding: .5em .5em 1.5em .5em; }
div.objTile h4 { margin: 0; padding: 0 .5em; text-align: center; } div.objTile h4 { margin: 0; padding: 0 .5em; text-align: center; }