mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-10-30 00:05:32 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			350 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			350 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /* Add additional stylesheets below
 | |
| -------------------------------------------------- */
 | |
| /*
 | |
|   Bootstrap's documentation styles
 | |
|   Special styles for presenting Bootstrap's documentation and examples
 | |
| */
 | |
| 
 | |
| /* Body and structure
 | |
| -------------------------------------------------- */
 | |
| body {
 | |
|   position: relative;
 | |
|   padding-top: 90px;
 | |
|   background-color: #fff;
 | |
|   background-image: url(../img/grid-18px-masked.png);
 | |
|   background-repeat: repeat-x;
 | |
| }
 | |
| section {
 | |
|   padding-top: 60px;
 | |
| }
 | |
| 
 | |
| /* Tweak topbar brand link to be super sleek
 | |
| -------------------------------------------------- */
 | |
| body > .navbar-fixed .brand {
 | |
|   float: right;
 | |
|   font-weight: bold;
 | |
|   color: #000;
 | |
|   text-shadow: 0 1px 0 rgba(255,255,255,.1);
 | |
| }
 | |
| body > .navbar-fixed .brand:hover {
 | |
|   text-decoration: none;
 | |
| }
 | |
| 
 | |
| /* Jumbotrons
 | |
| -------------------------------------------------- */
 | |
| .jumbotron {
 | |
|   position: relative;
 | |
|   text-shadow: 0 1px 0 #fff;
 | |
| }
 | |
| .jumbotron h1 {
 | |
|   margin-right: 40%;
 | |
|   margin-bottom: 10px;
 | |
|   font-size: 90px;
 | |
|   letter-spacing: -1px;
 | |
|   line-height: 1;
 | |
| }
 | |
| .jumbotron p {
 | |
|   margin-right: 32%;
 | |
|   margin-bottom: 20px;
 | |
|   font-size: 25px;
 | |
|   font-weight: 300;
 | |
|   line-height: 36px;
 | |
| }
 | |
| .jumbotron .btn {
 | |
|   font-size: 20px;
 | |
|   padding: 14px 24px;
 | |
|   margin-right: 5px;
 | |
|   -webkit-border-radius: 6px;
 | |
|      -moz-border-radius: 6px;
 | |
|           border-radius: 6px;
 | |
| }
 | |
| .jumbotron .download-info {
 | |
|   font-size: 16px;
 | |
|   color: #999;
 | |
| }
 | |
| 
 | |
| /* Benefits list in masthead */
 | |
| .benefits {
 | |
|   width: 250px;
 | |
|   position: absolute;
 | |
|   right: 0;
 | |
|   bottom: 0;
 | |
| }
 | |
| .benefits ul {
 | |
|   list-style: none;
 | |
|   margin: 0;
 | |
| }
 | |
| .benefits li {
 | |
|   font-size: 16px;
 | |
|   font-weight: 300;
 | |
|   line-height: 35px;
 | |
|   color: #555;
 | |
| }
 | |
| .benefits li + li {
 | |
|   border-top: 1px solid #f5f5f5;
 | |
| }
 | |
| .benefits h4 {
 | |
|   color: #555;
 | |
| }
 | |
| .benefits span {
 | |
|   position: relative;
 | |
|   top: -2px;
 | |
|   padding-right: 5px;
 | |
|   color: #999;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Specific jumbotrons
 | |
| ------------------------- */
 | |
| /* supporting docs pages */
 | |
| .subhead {
 | |
|   padding-bottom: 18px;
 | |
|   border-bottom: 3px solid #eee;
 | |
| }
 | |
| .subhead h1,
 | |
| .subhead p {
 | |
|   margin-right: 0;
 | |
| }
 | |
| .subhead h1 {
 | |
|   font-size: 40px;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Quick links
 | |
| -------------------------------------------------- */
 | |
| .quick-links {
 | |
|   padding: 5px 20px;
 | |
|   margin: 60px 0;
 | |
|   list-style: none;
 | |
|   text-align: center;
 | |
|   background-color: #eee;
 | |
|   -webkit-border-radius: 3px;
 | |
|      -moz-border-radius: 3px;
 | |
|           border-radius: 3px;
 | |
|   -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.03);
 | |
|      -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,.03);
 | |
|           box-shadow: inset 0 1px 0 rgba(0,0,0,.03);
 | |
| }
 | |
| .quick-links li {
 | |
|   display: inline;
 | |
|   margin: 0 5px;
 | |
|   line-height: 30px;
 | |
| }
 | |
| .quick-links .divider {
 | |
|   color: #999;
 | |
| }
 | |
| .quick-links strong {
 | |
|   font-weight: normal;
 | |
|   color: #999;
 | |
| }
 | |
| .quick-links .tweet-btn,
 | |
| .quick-links .follow-btn {
 | |
|   position: relative;
 | |
|   top: 5px;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Footer
 | |
| -------------------------------------------------- */
 | |
| .footer {
 | |
|   padding: 30px 0;
 | |
|   border-top: 1px solid #e5e5e5;
 | |
| }
 | |
| .footer p {
 | |
|   color: #555;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Special grid styles
 | |
| -------------------------------------------------- */
 | |
| .show-grid {
 | |
|   margin-top: 10px;
 | |
|   margin-bottom: 20px;
 | |
| }
 | |
| .show-grid [class*="span"] {
 | |
|   background-color: #eee;
 | |
|   text-align: center;
 | |
|   -webkit-border-radius: 3px;
 | |
|      -moz-border-radius: 3px;
 | |
|           border-radius: 3px;
 | |
|   min-height: 30px;
 | |
|   line-height: 30px;
 | |
| }
 | |
| .show-grid:hover [class*="span"] {
 | |
|   background: #ddd;
 | |
| }
 | |
| .show-grid .show-grid {
 | |
|   margin-top: 0;
 | |
|   margin-bottom: 0;
 | |
| }
 | |
| .show-grid .show-grid [class*="span"] {
 | |
|   background-color: #ccc;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* 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);
 | |
| }
 | |
| .mini-layout {
 | |
|   height: 240px;
 | |
|   margin-bottom: 20px;
 | |
|   padding: 9px;
 | |
| }
 | |
| .mini-layout div {
 | |
|   -webkit-border-radius: 3px;
 | |
|      -moz-border-radius: 3px;
 | |
|           border-radius: 3px;
 | |
| }
 | |
| .mini-layout .mini-layout-body {
 | |
|   background-color: #dceaf4;
 | |
|   margin: 0 auto;
 | |
|   width: 70%;
 | |
|   height: 240px;
 | |
| }
 | |
| .mini-layout.fluid .mini-layout-sidebar,
 | |
| .mini-layout.fluid .mini-layout-header,
 | |
| .mini-layout.fluid .mini-layout-body {
 | |
|   float: left;
 | |
| }
 | |
| .mini-layout.fluid .mini-layout-sidebar {
 | |
|   background-color: #bbd8e9;
 | |
|   width: 20%;
 | |
|   height: 240px;
 | |
| }
 | |
| .mini-layout.fluid .mini-layout-body {
 | |
|   width: 60%;
 | |
|   margin-left: 10px;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Topbar special styles
 | |
| -------------------------------------------------- */
 | |
| .topbar-wrapper {
 | |
|   position: relative;
 | |
|   height: 40px;
 | |
|   margin: 5px 0 15px;
 | |
| }
 | |
| .topbar-wrapper .topbar {
 | |
|   position: absolute;
 | |
|   margin: 0 -20px;
 | |
| }
 | |
| .topbar-wrapper .topbar .topbar-inner {
 | |
|   padding-left: 20px;
 | |
|   padding-right: 20px;
 | |
|   -webkit-border-radius: 4px;
 | |
|      -moz-border-radius: 4px;
 | |
|           border-radius: 4px;
 | |
| }
 | |
| 
 | |
| /* 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;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Popover docs
 | |
| -------------------------------------------------- */
 | |
| .popover-well {
 | |
|   min-height: 160px;
 | |
| }
 | |
| .popover-well .popover {
 | |
|   display: block;
 | |
| }
 | |
| .popover-well .popover-wrapper {
 | |
|   width: 50%;
 | |
|   height: 160px;
 | |
|   float: left;
 | |
|   margin-left: 55px;
 | |
|   position: relative;
 | |
| }
 | |
| .popover-well .popover-menu-wrapper {
 | |
|   height: 80px;
 | |
| }
 | |
| img.large-bird {
 | |
|   margin: 5px 0 0 310px;
 | |
|   opacity: .1;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Pretty Print
 | |
| -------------------------------------------------- */
 | |
| pre.prettyprint {
 | |
|   overflow: hidden;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* Wells
 | |
| -------------------------------------------------- */
 | |
| .well form {
 | |
|   margin-bottom: 0;
 | |
| }
 | |
| 
 | |
| 
 | |
| .browser-support {
 | |
|   max-width: 100%;
 | |
| }
 | |
| 
 | |
| /* Make tables spaced out a bit more */
 | |
| h2 + table {
 | |
|   margin-top: 10px;
 | |
| }
 | |
| 
 | |
| /* Responsive Docs
 | |
| -------------------------------------------------- */
 | |
| @media (max-width: 480px) {
 | |
| 
 | |
|   body > .navbar-fixed .nav {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   .large-bird {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   .jumbotron h1 {
 | |
|     font-size: 36px;
 | |
|     margin-right: 0;
 | |
|   }
 | |
|   .jumbotron p {
 | |
|     margin-right: 0;
 | |
|     font-size: 18px;
 | |
|     line-height: 24px;
 | |
|   }
 | |
|   .jumbotron .benefits {
 | |
|     position: relative;
 | |
|     width: auto;
 | |
|     margin: 36px 0;
 | |
|   }
 | |
| }
 | |
| 
 | |
| @media (min-width: 768px) and (max-width: 900px) {
 | |
|   .footer,
 | |
|   .jumbotron {
 | |
|     min-width: 748px;
 | |
|   }
 | |
| }
 | |
| 
 |