From: Zak Rogoff Date: Tue, 25 Aug 2015 15:49:05 +0000 (-0400) Subject: Trying out new image class that the designers gave to me. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=93ff2ab8b83a256aff4714adf1dd7eb2ddf17029;p=enc-static.git Trying out new image class that the designers gave to me. --- diff --git a/css/main.css b/css/main.css index 2718592..0fc5281 100644 --- a/css/main.css +++ b/css/main.css @@ -824,6 +824,11 @@ input[type='reset']:hover { #workshops-image { width: 100%; - } + } + .section-intro p.image { text-align: center; } + + /* optional css rule, if you want to set the image a bit smaller than its 800px width */ + .section-intro p.image > img { width: 80%; } + }