.container -> .tb-container (fixes #165)
This commit is contained in:
parent
079c6442e1
commit
921f1bae46
2
doc/_templates/layout.html
vendored
2
doc/_templates/layout.html
vendored
@ -31,7 +31,7 @@
|
||||
|
||||
{% block header %}
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="container">
|
||||
<div class="tb-container">
|
||||
<div class="row">
|
||||
<div class="navbar-content">
|
||||
{# Brand and toggle get grouped for better mobile display #}
|
||||
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
// Set the container width, and override it for fixed navbars in media queries.
|
||||
|
||||
.container {
|
||||
.tb-container {
|
||||
.container-fixed();
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
|
@ -24,19 +24,19 @@
|
||||
border-top-color: darken(@jumbotron-bg, 10%);
|
||||
}
|
||||
|
||||
.container &,
|
||||
.tb-container &,
|
||||
.container-fluid & {
|
||||
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
||||
}
|
||||
|
||||
.container {
|
||||
.tb-container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
padding: (@jumbotron-padding * 1.6) 0;
|
||||
|
||||
.container &,
|
||||
.tb-container &,
|
||||
.container-fluid & {
|
||||
padding-left: (@jumbotron-padding * 2);
|
||||
padding-right: (@jumbotron-padding * 2);
|
||||
|
@ -103,7 +103,7 @@
|
||||
//
|
||||
// When a container is present, change the behavior of the header and collapse.
|
||||
|
||||
.container,
|
||||
.tb-container,
|
||||
.container-fluid {
|
||||
> .navbar-header,
|
||||
> .navbar-collapse {
|
||||
@ -177,7 +177,7 @@
|
||||
}
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
.navbar > .container &,
|
||||
.navbar > .tb-container &,
|
||||
.navbar > .container-fluid & {
|
||||
margin-left: -@navbar-padding-horizontal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user