Django 1.9
[prawokultury.git] / prawokultury / static / css / base.scss
index 5b08be6..18a955a 100644 (file)
@@ -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;}
 
 }