bludit/bl-themes/docsx/css/style.css

52 lines
702 B
CSS
Raw Normal View History

2018-02-06 23:11:50 +01:00
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom for footer height */
margin-bottom: 60px;
2018-02-08 00:20:00 +01:00
font-size: .875rem;
2018-02-06 23:11:50 +01:00
}
/* Footer */
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
line-height: 60px;
font-size: 0.8em;
}
.mini-logo {
height: 22px;
padding-bottom: 5px;
}
2018-02-08 00:20:00 +01:00
/* Sidebar */
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100;
padding: 0;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar .nav-link {
font-weight: 500;
color: #333;
}
.sidebar-sticky {
position: -webkit-sticky;
position: sticky;
top: 48px;
height: calc(100vh - 48px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto;
}