0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

new pattern for masthead

This commit is contained in:
Mark Otto 2012-07-17 19:54:29 -07:00
parent 16fa610ea4
commit 4008d666a5
2 changed files with 18 additions and 1 deletions

View File

@ -105,7 +105,6 @@ hr.soften {
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15); -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15);
-moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15); -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15);
box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15); box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), inset 0 -3px 7px rgba(0,0,0,.15);
} }
.jumbotron h1 { .jumbotron h1 {
font-size: 80px; font-size: 80px;
@ -132,6 +131,24 @@ hr.soften {
font-size: 14px; font-size: 14px;
} }
/* Pattern overlay
------------------------- */
.jumbotron .container {
position: relative;
z-index: 2;
}
.jumbotron:after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: url(../img/bs-docs-masthead-pattern.png);
opacity: .5;
}
/* Masthead (docs home) /* Masthead (docs home)
------------------------- */ ------------------------- */
.masthead { .masthead {

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB