From 05198edf8286f7fb7d1bcbaca03da328b1180d36 2015-03-05 19:35:15 From: Bradley M. Kuhn Date: 2015-03-05 19:35:15 Subject: [PATCH] Make FAQ entry done in dt look better with CSS. This is accomplished by three key changes: * use em rather than px sizes, so that font changes are accomodated. * Add a margin to the dt. * center the text in the dt's rather than right align. --- diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css index ba52db70e1198dc091a71bbce9c67271b0e030d4..f2096d8ee977309f58d847f654441b888efc636a 100644 --- a/www/conservancy/static/conservancy.css +++ b/www/conservancy/static/conservancy.css @@ -334,14 +334,14 @@ dl { dt { float: left; clear: left; - width: 100px; - text-align: right; + width: 10em; + margin: 0em 1em 0.5em 0.5em; + text-align: center; font-weight: bold; color: green; } dt:after { content: ":"; } dd { - margin: 0 0 0 110px; - padding: 0 0 0.5em 0; -} \ No newline at end of file + margin: 0 0 2em 11em; +}