]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
new pattern for masthead
authorMark Otto <markotto@twitter.com>
Wed, 18 Jul 2012 02:54:29 +0000 (19:54 -0700)
committerMark Otto <markotto@twitter.com>
Wed, 18 Jul 2012 02:54:29 +0000 (19:54 -0700)
docs/assets/css/docs.css
docs/assets/img/bs-docs-masthead-pattern.png [new file with mode: 0644]

index a3ca5850e307de5a8a65653b29c6be4cfd0881ed..761dc9686ba0f6761077e22ce1b13c09e1d18842 100644 (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);
      -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);
-
 }
 .jumbotron h1 {
   font-size: 80px;
@@ -132,6 +131,24 @@ hr.soften {
   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 {
diff --git a/docs/assets/img/bs-docs-masthead-pattern.png b/docs/assets/img/bs-docs-masthead-pattern.png
new file mode 100644 (file)
index 0000000..ca0f634
Binary files /dev/null and b/docs/assets/img/bs-docs-masthead-pattern.png differ