hugo-labs/static/css/labs.css
2018-10-18 12:03:45 +02:00

297 lines
4.2 KiB
CSS

BODY {
padding-top: 7.5rem;
letter-spacing: +.02rem;
font-weight: 300;
font-size: 1.6rem;
line-height: 2;
color: #4d5363;
}
code {
font-size: 1.6rem;
background-color: #f9f2f4;
}
h1 {
text-align: center;
font-size: 3.5rem;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;
text-rendering: optimizeLegibility;
line-height: 100%;
letter-spacing: 0;
}
h2 {
font-size: 2.6rem;
}
h3 {
font-size: 2.2rem;
}
h4 {
font-size: 1.8rem;
}
img{
max-width: 100%;
height: auto;
}
video {
max-width: 100%;
height: auto;
}
pre {
font-size: 1.6rem;
line-height: 1.7rem;
margin-top: 1rem;
margin-bottom: 1rem;
}
.input-group {
padding-right: 3rem;
padding-left: 2rem;
}
.warning {
border-left: 0.60em solid #ba3232;
margin-left: auto;
margin-bottom: 1em;
margin-top: 1em;
color: #ba3232;
padding: 2.5rem 3.5rem;
text-align: left;
background-color: #fdf7f7;
}
.info {
border-left: 0.6em solid #918f8a; /*#4d5363*/
margin-left: auto;
margin-bottom: 1em;
margin-top: 1em;
color: black;
padding: 2.5rem 3.5rem;
text-align: left;
background-color: #f2f2f2;
}
.navbar {
background-color: #292929;
position: fixed;
}
a:link {
color: #e00;
}
a:visited {
color: #e00;
}
a:hover {
color: #000;
}
.sidebar-header {
color: #000;
font-size: 1rem;
text-align: center;
letter-spacing: 0.3rem;
font-weight: bold;
padding-bottom: 1rem;
background-color: rgb(182, 47, 54);/*#ba3232;*/
}
.sidebar-toggle {
float: left;
margin-left: 1.5rem;
}
.sidebar {
margin-top: -0.15rem;
position: fixed;
top: 5.1rem;
bottom: 0;
left: 0;
z-index: 1050;
padding-left: 2rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
background-color: #292929;
border-right: 0.1rem solid #eee;
font-weight: 400;
font-size: 1.25rem;
line-height: 1.55;
width: 32.5rem;
}
.sidebar.active {
display: block;
}
.sidebar a {
display: block;
padding: 1rem 2rem;
text-decoration: none;
color: #ccc;
}
.sidebar-header a {
color: #fff;
font-size: 3rem;
text-align: center;
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar > ul {
margin-right: -2.1rem; /* 20px padding + 1px border */
margin-bottom: 2rem;
margin-left: -2rem;
}
.sidebar .sub-item > a{
padding-left: 4rem;
background-color: #111;
}
.sidebar .subsub-item > a{
padding-left: 6rem;
background-color: #111;
}
.sidebar .subsubsub-item > a{
padding-left: 8rem;
background-color: #111;
}
.sidebar .active > a {
color: #fff;
background-color: #ba3232;
font-weight: bold;
}
.sidebar a:hover {
color: #fff;
font-weight: bold;
}
.main {
padding: 2rem;
margin-left: 0rem;
}
.main .page-header {
margin-top: 0;
}
.property-name {
font-weight: bold;
}
@media (min-width: 768px) {
.sidebar {
display: block;
top: 0rem;
}
.navbar a {
font-size: 2rem;
}
.main {
margin-left: 32.5rem;
}
.navbar {
display: none;
}
img {
width: 50rem;
height: auto;
transition: width 2s;
transition: height 2s;
}
.zoom {
width: 100rem;
}
}
/*
@media (min-width: 1800) {
.main{
margin-right: 100px;
}
}
*/
.bs-callout {
padding: 2rem;
margin: 2rem 0;
border: 0.1rem solid #eee;
border-left-width: 0.5rem;
border-radius: 0.3rem;
}
.bs-callout:first-child {
margin-top: 0;
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 0.5rem;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code {
border-radius: 0.3rem;
}
.bs-callout+.bs-callout {
margin-top: -0.5rem;
}
.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;
}