hugo-labs/static/css/labs.css

252 lines
3.6 KiB
CSS
Raw Normal View History

2018-06-07 14:28:01 +02:00
BODY {
2018-10-02 16:29:16 +02:00
padding-top: 75px;
/* font-family: "Work Sans","Source Sans Pro","Open Sans","Helvetica Neue","Helvetica","Tahoma","Geneva","Arial",sans-serif;
*/
letter-spacing: +.02rem;
font-weight: 300;
font-size: 1.8rem;
line-height: 2;
color: #4d5363;
}
code {
color: f00;
font-size: 1.7rem;
}
h1 {
text-align: center;
font-size: 5.5rem;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Lato","Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;
text-rendering: optimizeLegibility;
line-height: 150%;
letter-spacing: 0;
}
h2 {
font-size: 3.5rem;
}
h3 {
font-size: 2.6rem;
}
h4 {
font-size: 2.2rem;
}
img{
max-width: 500px;
height: auto;
}
video {
max-width: 100%;
height: auto;
}
pre {
font-size: 1.7rem;
line-height: 1.7;
}
.navbar {
padding-left: 0px;
padding-right: 20px;
/*background-color: #ba3232;
border-right: 20px solid #fff;
*/letter-spacing: +.05rem;
font-weight: bold;
font-size: 2rem;
}
a:link {
color: #e00;
}
a:visited {
color: #e00;
}
a:hover {
color: #000;
}
.navbar a:link{
color: #ba3232;
font-size: 4rem;
}
.navbar a:visited {
color: #ba3232;
font-size: 4rem;
}
.navbar a:hover {
color: #ba3232;
font-size: 4rem;
2018-06-07 14:28:01 +02:00
}
.sidebar-toggle {
float: left;
margin-left: 15px;
}
.sidebar {
2018-10-02 16:29:16 +02:00
/*padding-top: 100px;
*/margin-top: 5px;
2018-06-07 14:28:01 +02:00
display: none;
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1050;
2018-10-02 16:29:16 +02:00
padding-left: 20px;
2018-06-07 14:28:01 +02:00
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
2018-10-02 16:29:16 +02:00
background-color: #292929;
2018-06-07 14:28:01 +02:00
border-right: 1px solid #eee;
2018-10-02 16:29:16 +02:00
letter-spacing: +.05rem;
font-weight: 300;
font-size: 1.55rem;
line-height: 1.8;
2018-06-07 14:28:01 +02:00
}
2018-10-02 16:29:16 +02:00
2018-06-07 14:28:01 +02:00
.sidebar.active {
display: block;
2018-10-02 16:29:16 +02:00
2018-06-07 14:28:01 +02:00
}
@media (min-width: 768px) {
.sidebar {
display: block;
}
}
2018-10-02 16:29:16 +02:00
.sidebar a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #ccc;
}
2018-06-07 14:28:01 +02:00
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar > ul {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
margin-left: -20px;
}
.sidebar .sub-item > a{
padding-left: 40px;
2018-10-02 16:29:16 +02:00
background-color: #111;
2018-06-07 14:28:01 +02:00
}
2018-09-11 10:21:57 +02:00
.sidebar .subsub-item > a{
padding-left: 60px;
2018-10-02 16:29:16 +02:00
background-color: #111;
2018-09-11 10:21:57 +02:00
}
2018-10-01 16:37:19 +02:00
.sidebar .subsubsub-item > a{
padding-left: 80px;
2018-10-02 16:29:16 +02:00
background-color: #111;
2018-10-01 16:37:19 +02:00
}
2018-06-07 14:28:01 +02:00
.sidebar .active > a {
color: #fff;
2018-10-02 16:29:16 +02:00
background-color: #ba3232;
font-weight: bold;
2018-06-07 14:28:01 +02:00
}
.sidebar a:hover {
2018-10-02 16:29:16 +02:00
color: #fff;
/* background-color: #ba3232;
*/ font-weight: bold;
2018-06-07 14:28:01 +02:00
}
.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;
}
2018-10-02 16:29:16 +02:00
2018-06-07 14:28:01 +02:00
.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;
}