diff --git a/_includes/nav-main.html b/_includes/nav-main.html index 40244d3a..28c1e05a 100644 --- a/_includes/nav-main.html +++ b/_includes/nav-main.html @@ -1,6 +1,6 @@
diff --git a/_includes/old-bs-docs.html b/_includes/old-bs-docs.html new file mode 100644 index 00000000..7b706545 --- /dev/null +++ b/_includes/old-bs-docs.html @@ -0,0 +1,8 @@ +Easily add a heading to your panel with .panel-heading. Use it on a <div> or any heading element (e.g., <h3>).
Easily add a heading container to your panel with .panel-heading. You may also include any <h1>-<h6> with a .panel-title class to add a pre-styled heading.
Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.
Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.
{% include social-buttons.html %} diff --git a/less/panels.less b/less/panels.less index a08febef..691a1554 100644 --- a/less/panels.less +++ b/less/panels.less @@ -17,14 +17,20 @@ .panel-heading { margin: -15px -15px 15px; padding: 10px 15px; - font-size: (@font-size-base * 1.25); - font-weight: 500; background-color: @panel-heading-bg; border-bottom: 1px solid @panel-border; border-top-left-radius: (@panel-border-radius - 1); border-top-right-radius: (@panel-border-radius - 1); } +// Within heading, strip any `h*` tag of it's default margins for spacing. +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: (@font-size-base * 1.25); + font-weight: 500; +} + // Optional footer (stays gray in every modifier class) .panel-footer { margin: 15px -15px -15px;