Add a rule to style.css to scale down large images.
authorAdam Sampson <ats@offog.org>
Sat, 23 Aug 2014 12:58:42 +0000 (13:58 +0100)
committerAdam Sampson <ats@offog.org>
Sat, 23 Aug 2014 12:58:42 +0000 (13:58 +0100)
NEWS
style.css

diff --git a/NEWS b/NEWS
index f2021d1fa1aa8cfb2c3879711d074da0b0227d37..870215e359949356fecb418ed3f7da50d772a281 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
 
 Add a test for the maxage option (suggested by joelmo).
 
+Add a rule to style.css to scale down large images.
+
 - rawdog 2.19
 
 Make test-rawdog not depend on having a host it can test connection
index 977f1e0b79a3aa27307ec986eab706ceff9f6b9e..2e5ba09294f77060ffd54dd1737e29e544f525fe 100644 (file)
--- a/style.css
+++ b/style.css
        text-decoration: none;
        margin: 0;
 }
+/* Scale down large images in feeds */
+img {
+       max-width: 100%;
+       height: auto;
+}
 html {
        margin: 0;
        padding: 0;