]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update cover.css 13905/head
authorJim Frode Hoff <jimfrodehoff@gmail.com>
Mon, 23 Jun 2014 20:50:38 +0000 (22:50 +0200)
committerJim Frode Hoff <jimfrodehoff@gmail.com>
Mon, 23 Jun 2014 20:50:38 +0000 (22:50 +0200)
Moved the inset box-shadow to .site-wrapper in order to keep the shadow at the edges even if content exceeds viewport and needs scrolling.

docs/examples/cover/cover.css

index aee9449e6c92e165998257078ebb8c759660586c..9d566deda36a1163e99d6dde7d52fb758552fc56 100644 (file)
@@ -33,8 +33,6 @@ body {
   color: #fff;
   text-align: center;
   text-shadow: 0 1px 3px rgba(0,0,0,.5);
-  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
-          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
 }
 
 /* Extra markup and styles for table-esque vertical and horizontal centering */
@@ -43,6 +41,8 @@ body {
   width: 100%;
   height: 100%; /* For at least Firefox */
   min-height: 100%;
+  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
+          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
 }
 .site-wrapper-inner {
   display: table-cell;