Commit 67b7a2fc authored by Mark Otto's avatar Mark Otto

docs css reorg

parent d7acf4e8
...@@ -10,10 +10,14 @@ ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -407,6 +394,7 @@ hr {
} }
/* Example templates /* Example templates
-------------------------------------------------- */ -------------------------------------------------- */
...@@ -629,17 +617,14 @@ input.focused { ...@@ -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
-------------------------------------------------- */ -------------------------------------------------- */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment