Commit 216bc3d6 authored by Mark Otto's avatar Mark Otto

Rewrite grid docs in markdown

parent 10f92601
...@@ -893,15 +893,13 @@ body { ...@@ -893,15 +893,13 @@ body {
margin-right: 10px; margin-right: 10px;
border-radius: 4px; border-radius: 4px;
} }
.show-grid { .bs-example > .row {
margin-bottom: 15px; margin-bottom: 1rem;
} }
.show-grid [class^="col-"] { .bs-example > .row > [class^="col-"] {
padding-top: 10px; padding-top: .75rem;
padding-bottom: 10px; padding-bottom: .75rem;
background-color: #eee;
background-color: rgba(86, 61, 124, 0.15); background-color: rgba(86, 61, 124, 0.15);
border: 1px solid #ddd;
border: 1px solid rgba(86, 61, 124, 0.2); border: 1px solid rgba(86, 61, 124, 0.2);
} }
.bs-example { .bs-example {
......
...@@ -870,15 +870,13 @@ body { ...@@ -870,15 +870,13 @@ body {
// Grid examples // Grid examples
// //
.show-grid { .bs-example > .row {
margin-bottom: 15px; margin-bottom: 1rem;
} }
.show-grid [class^="col-"] { .bs-example > .row > [class^="col-"] {
padding-top: 10px; padding-top: .75rem;
padding-bottom: 10px; padding-bottom: .75rem;
background-color: #eee;
background-color: rgba(86,61,124,.15); background-color: rgba(86,61,124,.15);
border: 1px solid #ddd;
border: 1px solid rgba(86,61,124,.2); border: 1px solid rgba(86,61,124,.2);
} }
......
...@@ -7,9 +7,9 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e ...@@ -7,9 +7,9 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
{% markdown %} {% markdown %}
{% include css/overview.md %} {% include css/overview.md %}
{% include css/grid.md %}
{% endmarkdown %} {% endmarkdown %}
{% include css/grid.html %}
{% include css/type.html %} {% include css/type.html %}
{% include css/code.html %} {% include css/code.html %}
{% include css/tables.html %} {% include css/tables.html %}
......
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