diff options
-rw-r--r-- | site/common/css/main.css | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/site/common/css/main.css b/site/common/css/main.css index 59e3eb0..6e8be97 100644 --- a/site/common/css/main.css +++ b/site/common/css/main.css @@ -7,12 +7,10 @@ line-height:1.4 } html{ background:#eee; -background-image:url('/common/background/background.jpg'); -background-attachment:fixed; font:99% sans-serif } div{ -opacity:0.9; +opacity:0.95; background:#fff; box-shadow:0 0 6px } @@ -32,3 +30,45 @@ color:#33a a,a:hover,strong,em{ padding:0 } + + + + +/* etc */ +html{ +background-image:url('/common/background/background.jpg'); +background-attachment:fixed; +} +div:hover{ + -webkit-animation: fadein .5s; + -moz-animation: fadein .5s; + -ms-animation: fadein .5s; + -o-animation: fadein .5s; + animation: fadein .5s; + opacity:1; +} + +@keyframes fadein { + from { opacity: 0.95; } + to { opacity: 1; } +} + +@-moz-keyframes fadein { + from { opacity: 0.95; } + to { opacity: 1; } +} + +@-webkit-keyframes fadein { + from { opacity: 0.95; } + to { opacity: 1; } +} + +@-ms-keyframes fadein { + from { opacity: 0.95; } + to { opacity: 1; } +} + +@-o-keyframes fadein { + from { opacity: 0.9; } + to { opacity: 1; } +} |