X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/af3e9caaf16b84899e825608d97d84431d8e9454..71b0bebea369ab07e2d1a64a2376aba1f98c5a6f:/prawokultury/static/css/base.scss?ds=sidebyside 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;} }