Truncate questions on question list.
[prawokultury.git] / prawokultury / static / css / base.css
index 217a2fd..b5481a8 100644 (file)
@@ -6,7 +6,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; }
 
 a {
@@ -39,18 +40,23 @@ h2 {
 .normal {
   font-size: 1.3em; }
 
+.entry-wrapped .gallery {
+  clear: both; }
 .entry-wrapped .gallery-item {
   float: left;
   width: 300px;
   text-align: center;
   margin-top: 2em; }
+  .entry-wrapped .gallery-item p {
+    min-height: 1.25em; }
 .entry-wrapped .gallery-image {
   height: 240px;
   width: 300px;
   display: table-cell;
   vertical-align: middle; }
 .entry-wrapped .gallery-image img {
-  margin: 0; }
+  margin: 0 auto;
+  display: block; }
 
 .questions li {
   margin-bottom: 1em; }