From b8ab4711c2fcbc0cbbcfaa04660d226ed8a9b915 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Sun, 17 Jul 2011 14:11:37 +0400 Subject: [PATCH] better off-screen positioning for mobile browsers --- themes/ribbon/styles/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/ribbon/styles/style.css b/themes/ribbon/styles/style.css index c8f7db2..ae8c73a 100644 --- a/themes/ribbon/styles/style.css +++ b/themes/ribbon/styles/style.css @@ -299,10 +299,12 @@ BODY { } .full .slide { position:absolute; - margin-left:200%; + top:-100%; + left:-100%; } .full .slide:target { - margin-left:0; + top:0; + left:0; } .full .slide:after { position:absolute;