hugo-labs/static/css/labs.css

140 lines
2.1 KiB
CSS
Raw Normal View History

2018-06-07 14:28:01 +02:00
BODY {
padding-top: 50px;
}
.sidebar-toggle {
float: left;
margin-left: 15px;
}
.sidebar {
display: none;
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1050;
padding: 20px;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
background-color: #f8f8f8;
border-right: 1px solid #eee;
}
.sidebar.active {
display: block;
}
@media (min-width: 768px) {
.sidebar {
display: block;
}
}
.sidebar ul {
list-style-type: none;
padding: 0;
background-color: #f8f8f8;
}
.sidebar > ul {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
margin-left: -20px;
}
.sidebar a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #777;
}
.sidebar .sub-item > a{
padding-left: 40px;
}
.sidebar .active > a {
color: #fff;
background-color: #428bca;
}
.sidebar a:hover {
color: #555;
background-color: #eee;
}
.main {
padding: 20px;
}
@media (min-width: 768px) {
.main {
padding-right: 40px;
padding-left: 40px;
}
}
.main .page-header {
margin-top: 0;
}
.property-name {
font-weight: bold;
}
.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
}
.bs-callout:first-child {
margin-top: 0;
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code {
border-radius: 3px;
}
.bs-callout+.bs-callout {
margin-top: -5px;
}
.bs-callout-default {
border-left-color: #777;
}
.bs-callout-default h4 {
color: #777;
}
.bs-callout-primary {
border-left-color: #428bca;
}
.bs-callout-primary h4 {
color: #428bca;
}
.bs-callout-success {
border-left-color: #5cb85c;
}
.bs-callout-success h4 {
color: #5cb85c;
}
.bs-callout-danger {
border-left-color: #d9534f;
}
.bs-callout-danger h4 {
color: #d9534f;
}
.bs-callout-warning {
border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
color: #f0ad4e;
}
.bs-callout-info {
border-left-color: #5bc0de;
}
.bs-callout-info h4 {
color: #5bc0de;
}