Fetch thumbnails from wikidata.
[wolnelektury.git] / src / wolnelektury / static / scss / book_text / references.scss
index 0b5ebea..3ef469a 100644 (file)
@@ -13,9 +13,17 @@ a.reference.interesting::after {
     right: 0;
     z-index:100;
     background: #eee;
+
+    img {
+        margin: 0;
+    }
+    
     #reference-map {
         height:400px;
         width: 300px;
+        @media screen and (max-height: 800px) {
+            height: 300px;
+        }
     }
     #reference-images {
         padding: 10px;
@@ -26,8 +34,11 @@ a.reference.interesting::after {
             vertical-align: middle;
             margin: 0 10px 0 0;
             img {
-                margin: 0;
-                height: 100px;
+               width: auto;
+               border: 5px solid white;
+               box-shadow: 4px 4px 4px #666;
+               max-width: 240px;
+               max-height: 200px;
             }
         }
     }