bootstrap/docs/assets/css/docs.css

350 lines
8.2 KiB
CSS
Raw Normal View History

2011-05-05 06:49:31 +00:00
/* Add additional stylesheets below
-------------------------------------------------- */
/*
Bootstrap's documentation styles
Special styles for presenting Bootstrap's documentation and examples
2011-05-05 06:49:31 +00:00
*/
2011-05-05 06:49:31 +00:00
/* Body and structure
-------------------------------------------------- */
body {
position: relative;
padding-top: 40px;
background-color: #fff;
2011-05-05 06:49:31 +00:00
}
section {
padding-top: 60px;
2011-05-05 06:49:31 +00:00
}
section > .row {
margin-bottom: 10px;
}
/* Jumbotrons
-------------------------------------------------- */
.jumbotron,
.jumbotron .inner {
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
}
.jumbotron {
margin-bottom: 40px;
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
-moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
2011-05-05 06:49:31 +00:00
}
.jumbotron .inner {
2011-06-30 00:10:53 +00:00
background: transparent url(../img/grid-18px.png) top center;
padding: 36px 60px;
-webkit-box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
-moz-box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
}
.jumbotron h1,
.jumbotron p {
margin-bottom: 9px;
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.jumbotron h1 {
2011-06-30 00:10:53 +00:00
font-size: 54px;
line-height: 1;
text-shadow: 0 1px 2px rgba(0,0,0,.5);
2011-05-05 06:49:31 +00:00
}
.jumbotron p {
font-weight: 300;
margin-right: 25%;
}
.jumbotron .lead {
2011-06-30 00:10:53 +00:00
font-size: 20px;
line-height: 27px;
2011-05-05 06:49:31 +00:00
}
.jumbotron p a {
color: #fff;
font-weight: bold;
}
/* Specific jumbotrons
------------------------- */
/* main docs page */
.masthead {
background-color: #004d9f;
background-repeat: no-repeat;
background-image: -webkit-gradient(linear, left top, left bottom, from(#048ccd), to(#004d9f));
background-image: -webkit-linear-gradient(#048ccd, #004d9f);
background-image: -moz-linear-gradient(#048ccd, #004d9f);
background-image: -o-linear-gradient(top, #048ccd, #004d9f);
background-image: -khtml-gradient(linear, left top, left bottom, from(#048ccd), to(#004d9f));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#048ccd', endColorstr='#004d9f', GradientType=0); /* IE8 and down */
}
/* supporting docs pages */
.subhead {
background-color: #767d80;
background-repeat: no-repeat;
background-image: -webkit-gradient(linear, left top, left bottom, from(#565d60), to(#767d80));
background-image: -webkit-linear-gradient(#565d60, #767d80);
background-image: -moz-linear-gradient(#565d60, #767d80);
background-image: -o-linear-gradient(top, #565d60, #767d80);
background-image: -khtml-gradient(linear, left top, left bottom, from(#565d60), to(#767d80));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#565d60', endColorstr='#767d80', GradientType=0); /* IE8 and down */
}
.subhead .inner {
padding: 36px 0 27px;
}
.subhead h1,
.subhead p {
text-align: left;
}
.subhead h1 {
font-size: 40px;
}
.subhead p a {
font-weight: normal;
}
/* Footer
-------------------------------------------------- */
.footer {
padding: 30px 0;
border-top: 1px solid #e5e5e5;
}
.footer p {
color: #555;
}
2011-06-30 00:10:53 +00:00
/* Quickstart section for getting le code
-------------------------------------------------- */
.quickstart {
background-color: #f5f5f5;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f5f5f5));
background-image: -moz-linear-gradient(#f9f9f9, #f5f5f5);
background-image: -ms-linear-gradient(#f9f9f9, #f5f5f5);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9f9f9), color-stop(100%, #f5f5f5));
background-image: -webkit-linear-gradient(#f9f9f9, #f5f5f5);
background-image: -o-linear-gradient(#f9f9f9, #f5f5f5);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0)";
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0);
background-image: linear-gradient(#f9f9f9, #f5f5f5);
border-top: 1px solid #fff;
border-bottom: 1px solid #eee;
}
.quickstart .container {
margin-bottom: 0;
}
.quickstart .row {
margin: 0 -20px;
-webkit-box-shadow: 1px 0 0 #f9f9f9;
-moz-box-shadow: 1px 0 0 #f9f9f9;
box-shadow: 1px 0 0 #f9f9f9;
2011-06-30 00:10:53 +00:00
}
.quickstart [class*="span"] {
width: 285px;
height: 117px;
margin-left: 0;
padding: 17px 20px 26px;
border-left: 1px solid #eee;
-webkit-box-shadow: inset 1px 0 0 #f9f9f9;
-moz-box-shadow: inset 1px 0 0 #f9f9f9;
box-shadow: inset 1px 0 0 #f9f9f9;
2011-06-30 00:10:53 +00:00
}
.quickstart [class*="span"]:last-child {
border-right: 1px solid #eee;
width: 286px;
2011-06-30 00:10:53 +00:00
}
.quickstart h6,
.quickstart p {
2011-06-30 00:10:53 +00:00
line-height: 18px;
text-align: center;
margin-bottom: 9px;
color: #333;
2011-06-30 00:10:53 +00:00
}
2011-09-09 23:00:59 +00:00
.quickstart .current-version,
.quickstart .current-version a {
color: #999;
}
.quickstart h6 {
color: #999;
2011-06-30 00:10:53 +00:00
}
.quickstart textarea {
display: block;
width: 275px;
height: auto;
margin: 0 0 9px;
2011-06-30 00:10:53 +00:00
line-height: 21px;
white-space: nowrap;
overflow: hidden;
2011-06-29 22:51:27 +00:00
}
2011-08-28 04:46:50 +00:00
2011-05-05 06:49:31 +00:00
/* Special grid styles
-------------------------------------------------- */
.show-grid {
margin-top: 10px;
margin-bottom: 10px;
2011-05-05 06:49:31 +00:00
}
.show-grid [class*="span"] {
2011-09-16 05:27:41 +00:00
background: #eee;
2011-05-05 06:49:31 +00:00
text-align: center;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
min-height: 30px;
2011-05-05 06:49:31 +00:00
line-height: 30px;
}
.show-grid:hover [class*="span"] {
2011-09-16 05:27:41 +00:00
background: #ddd;
}
.show-grid .show-grid {
margin-top: 0;
margin-bottom: 0;
2011-05-05 06:49:31 +00:00
}
.show-grid .show-grid [class*="span"] {
background-color: #ccc;
}
2011-05-05 06:49:31 +00:00
/* Render mini layout previews
-------------------------------------------------- */
.mini-layout {
border: 1px solid #ddd;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
box-shadow: 0 1px 2px rgba(0,0,0,.075);
2011-05-05 06:49:31 +00:00
}
.mini-layout {
height: 240px;
margin-bottom: 20px;
padding: 9px;
}
.mini-layout div {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
2011-05-05 06:49:31 +00:00
}
.mini-layout .mini-layout-body {
background-color: #dceaf4;
2011-05-05 06:49:31 +00:00
margin: 0 auto;
width: 70%;
height: 240px;
2011-05-05 06:49:31 +00:00
}
.mini-layout.fluid .mini-layout-sidebar,
.mini-layout.fluid .mini-layout-header,
.mini-layout.fluid .mini-layout-body {
2011-05-05 06:49:31 +00:00
float: left;
}
.mini-layout.fluid .mini-layout-sidebar {
background-color: #bbd8e9;
width: 20%;
height: 240px;
2011-05-05 06:49:31 +00:00
}
.mini-layout.fluid .mini-layout-body {
width: 60%;
2011-05-05 06:49:31 +00:00
margin-left: 10px;
}
2011-05-05 06:49:31 +00:00
/* Topbar special styles
-------------------------------------------------- */
.topbar-wrapper {
2011-05-05 06:49:31 +00:00
position: relative;
height: 40px;
margin: 5px 0 15px;
}
.topbar-wrapper .topbar {
2011-05-05 06:49:31 +00:00
position: absolute;
margin: 0 -20px;
}
.topbar-wrapper .topbar .topbar-inner {
2011-08-22 01:14:53 +00:00
padding-left: 20px;
padding-right: 20px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
2011-07-02 06:10:39 +00:00
}
/* Topbar in js docs
------------------------- */
#bootstrap-js .topbar-wrapper {
z-index: 1;
}
#bootstrap-js .topbar-wrapper .topbar {
position: absolute;
margin: 0 -20px;
}
#bootstrap-js .topbar-wrapper .topbar .topbar-inner {
padding-left: 20px;
padding-right: 20px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
#bootstrap-js .topbar-wrapper .container {
width: auto;
}
2011-07-02 06:10:39 +00:00
/* Popover docs
-------------------------------------------------- */
.popover-well {
2011-07-02 06:10:39 +00:00
min-height: 160px;
}
.popover-well .popover {
2011-07-02 06:10:39 +00:00
display: block;
}
.popover-well .popover-wrapper {
2011-07-02 06:10:39 +00:00
width: 50%;
height: 160px;
float: left;
2011-07-29 00:50:38 +00:00
margin-left: 55px;
position: relative;
2011-07-02 06:10:39 +00:00
}
.popover-well .popover-menu-wrapper {
2011-07-02 06:10:39 +00:00
height: 80px;
2011-07-29 00:50:38 +00:00
}
img.large-bird {
margin: 5px 0 0 310px;
opacity: .1;
2011-08-22 04:26:15 +00:00
}
2011-08-22 04:26:15 +00:00
/* Pretty Print
-------------------------------------------------- */
pre.prettyprint {
2011-08-22 04:26:15 +00:00
overflow: hidden;
}
/* Wells
-------------------------------------------------- */
.well form {
margin-bottom: 0;
}
.browser-support {
max-width: 100%;
}
/* Responsive Docs
-------------------------------------------------- */
@media (max-width: 480px) {
.large-bird {
display: none;
}
}
@media (min-width: 768px) and (max-width: 900px) {
.footer,
.jumbotron {
min-width: 748px;
}
}