Added margins to images in <main>.

This commit is contained in:
Joshua Ramon Enslin 2018-07-04 15:54:06 +02:00 committed by Stefan Rohde-Enslin
parent a10c7a6596
commit c512ab0b9d
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ div.objTile { display: inline-block; width: 200px; border: 1px solid #D6D6
transition: background .4s, box-shadow .4s; }
div.objTile > div { position: relative; padding: .5em .5em 1.5em .5em; }
div.objTile h4 { margin: 0; padding: 0 .5em; text-align: center; }
div.objTile img { max-width: 198px; }
div.objTile img { max-width: 198px; margin: 0; }
div.objTile:hover { background: #F2F2F2; box-shadow: 1px 1px 3px #D6D6D6, -1px -1px 3px #D6D6D6; }
div.objTile > div > div { color: #888; font-size: .8em; }

View File

@ -132,6 +132,7 @@ body > nav > ul > li a:hover { background: #000; color: #FFF; }
*/
main { padding: 1em 0 1em 0; text-align: justify; }
main img { margin: 1em; }
/************
* Main footer.