1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

twerk docs code examples

This commit is contained in:
Mark Otto
2013-01-16 12:02:45 -08:00
parent cb99c4b63a
commit b6b8633542
2 changed files with 6 additions and 3 deletions

View File

@@ -185,16 +185,19 @@ section > ul li {
/* Tweak display of the examples */ /* Tweak display of the examples */
.bs-docs-example + .prettyprint { .bs-docs-example + .prettyprint {
margin-top: 0; margin-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
} }
.prettyprint .linenums { .prettyprint .linenums {
margin-left: 0; /*margin-left: 0;*/
} }
/* Tweak content of examples for optimum awesome */ /* Tweak content of examples for optimum awesome */
.bs-docs-example > p:last-child, .bs-docs-example > p:last-child,
.bs-docs-example > ul:last-child, .bs-docs-example > ul:last-child,
.bs-docs-example > ol:last-child, .bs-docs-example > ol:last-child,
.bs-docs-example > blockquote:last-child { .bs-docs-example > blockquote:last-child,
.bs-docs-example > .table:last-child {
margin-bottom: 0; margin-bottom: 0;
} }

View File

@@ -20,7 +20,7 @@
/* Specify class=linenums on a pre to get line numbering */ /* Specify class=linenums on a pre to get line numbering */
ol.linenums { ol.linenums {
margin: 0 0 0 33px; /* IE indents via margin-left */ margin: 0 0 0 40px; /* IE indents via margin-left */
} }
ol.linenums li { ol.linenums li {
padding-left: 12px; padding-left: 12px;