kss-bootstrap
Version:
A KSS template and style guide for Bootstrap.
66 lines (56 loc) • 1.02 kB
CSS
body {
padding-top: 70px;
}
footer {
padding: 30px 0;
}
.kss-example {
padding-top: 1em;
padding-bottom: 1em;
min-height: 4em;
position: relative;
}
.kss-example:after,
.kss-example:before {
clear: both;
content: " ";
display: table;
}
/**
* Off Canvas
*
* TODO: Fix this to work properly.
*/
@media screen and (max-width: 767px) {
.row-offcanvas {
position: relative;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.row-offcanvas-right {
right: 0;
}
.row-offcanvas-left {
left: 0;
}
.row-offcanvas-right
.sidebar-offcanvas {
right: -50%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
left: -50%; /* 6 columns */
}
.row-offcanvas-right.active {
right: 50%; /* 6 columns */
}
.row-offcanvas-left.active {
left: 50%; /* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
top: 0;
width: 50%; /* 6 columns */
}
}