hugo-labs/static/css/labs.css

434 lines
6.8 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-11-13 17:23:30 +01:00
color: #000;
2018-10-30 19:00:26 +01:00
max-width: 160rem; /*160rem lub 68%*/
margin: auto;
vertical-align: middle;
2018-10-02 16:29:16 +02:00
}
2018-11-13 17:23:30 +01:00
:root{
--bg-color: #14396d;/*#14396d; #222d32; 252525, 292929*/
--child-color: #305d9a;/*#305d9a;#2c3b41; 444, 111*/
}
2018-10-02 16:29:16 +02:00
code {
2018-10-13 17:15:51 +02:00
font-size: 1.6rem;
2018-11-13 17:23:30 +01:00
background-color: #f2f7ff;/*#f9f2f4;*/
color: #00c;
2018-10-02 16:29:16 +02:00
}
2018-10-22 16:41:29 +02:00
p, li, ul, .table {
2018-10-21 14:36:37 +02:00
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-30 19:00:26 +01:00
/* text-rendering: optimizeLegibility;*/
2018-10-02 16:29:16 +02:00
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-22 16:41:29 +02:00
padding: 2rem 0rem;
2018-10-02 16:29:16 +02:00
}
h4 {
2018-10-21 14:36:37 +02:00
font-size: 1.85rem;
2018-10-22 16:41:29 +02:00
padding: 1.3rem 0rem;
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;
2018-10-30 19:00:26 +01:00
padding: 0rem 0rem;
2018-10-02 16:29:16 +02:00
}
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-02 16:29:16 +02:00
}
2018-11-06 18:23:53 +01:00
td {
width: 1%;
}
2018-11-05 18:43:17 +01:00
.navbar pre {
font-family: "Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;
2018-11-17 09:32:55 +01:00
font-size: 1.7rem;
2018-11-15 17:38:16 +01:00
background-color: var(--bg-color);
2018-11-05 18:43:17 +01:00
border-color: #fff;
color: #fff;
border-width: 0rem;
2018-11-17 09:32:55 +01:00
margin-top: -1.2rem;
2018-11-05 18:43:17 +01:00
padding-top: 2rem;
2018-11-17 09:32:55 +01:00
margin-right: -0.5rem;
2018-11-05 18:43:17 +01:00
}
2018-10-11 13:40:58 +02:00
.input-group {
2018-11-04 16:40:37 +01:00
padding-right: 4rem;
padding-left: 3rem;
height: 1rem;
}
.form-control {
max-height: 2.6rem;
margin: 0 0;
border-color: #4d5363;
border-radius: 1rem;
color: #4d5363;
}
.btn {
font-size: 1.2rem;
color: #4d5363;
padding: 0.4rem 1.5rem;
max-height: 2.6rem;
max-width: auto;
margin: 0 0;
float: right;
border-color: #4d5363;
border-radius: 1rem;
}
.btn:hover {
color: #ba3232;
background-color: white;
border-color: #4d5363;
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;
2018-11-13 17:23:30 +01:00
/*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-11-13 17:23:30 +01:00
border-left: 0.6em solid #305d9a;/*#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-11-15 17:38:16 +01:00
color: #305d9a;
2018-10-15 16:26:02 +02:00
padding: 2.5rem 3.5rem;
2018-10-13 17:15:51 +02:00
text-align: left;
2018-11-13 17:23:30 +01:00
/*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-11-15 17:38:16 +01:00
background-color: var(--bg-color);/*#292929;*/
2018-10-15 16:26:02 +02:00
position: fixed;
2018-11-04 16:40:37 +01:00
margin: 0rem 0rem;
border-bottom-width: 0rem;
2018-11-05 18:43:17 +01:00
padding-top: 0.1rem;
2018-11-15 17:38:16 +01:00
border-bottom-width: 0.5rem;
border-bottom-color: white;
2018-10-02 16:29:16 +02:00
}
a:link {
2018-11-13 17:23:30 +01:00
color: #00c;
2018-10-02 16:29:16 +02:00
}
a:visited {
2018-11-13 17:23:30 +01:00
color: #00c;
2018-10-02 16:29:16 +02:00
}
a:hover {
color: #000;
}
2018-06-07 14:28:01 +02:00
2018-11-17 09:32:55 +01:00
.warning a {
color: red;
}
2018-11-04 16:40:37 +01:00
.navbar a {
2018-11-15 17:38:16 +01:00
padding-top: 0.8rem;
2018-11-04 16:40:37 +01:00
font-size: 2rem;
color: #fff;
text-align: right;
float: right;
}
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;
2018-11-15 17:38:16 +01:00
letter-spacing: 0.2rem;
2018-10-11 13:40:58 +02:00
font-weight: bold;
2018-11-13 17:23:30 +01:00
padding-bottom: 0.3rem;
background-color: var(--bg-color);/*#292929; rgb(186, 50, 50); #ba3232;*/
2018-11-15 17:38:16 +01:00
border-top-width: 0.5rem;
border-top-color: #000;
}
.sidebar-header img{
display: none;
2018-10-11 13:40:58 +02:00
}
2018-11-05 18:43:17 +01:00
.sidebar-menu {
padding-top: 1.3rem;
}
2018-11-04 16:40:37 +01: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-05 17:18:03 +02:00
position: fixed;
2018-11-04 16:40:37 +01:00
top: 5rem;
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-11-13 17:23:30 +01:00
background-color: var(--bg-color);/*#292929;*/
/*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-11-04 16:40:37 +01:00
width: 32rem;
2018-10-22 16:41:29 +02:00
margin: 0 0;
2018-11-15 17:38:16 +01:00
margin-top: 0.5rem;
2018-06-07 14:28:01 +02:00
}
2018-11-13 17:23:30 +01:00
2018-11-08 15:12:02 +01:00
/*
.sidebar img {
max-width: 42rem;
margin-left: -3rem;
margin-top: -1rem;
margin-right:
}
*/
2018-11-13 17:23:30 +01: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;
2018-11-20 17:28:09 +01:00
color: #fff; /*ccc*/
2018-10-02 16:29:16 +02:00
}
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-11-13 17:23:30 +01:00
background-color: var(--child-color);/*#252525;#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-11-13 17:23:30 +01:00
background-color: var(--child-color);
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-11-13 17:23:30 +01:00
background-color: var(--child-color);
2018-10-01 16:37:19 +02:00
}
2018-06-07 14:28:01 +02:00
.sidebar .active > a {
2018-11-13 17:23:30 +01:00
color: #000;
background-color: #fff;
2018-10-02 16:29:16 +02:00
font-weight: bold;
2018-06-07 14:28:01 +02:00
}
2018-11-13 17:23:30 +01:00
.sidebar .active > a:hover{
color: #000;
}
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 {
2018-11-04 16:40:37 +01:00
display: block;
2018-10-15 16:26:02 +02:00
top: 0rem;
2019-01-30 12:33:33 +01:00
width: 32.8rem;
2018-11-15 17:38:16 +01:00
margin-top: 0rem;
}
.sidebar-header img{
display: block;
}
.sidebar-header {
font-size: 1rem;
letter-spacing: 0.3rem;
2018-10-15 16:26:02 +02:00
}
2018-10-22 16:41:29 +02:00
2019-01-30 12:33:33 +01:00
.sidebar-header a {
color: #fff;
font-size: 1.5rem;
text-align: center;
}
2018-10-15 16:26:02 +02:00
.navbar a {
font-size: 2rem;
2018-10-30 19:00:26 +01:00
color: #000;
text-align: right;
float: right;
2018-10-15 16:26:02 +02:00
}
2018-10-22 16:41:29 +02:00
2018-10-15 16:26:02 +02:00
.main {
2019-01-30 12:33:33 +01:00
margin-left: 29rem;
2018-10-21 14:36:37 +02:00
padding-right: 10rem;
padding-left: 10rem;
2018-10-15 16:26:02 +02:00
}
2018-10-22 16:41:29 +02:00
2018-10-15 16:26:02 +02:00
.navbar {
2018-10-30 19:00:26 +01:00
display: block;
background-color: #fff;
2018-11-05 18:43:17 +01:00
max-width: 153.5rem;
2018-11-04 16:40:37 +01:00
margin: auto;
vertical-align: middle;
2018-10-30 19:00:26 +01: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;
}
2018-11-05 18:43:17 +01:00
.navbar pre {
font-family: "Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;
font-size: 2rem;
line-height: 2rem;
2018-11-13 17:23:30 +01:00
background-color: var(--bg-color);
2018-11-05 18:43:17 +01:00
border-color: #000;
color: #fff;
border-radius: 1rem;
2018-11-15 17:38:16 +01:00
margin-top: -3.5rem;
2018-11-17 09:32:55 +01:00
margin-right: 0rem;
2018-11-15 17:38:16 +01:00
padding-top: 3.6rem;
2018-11-05 18:43:17 +01:00
padding-bottom: 1.2rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
2018-11-15 17:38:16 +01: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;
}