From: Hakim El Hattab Date: Tue, 29 May 2012 22:36:25 +0000 (-0400) Subject: adjust where page background is applied X-Git-Tag: 1.3.0~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7b8033a10e77b3737246fffaa625c4ac4968ca5;p=reveal.js.git adjust where page background is applied --- diff --git a/css/main.css b/css/main.css index a9f5e6a..71eff19 100644 --- a/css/main.css +++ b/css/main.css @@ -22,6 +22,14 @@ *********************************************/ html, body { + padding: 0; + margin: 0; + width: 100%; + height: 100%; + min-height: 600px; +} + +body { position: relative; padding: 0; margin: 0; @@ -31,16 +39,8 @@ html, body { font-size: 36px; font-weight: 200; letter-spacing: -0.02em; - color: #eee; - - width: 100%; - height: 100%; - - min-height: 600px; -} -html { background: #1c1e20; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM1NTVhNWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMWMxZTIwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%, rgba(28,30,32,1) 100%);