1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

tweak docs shadows

This commit is contained in:
Mark Otto
2012-07-23 23:54:26 -07:00
parent f085dbadd1
commit 6245886b26

View File

@@ -29,6 +29,9 @@ h3 code {
body > .navbar-fixed-top { body > .navbar-fixed-top {
font-size: 13px; font-size: 13px;
-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.15);
-moz-box-shadow: 0 5px 15px rgba(0,0,0,.15);
box-shadow: 0 5px 15px rgba(0,0,0,.15);
} }
/* Change the docs' brand */ /* Change the docs' brand */
@@ -960,25 +963,25 @@ form.bs-docs-example {
left: 0; left: 0;
} }
.masthead { .masthead {
height: 400px; height: 380px;
} }
.subhead { .subhead {
height: 120px; /* +80px pdding */ height: 130px; /* +80px pdding */
} }
.bs-docs-canvas { .bs-docs-canvas {
position: absolute; position: absolute;
width: 100%; width: 100%;
z-index: 10; z-index: 10;
background-color: #fff; background-color: #fff;
-webkit-box-shadow: 0 1px 5px rgba(0,0,0,.5); -webkit-box-shadow: 0 -5px 15px rgba(0,0,0,.15);
-moz-box-shadow: 0 1px 5px rgba(0,0,0,.5); -moz-box-shadow: 0 -5px 15px rgba(0,0,0,.15);
box-shadow: 0 1px 5px rgba(0,0,0,.5); box-shadow: 0 -5px 15px rgba(0,0,0,.15);
} }
.masthead + .bs-docs-canvas { .masthead + .bs-docs-canvas {
top: 550px; top: 530px;
} }
.subhead + .bs-docs-canvas { .subhead + .bs-docs-canvas {
top: 240px; top: 250px;
} }
} }