mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
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.
This commit is contained in:
parent
b8a04f8c60
commit
29d97d07ef
@ -33,8 +33,6 @@ body {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 0 1px 3px rgba(0,0,0,.5);
|
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 */
|
/* Extra markup and styles for table-esque vertical and horizontal centering */
|
||||||
@ -43,6 +41,8 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%; /* For at least Firefox */
|
height: 100%; /* For at least Firefox */
|
||||||
min-height: 100%;
|
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 {
|
.site-wrapper-inner {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user