X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/af3e9caaf16b84899e825608d97d84431d8e9454..dfcd58dbea27ffc187606d2e623e6a7902f88ad0:/prawokultury/static/css/base.scss diff --git a/prawokultury/static/css/base.scss b/prawokultury/static/css/base.scss index 5b08be6..18a955a 100644 --- a/prawokultury/static/css/base.scss +++ b/prawokultury/static/css/base.scss @@ -1,4 +1,7 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic); +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Regular.css); +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Bold.css); +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Italic.css); + body { font-family: 'Lato', sans-serif; @@ -7,7 +10,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 +52,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;} }