aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJim Frode Hoff <[email protected]>2014-06-23 22:50:38 +0200
committerJim Frode Hoff <[email protected]>2014-06-23 22:50:38 +0200
commit29d97d07efef69034fa0eea644ed2966e750afae (patch)
tree6485e968d7a8cfd5c1c77db9b1fc9846652dd714 /docs
parentb8a04f8c60d805cc15ffd2fa3b48febad58c5e6a (diff)
downloadbootstrap-29d97d07efef69034fa0eea644ed2966e750afae.tar.xz
bootstrap-29d97d07efef69034fa0eea644ed2966e750afae.zip
Update cover.css
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/cover/cover.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/cover/cover.css b/docs/examples/cover/cover.css
index aee9449e6..9d566deda 100644
--- a/docs/examples/cover/cover.css
+++ b/docs/examples/cover/cover.css
@@ -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;