From d641ad08b658926c3842bbfaf7438fbc206df56b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 5 Mar 2013 15:00:20 +0400 Subject: [PATCH] added overlay... Signed-off-by: Alex A. Naanou --- index.html | 73 ++++++++++++++++++++++++++++++++++++++++++++- magazine-themes.css | 24 +++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 5bedad8..d3f6b41 100755 --- a/index.html +++ b/index.html @@ -52,6 +52,46 @@ } */ +/* overlay... */ + +.overlay { + display: block; + position: fixed; + z-index: 999999; + top: 0px; + left: 0px; + width: 100%; + height: 100%; +} +.overlay > div:first-child { + position: absolute; + display: block; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + + opacity: 0.7; + + cursor: hand; + +} +.overlay > div:last-child { + position: absolute; + left: 0px; + top: 50%; + width: 100%; + height: 50%; + margin-top: -20%; + + text-align: center; + + opacity: 0.9; + + box-shadow: 5px 5px 200px 30px black; +} + + @@ -85,6 +125,30 @@ CKEDITOR.disableAutoInline = true