X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/af3e9caaf16b84899e825608d97d84431d8e9454..9eaf434d4f4cb1c33e0df21bbc2af1136f1d3317:/prawokultury/static/css/base.scss diff --git a/prawokultury/static/css/base.scss b/prawokultury/static/css/base.scss index 5b08be6..294c369 100644 --- a/prawokultury/static/css/base.scss +++ b/prawokultury/static/css/base.scss @@ -7,7 +7,8 @@ body { background-image: url('/static/img/bg.png'); background-repeat: no-repeat; color: #363a3b; - margin-top: 0; + margin: 0; + padding: 0; background-position: 50% 0; } @@ -48,9 +49,10 @@ h2 { font-size: 1.3em; } .entry-wrapped { -.gallery-item{float:left; width:300px;text-align:center;margin-top:2em;} +.gallery{clear:both;} +.gallery-item{float:left; width:300px;text-align:center;margin-top:2em; p{min-height: 1.25em}} .gallery-image{height:240px; width:300px; display: table-cell; vertical-align:middle;} -.gallery-image img{margin: 0;} +.gallery-image img{margin: 0 auto;display:block;} }