0
0
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:
Mark Otto 2013-05-08 22:50:41 -07:00
parent d7acf4e82d
commit 67b7a2fc34

View File

@ -10,10 +10,14 @@
body { body {
position: relative; /* For scrollyspy */ 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 { .bs-docs-nav {
background-color: #b94a48; 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 /* 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 /* Special grid styles
-------------------------------------------------- */ -------------------------------------------------- */
@ -407,6 +394,7 @@ hr {
} }
/* Example templates /* Example templates
-------------------------------------------------- */ -------------------------------------------------- */
@ -629,17 +617,14 @@ input.focused {
color: #bebec5; color: #bebec5;
} }
/* Better spacing on download options in getting started */
.bs-docs-dl-options h4 {
/* Docs gallery margin-top: 15px;
-------------------------------------------------- */ margin-bottom: 5px;
.bs-docs-gallery .thumbnail {
max-width: 400px;
margin: 0 auto 20px;
} }
/* Responsive variations /* Responsive variations
-------------------------------------------------- */ -------------------------------------------------- */