From 1862a02f2f26d93b938b1662b1a64b052109f98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Sat, 28 Mar 2015 17:26:05 +0100 Subject: [PATCH] img width restricted to 100% in article --- src/notehub/css.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/notehub/css.clj b/src/notehub/css.clj index 2993c61..4597010 100644 --- a/src/notehub/css.clj +++ b/src/notehub/css.clj @@ -190,10 +190,13 @@ (at-media {:screen true :min-width (px 1024)} [:.central-element {:width width}]) (at-media {:screen true :max-width (px 1023)} [:.central-element {:width "90%"}]) + ["article img" { :max-width "100%" }] + ["article p" { :font-size (em (* 1.2 text-size-factor)) :line-height "140%" }] + ["article > h1:first-child" { :text-align "center" :font-size (em (* 2 header-size-factor))