Nicer handling of images and smileys
authorMagnus Hagander <magnus@hagander.net>
Fri, 31 Mar 2017 12:08:19 +0000 (14:08 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 31 Mar 2017 12:08:19 +0000 (14:08 +0200)
Allow images to go up to 300px, and explicitly make wordpress smileys
(since we have lot of wordpress blogs) normal size and inline instead of
overriding them.

Petr Jelinek

www/css/planet.css

index 854cdebf6431a9fcdf26b3e445a27037e1ebff96..eb4e820051cb3089cccb254945469b027889863b 100644 (file)
@@ -99,10 +99,19 @@ div.planetPostContent img {
    margin-left: auto;
    margin-right: auto;
    max-height: 100px;
-   max-width: 100px;
+   max-width: 300px;
+   width: auto;
+   height: auto;
    clear: left;
 }
 
+div.planetPostContent img.wp-smiley {
+    display: inline-block;
+    height: 1em;
+    max-width: 2em;
+    width: auto;
+}
+
 div#planetRight {
    width: 280px;
    margin-top: 10px;