hugo-labs/static/css/labs.css

306 lines
4.3 KiB
CSS
Raw Normal View History

2018-06-07 14:28:01 +02:00
BODY {
2018-10-15 16:26:02 +02:00
padding-top: 7.5rem;
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
color: #4d5363;
}
code {
2018-10-13 17:15:51 +02:00
font-size: 1.6rem;
background-color: #f9f2f4;
2018-10-02 16:29:16 +02:00
}
2018-10-21 14:36:37 +02:00
p, li, .table {
margin: 0 0;
line-height: 3.5rem;
}
2018-10-02 16:29:16 +02:00
h1 {
text-align: center;
2018-10-05 17:18:03 +02:00
font-size: 3.5rem;
2018-10-02 16:29:16 +02:00
}
2018-10-13 17:15:51 +02:00
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;
letter-spacing: 0;
2018-10-21 14:36:37 +02:00
margin: 0 0;
2018-10-02 16:29:16 +02:00
}
h2 {
2018-10-21 14:36:37 +02:00
font-size: 2.45rem;
padding: 3rem 0rem;
2018-10-02 16:29:16 +02:00
}
h3 {
2018-10-21 14:36:37 +02:00
font-size: 2.15rem;
2018-10-02 16:29:16 +02:00
}
h4 {
2018-10-21 14:36:37 +02:00
font-size: 1.85rem;
2018-10-02 16:29:16 +02:00
}
img{
2018-10-16 09:08:07 +02:00
max-width: 100%;
2018-10-02 16:29:16 +02:00
height: auto;
}
video {
max-width: 100%;
height: auto;
}
pre {
2018-10-13 17:15:51 +02:00
font-size: 1.6rem;
line-height: 1.7rem;
2018-10-15 16:26:02 +02:00
margin-top: 1rem;
margin-bottom: 1rem;
2018-10-13 17:15:51 +02:00
2018-10-02 16:29:16 +02:00
}
2018-10-11 13:40:58 +02:00
.input-group {
2018-10-15 16:26:02 +02:00
padding-right: 3rem;
padding-left: 2rem;
2018-10-11 13:40:58 +02:00
}
2018-10-13 17:15:51 +02:00
.warning {
2018-10-15 16:26:02 +02:00
border-left: 0.60em solid #ba3232;
2018-10-13 17:15:51 +02:00
margin-left: auto;
2018-10-15 16:26:02 +02:00
margin-bottom: 1em;
margin-top: 1em;
2018-10-13 17:15:51 +02:00
color: #ba3232;
2018-10-15 16:26:02 +02:00
padding: 2.5rem 3.5rem;
2018-10-13 17:15:51 +02:00
text-align: left;
background-color: #fdf7f7;
2018-10-18 14:12:40 +02:00
font-size: 1.6rem;
2018-10-13 17:15:51 +02:00
}
.info {
2018-10-15 16:26:02 +02:00
border-left: 0.6em solid #918f8a; /*#4d5363*/
2018-10-13 17:15:51 +02:00
margin-left: auto;
2018-10-15 16:26:02 +02:00
margin-bottom: 1em;
margin-top: 1em;
2018-10-13 17:15:51 +02:00
color: black;
2018-10-15 16:26:02 +02:00
padding: 2.5rem 3.5rem;
2018-10-13 17:15:51 +02:00
text-align: left;
background-color: #f2f2f2;
2018-10-18 14:12:40 +02:00
font-size: 1.6rem;
2018-10-13 17:15:51 +02:00
}
.navbar {
2018-10-11 13:40:58 +02:00
background-color: #292929;
2018-10-15 16:26:02 +02:00
position: fixed;
2018-10-02 16:29:16 +02:00
}
a:link {
color: #e00;
}
a:visited {
color: #e00;
}
a:hover {
color: #000;
}
2018-06-07 14:28:01 +02:00
2018-10-11 13:40:58 +02:00
.sidebar-header {
color: #000;
2018-10-15 16:26:02 +02:00
font-size: 1rem;
2018-10-11 13:40:58 +02:00
text-align: center;
letter-spacing: 0.3rem;
font-weight: bold;
2018-10-15 16:26:02 +02:00
padding-bottom: 1rem;
2018-10-18 12:07:42 +02:00
background-color: rgb(186, 50, 50);/*#ba3232;*/
2018-10-11 13:40:58 +02:00
}
2018-06-07 14:28:01 +02:00
.sidebar-toggle {
float: left;
2018-10-15 16:26:02 +02:00
margin-left: 1.5rem;
2018-06-07 14:28:01 +02:00
}
.sidebar {
2018-10-15 16:26:02 +02:00
margin-top: -0.15rem;
2018-10-05 17:18:03 +02:00
position: fixed;
2018-10-15 16:26:02 +02:00
top: 5.1rem;
2018-06-07 14:28:01 +02:00
bottom: 0;
left: 0;
z-index: 1050;
2018-10-15 16:26:02 +02:00
padding-left: 2rem;
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-10-15 16:26:02 +02:00
border-right: 0.1rem solid #eee;
2018-10-03 16:42:13 +02:00
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-10-15 16:26:02 +02:00
width: 32.5rem;
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
.sidebar a {
display: block;
2018-10-15 16:26:02 +02:00
padding: 1rem 2rem;
2018-10-02 16:29:16 +02:00
text-decoration: none;
color: #ccc;
}
2018-10-11 13:40:58 +02:00
.sidebar-header a {
color: #fff;
2018-10-18 14:12:40 +02:00
font-size: 1.8rem;
2018-10-11 13:40:58 +02:00
text-align: center;
}
2018-06-07 14:28:01 +02:00
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar > ul {
2018-10-15 16:26:02 +02:00
margin-right: -2.1rem; /* 20px padding + 1px border */
margin-bottom: 2rem;
margin-left: -2rem;
2018-06-07 14:28:01 +02:00
}
2018-10-21 14:36:37 +02:00
.sidebar li {
line-height: 1.7rem;
}
2018-06-07 14:28:01 +02:00
.sidebar .sub-item > a{
2018-10-15 16:26:02 +02:00
padding-left: 4rem;
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{
2018-10-15 16:26:02 +02:00
padding-left: 6rem;
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{
2018-10-15 16:26:02 +02:00
padding-left: 8rem;
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;
2018-10-15 16:26:02 +02:00
font-weight: bold;
2018-06-07 14:28:01 +02:00
}
.main {
2018-10-15 16:26:02 +02:00
padding: 2rem;
margin-left: 0rem;
2018-06-07 14:28:01 +02:00
}
2018-10-13 17:15:51 +02:00
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-10-15 16:26:02 +02:00
@media (min-width: 768px) {
.sidebar {
display: block;
top: 0rem;
}
.navbar a {
font-size: 2rem;
}
.main {
2018-10-21 14:36:37 +02:00
margin-left: 32rem;
padding-right: 10rem;
padding-left: 10rem;
2018-10-15 16:26:02 +02:00
}
.navbar {
display: none;
}
2018-10-16 17:23:59 +02:00
2018-10-16 09:08:07 +02:00
img {
2018-10-16 17:23:59 +02:00
width: 50rem;
2018-10-16 09:08:07 +02:00
height: auto;
2018-10-16 17:23:59 +02:00
transition: width 2s;
transition: height 2s;
}
.zoom {
width: 100rem;
2018-10-16 09:08:07 +02:00
}
2018-10-15 16:26:02 +02:00
}
2018-10-21 14:36:37 +02:00
2018-06-07 14:28:01 +02:00
.bs-callout {
2018-10-15 16:26:02 +02:00
padding: 2rem;
margin: 2rem 0;
border: 0.1rem solid #eee;
border-left-width: 0.5rem;
border-radius: 0.3rem;
2018-06-07 14:28:01 +02:00
}
.bs-callout:first-child {
margin-top: 0;
}
.bs-callout h4 {
margin-top: 0;
2018-10-15 16:26:02 +02:00
margin-bottom: 0.5rem;
2018-06-07 14:28:01 +02:00
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code {
2018-10-15 16:26:02 +02:00
border-radius: 0.3rem;
2018-06-07 14:28:01 +02:00
}
.bs-callout+.bs-callout {
2018-10-15 16:26:02 +02:00
margin-top: -0.5rem;
2018-06-07 14:28:01 +02:00
}
.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;
}