img width restricted to 100% in article
This commit is contained in:
@@ -190,10 +190,13 @@
|
|||||||
(at-media {:screen true :min-width (px 1024)} [:.central-element {:width width}])
|
(at-media {:screen true :min-width (px 1024)} [:.central-element {:width width}])
|
||||||
(at-media {:screen true :max-width (px 1023)} [:.central-element {:width "90%"}])
|
(at-media {:screen true :max-width (px 1023)} [:.central-element {:width "90%"}])
|
||||||
|
|
||||||
|
["article img" { :max-width "100%" }]
|
||||||
|
|
||||||
["article p" {
|
["article p" {
|
||||||
:font-size (em (* 1.2 text-size-factor))
|
:font-size (em (* 1.2 text-size-factor))
|
||||||
:line-height "140%"
|
:line-height "140%"
|
||||||
}]
|
}]
|
||||||
|
|
||||||
["article > h1:first-child" {
|
["article > h1:first-child" {
|
||||||
:text-align "center"
|
:text-align "center"
|
||||||
:font-size (em (* 2 header-size-factor))
|
:font-size (em (* 2 header-size-factor))
|
||||||
|
|||||||
Reference in New Issue
Block a user