first commit
This commit is contained in:
commit
13c1ed7b2a
35 changed files with 3330 additions and 0 deletions
231
sass/_content.scss
Normal file
231
sass/_content.scss
Normal file
|
@ -0,0 +1,231 @@
|
|||
@use "variables";
|
||||
.page {
|
||||
position: absolute;
|
||||
width: calc(100% - #{variables.$sidebar-width});
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
padding-bottom: 20px;
|
||||
transition: 0.5s;
|
||||
|
||||
.zola-anchor {
|
||||
color: #357aba;
|
||||
padding-left: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: initial;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
&__content {
|
||||
a {
|
||||
color: #357aba;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 4px;
|
||||
padding: 0;
|
||||
margin: 1.7em 0;
|
||||
overflow: hidden;
|
||||
background-color: #e7e7e7;
|
||||
border: none;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1rem;
|
||||
|
||||
span {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0;
|
||||
margin-bottom: .85em;
|
||||
padding: 0 15px;
|
||||
color: #858585;
|
||||
border-left: 4px solid #e5e5e5;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background: none;
|
||||
}
|
||||
|
||||
code {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding: 0.1em 0.3em;
|
||||
border-radius: 3px;
|
||||
color: #6e6b5e;
|
||||
background: #f1f1f1;
|
||||
font-size: 0.875em;
|
||||
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 0 auto;
|
||||
border-collapse: collapse;
|
||||
border-color: #cccccc;
|
||||
|
||||
td {
|
||||
padding: 3px 20px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
thead {
|
||||
th {
|
||||
padding: 6px 13px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
font-size: 1.6rem;
|
||||
word-wrap: break-word;
|
||||
line-height: 1.7;
|
||||
position: relative;
|
||||
left: 0;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 0 15px 40px;
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.85em;
|
||||
}
|
||||
}
|
||||
|
||||
.previous, .next {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
top: 50px;
|
||||
bottom: 0;
|
||||
font-size: 2.5em;
|
||||
color: #ccc;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
max-width: 150px;
|
||||
min-width: 90px;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
flex-direction: column;
|
||||
|
||||
&:hover {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.previous {
|
||||
left: variables.$sidebar-width;
|
||||
float: left;
|
||||
transition: left 0.5s;
|
||||
}
|
||||
|
||||
.next {
|
||||
// not 0 as it goes over the sidebar otherwise
|
||||
right: 15px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
@include variables.max-screen(1250px) {
|
||||
.previous, .next {
|
||||
position: static;
|
||||
top: auto;
|
||||
display: inline-block;
|
||||
max-width: 49%;
|
||||
width: 49%;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include variables.min-screen(600px) {
|
||||
.page {
|
||||
left: variables.$sidebar-width;
|
||||
}
|
||||
}
|
||||
|
||||
.page-without-menu {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
|
||||
.previous {
|
||||
left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@include variables.max-screen(600px) {
|
||||
.page {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.page-without-menu {
|
||||
left: calc(100% - 100px);
|
||||
}
|
||||
}
|
||||
|
||||
.search-container {
|
||||
display: none;
|
||||
|
||||
&--is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#search {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 3px;
|
||||
background-color: #fafafa;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.search-results {
|
||||
&__header {
|
||||
font-weight: bold;
|
||||
padding: 1rem 0rem;
|
||||
}
|
||||
|
||||
&__items {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
&__item {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
&__teaser {
|
||||
font-size: 90%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-mode {
|
||||
.prev-link, .next-link {
|
||||
display: none;
|
||||
}
|
||||
}
|
18
sass/_document.scss
Normal file
18
sass/_document.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
}
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.2px;
|
||||
}
|
160
sass/_header.scss
Normal file
160
sass/_header.scss
Normal file
|
@ -0,0 +1,160 @@
|
|||
@mixin menu-icon() {
|
||||
@keyframes clickfirst {
|
||||
0% {
|
||||
transform: translateY(6px) rotate(0deg);
|
||||
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(0) rotate(45deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes clickmid {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes clicklast {
|
||||
0% {
|
||||
transform: translateY(-6px) rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(0) rotate(-45deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes outfirst {
|
||||
0% {
|
||||
transform: translateY(0) rotate(-45deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(-6px) rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes outmid {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes outlast {
|
||||
0% {
|
||||
transform: translateY(0) rotate(45deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(6px) rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
/* fallback for browsers which still doesn't support for `calc()` */
|
||||
left: 15px;
|
||||
top: 25px;
|
||||
left: calc((100% - 20px) / 2);
|
||||
top: calc((100% - 1px) / 2);
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
|
||||
&:nth-child(1) {
|
||||
transform: translateY(6px) rotate(0deg);
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
transform: translateY(-6px) rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
&.icon-click {
|
||||
span:nth-child(1) {
|
||||
animation-duration: 0.5s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: clickfirst;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
animation-duration: 0.2s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: clickmid;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
animation-duration: 0.5s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: clicklast;
|
||||
}
|
||||
}
|
||||
|
||||
&.icon-out {
|
||||
span:nth-child(1) {
|
||||
animation-duration: 0.5s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: outfirst;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
animation-duration: 0.2s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: outmid;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
animation-duration: 0.5s;
|
||||
animation-fill-mode: both;
|
||||
animation-name: outlast;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page__header {
|
||||
height: 50px;
|
||||
|
||||
.menu-icon {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
position: relative;
|
||||
transition: background .5s;
|
||||
cursor: pointer;
|
||||
|
||||
@include menu-icon();
|
||||
|
||||
&:hover {
|
||||
span {
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
line-height: 50px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
cursor: pointer;
|
||||
font-size: 2rem;
|
||||
|
||||
&:hover {
|
||||
color: black
|
||||
}
|
||||
}
|
||||
}
|
57
sass/_navigation.scss
Normal file
57
sass/_navigation.scss
Normal file
|
@ -0,0 +1,57 @@
|
|||
@use "variables";
|
||||
.menu {
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
overflow-y: auto;
|
||||
width: 300px;
|
||||
color: #364149;
|
||||
background: #fafafa;
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.07);
|
||||
transition: 0.5s;
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
color: #364149;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
padding: 10px 15px;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
li.active > a {
|
||||
color: #0053bc;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-hidden {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
@include variables.max-screen(600px) {
|
||||
.menu {
|
||||
width: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.menu-hidden {
|
||||
width: calc(100% - 100px);
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
447
sass/_normalize.scss
Normal file
447
sass/_normalize.scss
Normal file
|
@ -0,0 +1,447 @@
|
|||
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in
|
||||
* IE on Windows Phone and in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1.15; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers (opinionated).
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 9-.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
footer,
|
||||
header,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 9-.
|
||||
* 1. Add the correct display in IE.
|
||||
*/
|
||||
|
||||
figcaption,
|
||||
figure,
|
||||
main { /* 1 */
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct margin in IE 8.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Remove the gray background on active links in IE 10.
|
||||
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent; /* 1 */
|
||||
-webkit-text-decoration-skip: objects; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font style in Android 4.3-.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct background and color in IE 9-.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background-color: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 9-.
|
||||
*/
|
||||
|
||||
audio,
|
||||
video {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in iOS 4-7.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10-.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide the overflow in IE.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers (opinionated).
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: sans-serif; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1.15; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input { /* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select { /* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
||||
* controls in Android 4.
|
||||
* 2. Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
html [type="button"], /* 1 */
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct display in IE 9-.
|
||||
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10-.
|
||||
* 2. Remove the padding in IE 10-.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-cancel-button,
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in IE 9-.
|
||||
* 1. Add the correct display in Edge, IE, and Firefox.
|
||||
*/
|
||||
|
||||
details, /* 1 */
|
||||
menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Scripting
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 9-.
|
||||
*/
|
||||
|
||||
canvas {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hidden
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10-.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
162
sass/_syntax-charcoal.scss
Normal file
162
sass/_syntax-charcoal.scss
Normal file
|
@ -0,0 +1,162 @@
|
|||
@mixin dark {
|
||||
.z-code {
|
||||
color: #cccece;
|
||||
background-color: #191919;
|
||||
}
|
||||
.z-comment, .z-punctuation.z-definition.z-comment {
|
||||
color: #7e8384;
|
||||
}
|
||||
.z-variable {
|
||||
color: #cccece;
|
||||
}
|
||||
.z-keyword, .z-storage.z-type, .z-storage.z-modifier {
|
||||
color: #c594c5;
|
||||
}
|
||||
.z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution {
|
||||
color: #5fb3b3;
|
||||
}
|
||||
.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter {
|
||||
color: #ff7b84;
|
||||
}
|
||||
.z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level {
|
||||
color: #78aade;
|
||||
}
|
||||
.z-support.z-other.z-variable, .z-string.z-other.z-link {
|
||||
color: #fa7e81;
|
||||
}
|
||||
.z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit {
|
||||
color: #f99157;
|
||||
}
|
||||
.z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js {
|
||||
color: #99c794;
|
||||
}
|
||||
.z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter {
|
||||
color: #fac863;
|
||||
}
|
||||
.z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-variable.z-language {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-entity.z-name.z-method.z-js {
|
||||
color: #d8dee9;
|
||||
}
|
||||
.z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor {
|
||||
color: #d8dee9;
|
||||
}
|
||||
.z-entity.z-other.z-attribute-name {
|
||||
color: #cd91c4;
|
||||
}
|
||||
.z-markup.z-inserted {
|
||||
color: #99c794;
|
||||
}
|
||||
.z-markup.z-deleted {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-markup.z-changed {
|
||||
color: #cd91c4;
|
||||
}
|
||||
.z-string.z-regexp {
|
||||
color: #5fb3b3;
|
||||
}
|
||||
.z-constant.z-character.z-escape {
|
||||
color: #5fb3b3;
|
||||
}
|
||||
.z-*url*, .z-*link*, .z-*uri* {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-find-in-files {
|
||||
color: #cf9a87;
|
||||
}
|
||||
.z-entity.z-name.z-filename.z-find-in-files {
|
||||
color: #99c794;
|
||||
}
|
||||
.z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js {
|
||||
color: #78aade;
|
||||
}
|
||||
.z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js {
|
||||
color: #fe7d83;
|
||||
}
|
||||
}
|
||||
@mixin light {
|
||||
.z-code {
|
||||
color: #727373;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.z-comment, .z-punctuation.z-definition.z-comment {
|
||||
color: #5f6364;
|
||||
}
|
||||
.z-variable {
|
||||
color: #727373;
|
||||
}
|
||||
.z-keyword, .z-storage.z-type, .z-storage.z-modifier {
|
||||
color: #916392;
|
||||
}
|
||||
.z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution {
|
||||
color: #237e7f;
|
||||
}
|
||||
.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter {
|
||||
color: #ca4251;
|
||||
}
|
||||
.z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level {
|
||||
color: #4076a7;
|
||||
}
|
||||
.z-support.z-other.z-variable, .z-string.z-other.z-link {
|
||||
color: #c14c52;
|
||||
}
|
||||
.z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit {
|
||||
color: #b75922;
|
||||
}
|
||||
.z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js {
|
||||
color: #517c4e;
|
||||
}
|
||||
.z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter {
|
||||
color: #926c00;
|
||||
}
|
||||
.z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js {
|
||||
color: #cb414d;
|
||||
}
|
||||
.z-variable.z-language {
|
||||
color: #cb414d;
|
||||
}
|
||||
.z-entity.z-name.z-method.z-js {
|
||||
color: #6c727c;
|
||||
}
|
||||
.z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor {
|
||||
color: #6c727c;
|
||||
}
|
||||
.z-entity.z-other.z-attribute-name {
|
||||
color: #996091;
|
||||
}
|
||||
.z-markup.z-inserted {
|
||||
color: #517c4e;
|
||||
}
|
||||
.z-markup.z-deleted {
|
||||
color: #cb414d;
|
||||
}
|
||||
.z-markup.z-changed {
|
||||
color: #996091;
|
||||
}
|
||||
.z-string.z-regexp {
|
||||
color: #237e7f;
|
||||
}
|
||||
.z-constant.z-character.z-escape {
|
||||
color: #237e7f;
|
||||
}
|
||||
.z-*url*, .z-*link*, .z-*uri* {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-find-in-files {
|
||||
color: #976756;
|
||||
}
|
||||
.z-entity.z-name.z-filename.z-find-in-files {
|
||||
color: #517c4e;
|
||||
}
|
||||
.z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js {
|
||||
color: #4076a7;
|
||||
}
|
||||
.z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js {
|
||||
color: #cb414d;
|
||||
}
|
||||
}
|
551
sass/_syntax.scss
Normal file
551
sass/_syntax.scss
Normal file
|
@ -0,0 +1,551 @@
|
|||
@mixin dark {
|
||||
.z-code {
|
||||
color: #bfbab0;
|
||||
background-color: #191919;
|
||||
}
|
||||
.z-comment, .z-punctuation.z-definition.z-comment {
|
||||
color: #87929f;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-variable {
|
||||
color: #bfbab0;
|
||||
}
|
||||
.z-string, .z-constant.z-other.z-symbol {
|
||||
color: #c2d94c;
|
||||
}
|
||||
.z-constant.z-numeric {
|
||||
color: #f29718;
|
||||
}
|
||||
.z-string.z-regexp, .z-constant.z-character.z-escape {
|
||||
color: #95e6cb;
|
||||
}
|
||||
.z-constant.z-language {
|
||||
color: #f29718;
|
||||
}
|
||||
.z-constant.z-character, .z-constant.z-other {
|
||||
color: #f29718;
|
||||
}
|
||||
.z-variable.z-member {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-keyword, .z-keyword.z-operator.z-word {
|
||||
color: #00bbff;
|
||||
}
|
||||
.z-keyword.z-operator {
|
||||
color: #f29668;
|
||||
}
|
||||
.z-punctuation.z-separator, .z-punctuation.z-terminator {
|
||||
color: #bfbab0;
|
||||
}
|
||||
.z-punctuation.z-section {
|
||||
color: #bfbab0;
|
||||
}
|
||||
.z-punctuation.z-accessor {
|
||||
color: #f29668;
|
||||
}
|
||||
.z-punctuation.z-definition.z-annotation {
|
||||
color: #bfbab0;
|
||||
}
|
||||
.z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js {
|
||||
color: #e6b673;
|
||||
}
|
||||
.z-storage {
|
||||
color: #00bbff;
|
||||
}
|
||||
.z-storage.z-type {
|
||||
color: #00bbff;
|
||||
}
|
||||
.z-entity.z-name.z-function {
|
||||
color: #ffb454;
|
||||
}
|
||||
.z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label {
|
||||
color: #59c2ff;
|
||||
}
|
||||
.z-entity.z-other.z-inherited-class {
|
||||
color: #59c2ff;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.z-variable.z-parameter {
|
||||
color: #f29718;
|
||||
}
|
||||
.z-variable.z-language {
|
||||
color: #39bae6;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-entity.z-other.z-attribute-name {
|
||||
color: #ffb454;
|
||||
}
|
||||
.z-variable.z-function, .z-variable.z-annotation {
|
||||
color: #ffb454;
|
||||
}
|
||||
.z-support.z-function, .z-support.z-macro {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-support.z-constant {
|
||||
color: #f29668;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-support.z-type, .z-support.z-class {
|
||||
color: #39bae6;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-invalid {
|
||||
color: #ff7c6d;
|
||||
}
|
||||
.z-invalid.z-deprecated {
|
||||
color: #ffffff;
|
||||
background-color: #00bbff;
|
||||
}
|
||||
.z-meta.z-diff, .z-meta.z-diff.z-header {
|
||||
color: #c594c5;
|
||||
}
|
||||
.z-source.z-ruby .z-variable.z-other.z-readwrite {
|
||||
color: #ffb454;
|
||||
}
|
||||
.z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag {
|
||||
color: #59c2ff;
|
||||
}
|
||||
.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type {
|
||||
color: #798491;
|
||||
}
|
||||
.z-support.z-type.z-property-name {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-find-in-files {
|
||||
color: #798491;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-match {
|
||||
color: #00bbff;
|
||||
}
|
||||
.z-entity.z-name.z-filename.z-find-in-files {
|
||||
color: #c2d94c;
|
||||
}
|
||||
.z-message.z-error {
|
||||
color: #ff7c6d;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-markup.z-heading {
|
||||
color: #00bbff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-string.z-other.z-link, .z-markup.z-underline.z-link {
|
||||
color: #95e6cb;
|
||||
text-decoration: underline;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-punctuation.z-definition.z-image {
|
||||
color: #ffb454;
|
||||
}
|
||||
.z-markup.z-italic {
|
||||
color: #fe7d83;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-bold {
|
||||
color: #fe7d83;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-raw {
|
||||
background-color: #bfbab0;
|
||||
}
|
||||
.z-markup.z-raw.z-inline {
|
||||
background-color: #bfbab0;
|
||||
}
|
||||
.z-meta.z-separator {
|
||||
color: #798491;
|
||||
background-color: #bfbab0;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-markup.z-quote {
|
||||
color: #f29718;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item {
|
||||
color: #95e6cb;
|
||||
}
|
||||
.z-markup.z-inserted {
|
||||
color: #c2d94c;
|
||||
}
|
||||
.z-markup.z-changed {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-markup.z-deleted {
|
||||
color: #fe7d83;
|
||||
}
|
||||
.z-markup.z-strike {
|
||||
color: #e6b673;
|
||||
}
|
||||
.z-markup.z-table {
|
||||
color: #39bae6;
|
||||
background-color: #bfbab0;
|
||||
}
|
||||
.z-text.z-html.z-markdown .z-markup.z-raw.z-inline {
|
||||
color: #f29668;
|
||||
}
|
||||
.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break {
|
||||
color: #798491;
|
||||
}
|
||||
.z-markup.z-raw.z-block.z-fenced.z-markdown {
|
||||
color: #bfbab0;
|
||||
background-color: #bfbab0;
|
||||
}
|
||||
.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown {
|
||||
color: #798491;
|
||||
background-color: #bfbab0;
|
||||
}
|
||||
.z-variable.z-language.z-fenced.z-markdown {
|
||||
color: #798491;
|
||||
}
|
||||
.z-markup.z-inserted.z-git_gutter {
|
||||
color: #c2d94c;
|
||||
}
|
||||
.z-markup.z-changed.z-git_gutter {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-markup.z-deleted.z-git_gutter {
|
||||
color: #ff7c6d;
|
||||
}
|
||||
.z-markup.z-ignored.z-git_gutter {
|
||||
color: #20272c;
|
||||
}
|
||||
.z-markup.z-untracked.z-git_gutter {
|
||||
color: #20272c;
|
||||
}
|
||||
.z-gutter_color {
|
||||
color: #ffffff;
|
||||
}
|
||||
.z-acejump.z-label.z-blue {
|
||||
color: #ffffff;
|
||||
background-color: #39bae6;
|
||||
}
|
||||
.z-acejump.z-label.z-green {
|
||||
color: #ffffff;
|
||||
background-color: #c2d94c;
|
||||
}
|
||||
.z-acejump.z-label.z-orange {
|
||||
color: #ffffff;
|
||||
background-color: #00bbff;
|
||||
}
|
||||
.z-acejump.z-label.z-purple {
|
||||
color: #ffffff;
|
||||
background-color: #fe7d83;
|
||||
}
|
||||
.z-sublimelinter.z-mark.z-warning {
|
||||
color: #39bae6;
|
||||
}
|
||||
.z-sublimelinter.z-gutter-mark {
|
||||
color: #ffffff;
|
||||
}
|
||||
.z-sublimelinter.z-mark.z-error {
|
||||
color: #ff7c6d;
|
||||
}
|
||||
}
|
||||
@mixin light {
|
||||
.z-code {
|
||||
color: #50565a;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.z-comment, .z-punctuation.z-definition.z-comment {
|
||||
color: #676c72;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-variable {
|
||||
color: #50565a;
|
||||
}
|
||||
.z-string, .z-constant.z-other.z-symbol {
|
||||
color: #497700;
|
||||
}
|
||||
.z-constant.z-numeric {
|
||||
color: #b04e00;
|
||||
}
|
||||
.z-string.z-regexp, .z-constant.z-character.z-escape {
|
||||
color: #007b59;
|
||||
}
|
||||
.z-constant.z-language {
|
||||
color: #b04e00;
|
||||
}
|
||||
.z-constant.z-character, .z-constant.z-other {
|
||||
color: #b04e00;
|
||||
}
|
||||
.z-variable.z-member {
|
||||
color: #c33947;
|
||||
}
|
||||
.z-keyword, .z-keyword.z-operator.z-word {
|
||||
color: #0062e8;
|
||||
}
|
||||
.z-keyword.z-operator {
|
||||
color: #a4552c;
|
||||
}
|
||||
.z-punctuation.z-separator, .z-punctuation.z-terminator {
|
||||
color: #50565a;
|
||||
}
|
||||
.z-punctuation.z-section {
|
||||
color: #50565a;
|
||||
}
|
||||
.z-punctuation.z-accessor {
|
||||
color: #a4552c;
|
||||
}
|
||||
.z-punctuation.z-definition.z-annotation {
|
||||
color: #50565a;
|
||||
}
|
||||
.z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js {
|
||||
color: #8b6426;
|
||||
}
|
||||
.z-storage {
|
||||
color: #0062e8;
|
||||
}
|
||||
.z-storage.z-type {
|
||||
color: #0062e8;
|
||||
}
|
||||
.z-entity.z-name.z-function {
|
||||
color: #a45600;
|
||||
}
|
||||
.z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label {
|
||||
color: #0070b3;
|
||||
}
|
||||
.z-entity.z-other.z-inherited-class {
|
||||
color: #0070b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.z-variable.z-parameter {
|
||||
color: #b04e00;
|
||||
}
|
||||
.z-variable.z-language {
|
||||
color: #007492;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml {
|
||||
color: #007492;
|
||||
}
|
||||
.z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag {
|
||||
color: #007492;
|
||||
}
|
||||
.z-entity.z-other.z-attribute-name {
|
||||
color: #a45600;
|
||||
}
|
||||
.z-variable.z-function, .z-variable.z-annotation {
|
||||
color: #a45600;
|
||||
}
|
||||
.z-support.z-function, .z-support.z-macro {
|
||||
color: #b94046;
|
||||
}
|
||||
.z-support.z-constant {
|
||||
color: #a4552c;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-support.z-type, .z-support.z-class {
|
||||
color: #007492;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-invalid {
|
||||
color: #da0001;
|
||||
}
|
||||
.z-invalid.z-deprecated {
|
||||
color: #ffffff;
|
||||
background-color: #0062e8;
|
||||
}
|
||||
.z-source.z-ruby .z-variable.z-other.z-readwrite {
|
||||
color: #a45600;
|
||||
}
|
||||
.z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag {
|
||||
color: #0070b3;
|
||||
}
|
||||
.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type {
|
||||
color: #676c72;
|
||||
}
|
||||
.z-support.z-type.z-property-name {
|
||||
color: #007492;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-find-in-files {
|
||||
color: #676c72;
|
||||
}
|
||||
.z-constant.z-numeric.z-line-number.z-match {
|
||||
color: #0062e8;
|
||||
}
|
||||
.z-entity.z-name.z-filename.z-find-in-files {
|
||||
color: #497700;
|
||||
}
|
||||
.z-message.z-error {
|
||||
color: #da0001;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string {
|
||||
color: #007492;
|
||||
}
|
||||
.z-markup.z-heading {
|
||||
color: #0062e8;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-string.z-other.z-link, .z-markup.z-underline.z-link {
|
||||
color: #007b59;
|
||||
text-decoration: underline;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-punctuation.z-definition.z-image {
|
||||
color: #a45600;
|
||||
}
|
||||
.z-markup.z-italic {
|
||||
color: #b94046;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-bold {
|
||||
color: #b94046;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-raw {
|
||||
background-color: #50565a;
|
||||
}
|
||||
.z-markup.z-raw.z-inline {
|
||||
background-color: #50565a;
|
||||
}
|
||||
.z-meta.z-separator {
|
||||
color: #676c72;
|
||||
background-color: #50565a;
|
||||
font-weight: bold;
|
||||
}
|
||||
.z-markup.z-quote {
|
||||
color: #b04e00;
|
||||
font-style: italic;
|
||||
}
|
||||
.z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item {
|
||||
color: #007b59;
|
||||
}
|
||||
.z-markup.z-inserted {
|
||||
color: #497700;
|
||||
}
|
||||
.z-markup.z-changed {
|
||||
color: #007492;
|
||||
}
|
||||
.z-markup.z-deleted {
|
||||
color: #b94046;
|
||||
}
|
||||
.z-markup.z-strike {
|
||||
color: #8b6426;
|
||||
}
|
||||
.z-markup.z-table {
|
||||
color: #007492;
|
||||
background-color: #50565a;
|
||||
}
|
||||
.z-text.z-html.z-markdown .z-markup.z-raw.z-inline {
|
||||
color: #a4552c;
|
||||
}
|
||||
.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break {
|
||||
color: #676c72;
|
||||
}
|
||||
.z-markup.z-raw.z-block.z-fenced.z-markdown {
|
||||
color: #50565a;
|
||||
background-color: #50565a;
|
||||
}
|
||||
.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown {
|
||||
color: #676c72;
|
||||
background-color: #50565a;
|
||||
}
|
||||
.z-variable.z-language.z-fenced.z-markdown {
|
||||
color: #676c72;
|
||||
}
|
||||
.z-markup.z-inserted.z-git_gutter {
|
||||
color: #497700;
|
||||
}
|
||||
.z-markup.z-changed.z-git_gutter {
|
||||
color: #007492;
|
||||
}
|
||||
.z-markup.z-deleted.z-git_gutter {
|
||||
color: #da0001;
|
||||
}
|
||||
.z-markup.z-ignored.z-git_gutter {
|
||||
color: #696b6c;
|
||||
}
|
||||
.z-markup.z-untracked.z-git_gutter {
|
||||
color: #696b6c;
|
||||
}
|
||||
.z-gutter_color {
|
||||
color: #ffffff;
|
||||
}
|
||||
.z-acejump.z-label.z-blue {
|
||||
color: #ffffff;
|
||||
background-color: #007492;
|
||||
}
|
||||
.z-acejump.z-label.z-green {
|
||||
color: #ffffff;
|
||||
background-color: #497700;
|
||||
}
|
||||
.z-acejump.z-label.z-orange {
|
||||
color: #ffffff;
|
||||
background-color: #0062e8;
|
||||
}
|
||||
.z-acejump.z-label.z-purple {
|
||||
color: #ffffff;
|
||||
background-color: #b94046;
|
||||
}
|
||||
.z-sublimelinter.z-mark.z-warning {
|
||||
color: #007492;
|
||||
}
|
||||
.z-sublimelinter.z-gutter-mark {
|
||||
color: #ffffff;
|
||||
}
|
||||
.z-sublimelinter.z-mark.z-error {
|
||||
color: #da0001;
|
||||
}
|
||||
}
|
13
sass/_variables.scss
Normal file
13
sass/_variables.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
@mixin min-screen($min-width: $body-width) {
|
||||
@media screen and (min-width: $min-width) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin max-screen($max-width: $body-width) {
|
||||
@media screen and (max-width: $max-width) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
$sidebar-width: 300px;
|
12
sass/book.scss
Normal file
12
sass/book.scss
Normal file
|
@ -0,0 +1,12 @@
|
|||
@charset "utf-8";
|
||||
|
||||
@use "normalize";
|
||||
|
||||
@use "variables";
|
||||
@use "document";
|
||||
@use "navigation";
|
||||
@use "content";
|
||||
@use "header";
|
||||
|
||||
@use "syntax" as syntax;
|
||||
@include syntax.light;
|
Loading…
Add table
Add a link
Reference in a new issue