Line spacing notes
This commit is contained in:
parent
e48fea1892
commit
f01dcd3894
|
@ -11,7 +11,7 @@ body {
|
|||
}
|
||||
@media screen and (max-width: 991px) {
|
||||
body {
|
||||
padding-top: 3em;
|
||||
padding-top: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -109,10 +109,11 @@ svg {
|
|||
padding-right: 1.6em;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
||||
line-height: 2;
|
||||
}
|
||||
@media screen and (max-width: 991px) {
|
||||
.sidebar .contents {
|
||||
position: fixed;
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -132,29 +133,29 @@ svg {
|
|||
*/
|
||||
@media screen and (max-width: 991px) {
|
||||
.row-offcanvas {
|
||||
position: relative;
|
||||
transition: all .25s ease-in-out;
|
||||
position: relative;
|
||||
transition: all .25s ease-in-out;
|
||||
}
|
||||
|
||||
.row-offcanvas-left {
|
||||
left: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.row-offcanvas-left .sidebar-offcanvas {
|
||||
left: -66.667%;
|
||||
left: -66.667%;
|
||||
}
|
||||
.row-offcanvas-right.active {
|
||||
right: calc(66.667% + 1em);
|
||||
right: calc(66.667% + 1em);
|
||||
}
|
||||
|
||||
.row-offcanvas-left.active {
|
||||
left: calc(66.667% + 1em);
|
||||
left: calc(66.667% + 1em);
|
||||
}
|
||||
|
||||
.sidebar-offcanvas {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 66.667%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 66.667%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,8 +169,8 @@ svg {
|
|||
}
|
||||
@media (min-width: 992px) {
|
||||
.main {
|
||||
padding-right: 2em;
|
||||
padding-left: 2em;
|
||||
padding-right: 2em;
|
||||
padding-left: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -181,6 +182,15 @@ svg {
|
|||
fill: #28334C;
|
||||
}
|
||||
|
||||
p, .code-example {
|
||||
margin-bottom: 1.3em;
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
margin-top: 1.3em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Code examples
|
||||
|
@ -195,6 +205,7 @@ textarea {
|
|||
/* https://codemirror.net/demo/resize.html */
|
||||
height: auto;
|
||||
background: transparent;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.code-example {
|
||||
|
|
Loading…
Reference in New Issue