Files
flaskbb/flaskbb/static/css/flaskbb.css
T
2013-09-11 10:38:26 +02:00

217 lines
4.2 KiB
CSS

html,
body {
height: 100%; /* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%; /* Negative indent footer by its height */
margin: 0 auto -60px;
padding: 0 0 60px; /* Pad bottom by footer height */
}
/* Set the fixed height of the footer here */
#footer {
height: 60px;
background-color: #f5f5f5;
}
#wrap > .container {
padding: 60px 15px 0;
}
.container .credit {
margin: 20px 0;
}
#footer > .container {
margin-top: 15px;
padding-left: 15px;
padding-right: 15px;
}
/*
* Option to remove the borders from the table
*/
/* borderless table */
.table .table-borderless td, .table.table-borderless th {
border: 0 !important;
}
.table .table-borderless {
margin-bottom: 0px;
}
/*
* Nav Header
* Got these lines from bootstrap 2.3.2
*/
.nav-header {
display: block;
padding: 3px 15px;
font-size: 12px;
font-weight: bold;
line-height: 20px;
color: #999999;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-transform: uppercase;
}
.nav li + .nav-header {
margin-top: 9px;
}
/*
* Side navigation
*
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
* sections of docs content.
*
* Copied from the bootstrap3 docs.css file which is licensed under the
* Apache 2.0 license.
*/
/* By default it's not affixed in mobile views, so undo that */
.sidebar.affix {
position: static;
}
/* First level of nav */
.sidenav {
margin-bottom: 30px;
padding-top: 10px;
padding-bottom: 10px;
text-shadow: 0 1px 0 #fff;
background-color: #f7f5fa;
border-radius: 5px;
}
/* All levels of nav */
.sidebar .nav > li > a {
display: block;
color: #716b7a;
padding: 5px 20px;
}
.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus {
text-decoration: none;
background-color: #e5e3e9;
border-right: 1px solid #dbd8e0;
}
.sidebar .nav > .active > a,
.sidebar .nav > .active:hover > a,
.sidebar .nav > .active:focus > a {
font-weight: bold;
color: #0088cc;
background-color: transparent;
border-right: 1px solid #0088cc;
}
/* Nav: second level (shown on .active) */
.sidebar .nav .nav {
display: none; /* Hide by default, but at >768px, show it */
margin-bottom: 8px;
}
.sidebar .nav .nav > li > a {
padding-top: 3px;
padding-bottom: 3px;
padding-left: 30px;
font-size: 90%;
}
/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
.sidebar .nav > .active > ul {
display: block;
}
/* Widen the fixed sidebar */
.sidebar.affix,
.sidebar.affix-bottom {
width: 213px;
}
.sidebar.affix {
position: fixed; /* Undo the static from mobile first approach */
top: 80px;
}
.sidebar.affix-bottom {
position: absolute; /* Undo the static from mobile first approach */
}
.sidebar.affix-bottom .sidenav,
.sidebar.affix .sidenav {
margin-top: 0;
margin-bottom: 0;
}
}
@media screen and (min-width: 1200px) {
/* Widen the fixed sidebar again */
.sidebar.affix-bottom,
.sidebar.affix {
width: 263px;
}
}
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
font-size: 16px;
height: auto;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="text"] {
margin-bottom: -1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
/* End sidebar */
.blog-info {
font-size:15px;
color:#999999;
padding: 0;
margin-top:5px;
margin-bottom:10px;
margin-right: 0px;
margin-left: 0px;
}
.blog-info ul {
list-style-type:none;
}
.blog-info li {
display:inline;
padding-right:10px;
}
.blog-info a {
color:#999999;
}
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5 {
font-weight:500;
}