51 lines
1.5 KiB
CSS
51 lines
1.5 KiB
CSS
/*
|
|
Copyright (C) 2019 Alexander Marston (alexander.marston@gmail.com)
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/* http://stackoverflow.com/questions/17206631/why-are-bootstrap-tabs-displaying-tab-pane-divs-with-incorrect-widths-when-using */
|
|
/* bootstrap hack: fix content width inside hidden tabs */
|
|
.tab-content > .tab-pane:not(.active),
|
|
.pill-content > .pill-pane:not(.active) {
|
|
display: block;
|
|
height: 0;
|
|
overflow-y: hidden;
|
|
}
|
|
/* bootstrap hack end */
|
|
|
|
/* Sticky footer styles
|
|
-------------------------------------------------- */
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
body {
|
|
margin-bottom: 60px; /* Margin bottom by footer height */
|
|
}
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 60px; /* Set the fixed height of the footer here */
|
|
line-height: 60px; /* Vertically center the text there */
|
|
background-color: #f5f5f5;
|
|
}
|
|
.nav-tabs {
|
|
margin-bottom: 10px;
|
|
}
|
|
.navbar {
|
|
margin-bottom: 25px;
|
|
}
|