mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
docs css reorg
This commit is contained in:
parent
d7acf4e82d
commit
67b7a2fc34
@ -10,10 +10,14 @@
|
||||
|
||||
body {
|
||||
position: relative; /* For scrollyspy */
|
||||
padding-top: 50px;
|
||||
padding-top: 50px; /* Account for fixed navbar */
|
||||
}
|
||||
|
||||
/* Top nav and header */
|
||||
|
||||
|
||||
/* Top nav and header
|
||||
-------------------------------------------------- */
|
||||
|
||||
.bs-docs-nav {
|
||||
background-color: #b94a48;
|
||||
}
|
||||
@ -34,45 +38,6 @@ body {
|
||||
}
|
||||
|
||||
|
||||
hr {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.bs-docs-dl-options h4 {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
.bs-docs-container,
|
||||
.bs-home-container {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Side notes for calling out things */
|
||||
.bs-docs-sidenote {
|
||||
margin: 20px 0;
|
||||
padding: 15px 30px 15px 15px;
|
||||
background-color: #fcf2f2;
|
||||
border-left: 5px solid #df7c7b;
|
||||
}
|
||||
.bs-docs-sidenote h4 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.bs-docs-sidenote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.bs-docs-sidenote code,
|
||||
.bs-docs-sidenote .highlight {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Homepage masthead
|
||||
-------------------------------------------------- */
|
||||
@ -202,6 +167,28 @@ hr {
|
||||
|
||||
|
||||
|
||||
/* Side notes for calling out things
|
||||
-------------------------------------------------- */
|
||||
|
||||
.bs-docs-sidenote {
|
||||
margin: 20px 0;
|
||||
padding: 15px 30px 15px 15px;
|
||||
background-color: #fcf2f2;
|
||||
border-left: 5px solid #df7c7b;
|
||||
}
|
||||
.bs-docs-sidenote h4 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.bs-docs-sidenote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.bs-docs-sidenote code,
|
||||
.bs-docs-sidenote .highlight {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Special grid styles
|
||||
-------------------------------------------------- */
|
||||
|
||||
@ -407,6 +394,7 @@ hr {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Example templates
|
||||
-------------------------------------------------- */
|
||||
|
||||
@ -629,17 +617,14 @@ input.focused {
|
||||
color: #bebec5;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Docs gallery
|
||||
-------------------------------------------------- */
|
||||
|
||||
.bs-docs-gallery .thumbnail {
|
||||
max-width: 400px;
|
||||
margin: 0 auto 20px;
|
||||
/* Better spacing on download options in getting started */
|
||||
.bs-docs-dl-options h4 {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Responsive variations
|
||||
-------------------------------------------------- */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user