hugo-labs/static/css/labs.css

281 lines
3.8 KiB
CSS
Raw Normal View History

2018-06-07 14:28:01 +02:00
BODY {
2018-10-05 17:18:03 +02:00
padding-top: 75px;
2018-10-02 16:29:16 +02:00
letter-spacing: +.02rem;
font-weight: 300;
2018-10-05 17:18:03 +02:00
font-size: 1.6rem;
2018-10-02 16:29:16 +02:00
line-height: 2;
color: #4d5363;
}
code {
color: f00;
font-size: 1.7rem;
}
h1 {
text-align: center;
2018-10-05 17:18:03 +02:00
font-size: 3.5rem;
2018-10-02 16:29:16 +02:00
}
h1, h2, h3, h4, h5, h6 {
2018-10-03 16:42:13 +02:00
font-family: "Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;
2018-10-02 16:29:16 +02:00
text-rendering: optimizeLegibility;
2018-10-03 16:42:13 +02:00
line-height: 100%;
2018-10-02 16:29:16 +02:00
letter-spacing: 0;
}
h2 {
2018-10-05 17:18:03 +02:00
font-size: 2.6rem;
2018-10-02 16:29:16 +02:00
}
h3 {
2018-10-05 17:18:03 +02:00
font-size: 2.2rem;
2018-10-02 16:29:16 +02:00
}
h4 {
2018-10-05 17:18:03 +02:00
font-size: 1.8rem;
2018-10-02 16:29:16 +02:00
}
img{
2018-10-05 17:18:03 +02:00
max-width: 500px;
2018-10-02 16:29:16 +02:00
height: auto;
}
video {
max-width: 100%;
height: auto;
}
pre {
font-size: 1.7rem;
line-height: 1.7;
}
2018-10-11 13:40:58 +02:00
.input-group {
padding-right: 30px;
padding-left: 20px;
}
2018-10-02 16:29:16 +02:00
.navbar {
2018-10-11 13:40:58 +02:00
2018-10-05 17:18:03 +02:00
letter-spacing: +.05rem;
2018-10-02 16:29:16 +02:00
font-weight: bold;
2018-10-05 17:18:03 +02:00
font-size: 1.8rem;
2018-10-11 13:40:58 +02:00
background-color: #292929;
2018-10-02 16:29:16 +02:00
}
a:link {
color: #e00;
}
a:visited {
color: #e00;
}
a:hover {
color: #000;
}
2018-10-05 17:18:03 +02:00
.navbar a {
font-size: 1rem;
}
2018-10-02 16:29:16 +02:00
.navbar a:link{
color: #ba3232;
2018-10-05 17:18:03 +02:00
2018-10-02 16:29:16 +02:00
}
.navbar a:visited {
color: #ba3232;
2018-10-05 17:18:03 +02:00
/*font-size: 1.5rem;*/
2018-10-02 16:29:16 +02:00
}
.navbar a:hover {
color: #ba3232;
2018-10-05 17:18:03 +02:00
/*font-size: 2rem;*/
2018-06-07 14:28:01 +02:00
}
2018-10-11 13:40:58 +02:00
.sidebar-header {
color: #000;
font-size: 3rem;
text-align: center;
letter-spacing: 0.3rem;
font-weight: bold;
padding-bottom: 10px;
background-color: #ba3232;
}
2018-06-07 14:28:01 +02:00
.sidebar-toggle {
float: left;
margin-left: 15px;
}
.sidebar {
2018-10-11 13:40:58 +02:00
margin-top: -2px;
2018-10-05 17:18:03 +02:00
position: fixed;
2018-06-07 14:28:01 +02:00
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-03 16:42:13 +02:00
/*letter-spacing: +.05rem;*/
font-weight: 400;
2018-10-05 17:18:03 +02:00
font-size: 1.25rem;
2018-10-03 16:42:13 +02:00
line-height: 1.55;
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
}
2018-10-03 16:42:13 +02:00
2018-06-07 14:28:01 +02:00
@media (min-width: 768px) {
.sidebar {
display: block;
2018-10-11 13:40:58 +02:00
padding-top: 0px;
2018-06-07 14:28:01 +02:00
}
2018-10-05 17:18:03 +02:00
.navbar a {
font-size: 2rem;
}
2018-06-07 14:28:01 +02:00
}
2018-10-02 16:29:16 +02:00
.sidebar a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #ccc;
}
2018-10-11 13:40:58 +02:00
.sidebar-header a {
color: #fff;
font-size: 3rem;
text-align: center;
}
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 {
2018-10-03 16:42:13 +02:00
padding-right: 80px;
padding-left: 80px;
2018-06-07 14:28:01 +02:00
}
2018-10-11 13:40:58 +02:00
.navbar {
display: none;
}
2018-06-07 14:28:01 +02:00
}
.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;
}