fix
This commit is contained in:
@@ -0,0 +1,238 @@
|
||||
require(["gitbook", "jquery"], (gitbook, $) => {
|
||||
// Configuration
|
||||
const MAX_SIZE = 4;
|
||||
const MIN_SIZE = 0;
|
||||
let BUTTON_ID;
|
||||
|
||||
// Current fontsettings state
|
||||
let fontState;
|
||||
|
||||
// Default themes
|
||||
let THEMES = [
|
||||
{
|
||||
config: "white",
|
||||
text: "White",
|
||||
id: 0
|
||||
},
|
||||
{
|
||||
config: "sepia",
|
||||
text: "Sepia",
|
||||
id: 1
|
||||
},
|
||||
{
|
||||
config: "night",
|
||||
text: "Night",
|
||||
id: 2
|
||||
}
|
||||
];
|
||||
|
||||
// Default font families
|
||||
let FAMILIES = [
|
||||
{
|
||||
config: "serif",
|
||||
text: "Serif",
|
||||
id: 0
|
||||
},
|
||||
{
|
||||
config: "sans",
|
||||
text: "Sans",
|
||||
id: 1
|
||||
}
|
||||
];
|
||||
|
||||
// Return configured themes
|
||||
function getThemes() {
|
||||
return THEMES;
|
||||
}
|
||||
|
||||
// Modify configured themes
|
||||
function setThemes(themes) {
|
||||
THEMES = themes;
|
||||
updateButtons();
|
||||
}
|
||||
|
||||
// Return configured font families
|
||||
function getFamilies() {
|
||||
return FAMILIES;
|
||||
}
|
||||
|
||||
// Modify configured font families
|
||||
function setFamilies(families) {
|
||||
FAMILIES = families;
|
||||
updateButtons();
|
||||
}
|
||||
|
||||
// Save current font settings
|
||||
function saveFontSettings() {
|
||||
gitbook.storage.set("fontState", fontState);
|
||||
update();
|
||||
}
|
||||
|
||||
// Increase font size
|
||||
function enlargeFontSize(e) {
|
||||
e.preventDefault();
|
||||
if (fontState.size >= MAX_SIZE) return;
|
||||
|
||||
fontState.size++;
|
||||
saveFontSettings();
|
||||
}
|
||||
|
||||
// Decrease font size
|
||||
function reduceFontSize(e) {
|
||||
e.preventDefault();
|
||||
if (fontState.size <= MIN_SIZE) return;
|
||||
|
||||
fontState.size--;
|
||||
saveFontSettings();
|
||||
}
|
||||
|
||||
// Change font family
|
||||
function changeFontFamily(configName, e) {
|
||||
if (e && e instanceof Event) {
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
const familyId = getFontFamilyId(configName);
|
||||
fontState.family = familyId;
|
||||
saveFontSettings();
|
||||
}
|
||||
|
||||
// Change type of color theme
|
||||
function changeColorTheme(configName, e) {
|
||||
if (e && e instanceof Event) {
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
const $book = gitbook.state.$book;
|
||||
|
||||
// Remove currently applied color theme
|
||||
if (fontState.theme !== 0) $book.removeClass(`color-theme-${fontState.theme}`);
|
||||
|
||||
// Set new color theme
|
||||
const themeId = getThemeId(configName);
|
||||
fontState.theme = themeId;
|
||||
if (fontState.theme !== 0) $book.addClass(`color-theme-${fontState.theme}`);
|
||||
|
||||
saveFontSettings();
|
||||
}
|
||||
|
||||
// Return the correct id for a font-family config key
|
||||
// Default to first font-family
|
||||
function getFontFamilyId(configName) {
|
||||
// Search for plugin configured font family
|
||||
const configFamily = $.grep(FAMILIES, (family) => {
|
||||
return family.config == configName;
|
||||
})[0];
|
||||
|
||||
// Fallback to default font family
|
||||
return (configFamily && configFamily.id) || 0;
|
||||
}
|
||||
|
||||
// Return the correct id for a theme config key
|
||||
// Default to first theme
|
||||
function getThemeId(configName) {
|
||||
// Search for plugin configured theme
|
||||
const configTheme = $.grep(THEMES, (theme) => {
|
||||
return theme.config == configName;
|
||||
})[0];
|
||||
|
||||
// Fallback to default theme
|
||||
return (configTheme && configTheme.id) || 0;
|
||||
}
|
||||
|
||||
function update() {
|
||||
const $book = gitbook.state.$book;
|
||||
|
||||
$(".font-settings .font-family-list li").removeClass("active");
|
||||
$(`.font-settings .font-family-list li:nth-child(${fontState.family + 1})`).addClass("active");
|
||||
|
||||
$book[0].className = $book[0].className.replace(/\bfont-\S+/g, "");
|
||||
$book.addClass(`font-size-${fontState.size}`);
|
||||
$book.addClass(`font-family-${fontState.family}`);
|
||||
|
||||
if (fontState.theme !== 0) {
|
||||
$book[0].className = $book[0].className.replace(/\bcolor-theme-\S+/g, "");
|
||||
$book.addClass(`color-theme-${fontState.theme}`);
|
||||
}
|
||||
}
|
||||
|
||||
function init(config) {
|
||||
// Search for plugin configured font family
|
||||
const configFamily = getFontFamilyId(config.family);
|
||||
const configTheme = getThemeId(config.theme);
|
||||
|
||||
// Instantiate font state object
|
||||
fontState = gitbook.storage.get("fontState", {
|
||||
size: config.size || 2,
|
||||
family: configFamily,
|
||||
theme: configTheme
|
||||
});
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
function updateButtons() {
|
||||
// Remove existing fontsettings buttons
|
||||
if (BUTTON_ID) {
|
||||
gitbook.toolbar.removeButton(BUTTON_ID);
|
||||
}
|
||||
|
||||
// Create buttons in toolbar
|
||||
BUTTON_ID = gitbook.toolbar.createButton({
|
||||
icon: "fa fa-font",
|
||||
label: "Font Settings",
|
||||
className: "font-settings",
|
||||
dropdown: [
|
||||
[
|
||||
{
|
||||
text: "A",
|
||||
className: "font-reduce",
|
||||
onClick: reduceFontSize
|
||||
},
|
||||
{
|
||||
text: "A",
|
||||
className: "font-enlarge",
|
||||
onClick: enlargeFontSize
|
||||
}
|
||||
],
|
||||
$.map(FAMILIES, (family) => {
|
||||
family.onClick = function (e) {
|
||||
return changeFontFamily(family.config, e);
|
||||
};
|
||||
|
||||
return family;
|
||||
}),
|
||||
$.map(THEMES, (theme) => {
|
||||
theme.onClick = function (e) {
|
||||
return changeColorTheme(theme.config, e);
|
||||
};
|
||||
|
||||
return theme;
|
||||
})
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
// Init configuration at start
|
||||
gitbook.events.bind("start", (e, config) => {
|
||||
const opts = config.fontsettings;
|
||||
|
||||
// Generate buttons at start
|
||||
updateButtons();
|
||||
|
||||
// Init current settings
|
||||
init(opts);
|
||||
});
|
||||
|
||||
// Expose API
|
||||
gitbook.fontsettings = {
|
||||
enlargeFontSize: enlargeFontSize,
|
||||
reduceFontSize: reduceFontSize,
|
||||
setTheme: changeColorTheme,
|
||||
setFamily: changeFontFamily,
|
||||
getThemes: getThemes,
|
||||
setThemes: setThemes,
|
||||
getFamilies: getFamilies,
|
||||
setFamilies: setFamilies
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1,309 @@
|
||||
/*
|
||||
* Theme 1
|
||||
*/
|
||||
.color-theme-1 .dropdown-menu {
|
||||
background-color: #111;
|
||||
border-color: hsl(194, 5%, 52%);
|
||||
}
|
||||
.color-theme-1 .dropdown-menu .dropdown-caret .caret-inner {
|
||||
border-bottom: 9px solid #111;
|
||||
}
|
||||
.color-theme-1 .dropdown-menu .buttons {
|
||||
border-color: hsl(194, 5%, 52%);
|
||||
}
|
||||
.color-theme-1 .dropdown-menu .button {
|
||||
color: #AFA790;
|
||||
}
|
||||
.color-theme-1 .dropdown-menu .button:hover {
|
||||
color: #73553C;
|
||||
}
|
||||
/*
|
||||
* Theme 2
|
||||
*/
|
||||
.color-theme-2 .dropdown-menu {
|
||||
background-color: hsl(229, 20%, 22%);
|
||||
border-color: hsl(230, 19%, 19%);
|
||||
}
|
||||
.color-theme-2 .dropdown-menu .dropdown-caret .caret-inner {
|
||||
border-bottom: 9px solid hsl(229, 20%, 22%);
|
||||
}
|
||||
.color-theme-2 .dropdown-menu .buttons {
|
||||
border-color: hsl(230, 19%, 19%);
|
||||
}
|
||||
.color-theme-2 .dropdown-menu .button {
|
||||
color: hsl(228, 13%, 44%);
|
||||
}
|
||||
.color-theme-2 .dropdown-menu .button:hover {
|
||||
color: hsl(240, 5%, 96%);
|
||||
}
|
||||
.book .book-header .font-settings .font-enlarge {
|
||||
line-height: 30px;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
.book .book-header .font-settings .font-reduce {
|
||||
line-height: 30px;
|
||||
font-size: 1em;
|
||||
}
|
||||
.book.color-theme-1 .book-body {
|
||||
color: #704214;
|
||||
background: #F3EACB;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section {
|
||||
background: #F3EACB;
|
||||
}
|
||||
.book.color-theme-1 #book-search-input {
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-1 #book-search-results .search-results .has-results .search-results-item {
|
||||
color: #b16820;
|
||||
}
|
||||
.book.color-theme-2 .book-body {
|
||||
color: hsl(214, 29%, 80%);
|
||||
background: hsl(228, 21%, 14%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section {
|
||||
background: hsl(228, 21%, 14%);
|
||||
}
|
||||
.book.color-theme-2 #book-search-input {
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-2 #book-search-results .search-results .has-results .search-results-item {
|
||||
color: hsl(214, 29%, 65%);
|
||||
}
|
||||
.book.font-size-0 .book-body .page-inner section {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.book.font-size-1 .book-body .page-inner section {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.book.font-size-2 .book-body .page-inner section {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
.book.font-size-3 .book-body .page-inner section {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
.book.font-size-4 .book-body .page-inner section {
|
||||
font-size: 4rem;
|
||||
}
|
||||
.book.font-family-0 {
|
||||
font-family: Georgia, serif;
|
||||
}
|
||||
.book.font-family-1 {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
|
||||
color: #704214;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal a {
|
||||
color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h3,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h4,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h5,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
|
||||
color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2 {
|
||||
border-color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
|
||||
color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal hr {
|
||||
background-color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal blockquote {
|
||||
border-color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
|
||||
background: #fdf6e3;
|
||||
color: #657b83;
|
||||
border-color: #f8df9c;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal .highlight {
|
||||
background-color: inherit;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table th,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table td {
|
||||
border-color: #f5d06c;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr {
|
||||
color: inherit;
|
||||
background-color: #fdf6e3;
|
||||
border-color: #444;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
|
||||
background-color: #fbeecb;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
|
||||
color: hsl(214, 29%, 80%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal a {
|
||||
color: hsl(193, 61%, 53%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h3,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h4,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h5,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
|
||||
color: hsl(60, 100%, 99%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2 {
|
||||
border-color: hsl(230, 17%, 26%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
|
||||
color: hsl(230, 17%, 26%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal hr {
|
||||
background-color: hsl(230, 17%, 26%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal blockquote {
|
||||
border-color: hsl(230, 17%, 26%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
|
||||
color: hsl(206, 43%, 73%);
|
||||
background: hsl(229, 20%, 22%);
|
||||
border-color: hsl(229, 20%, 22%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal .highlight {
|
||||
background-color: hsl(233, 18%, 19%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table th,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table td {
|
||||
border-color: hsl(230, 17%, 28%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr {
|
||||
color: hsl(216, 24%, 77%);
|
||||
background-color: hsl(229, 19%, 22%);
|
||||
border-color: hsl(230, 17%, 28%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
|
||||
background-color: hsl(229, 17%, 25%);
|
||||
}
|
||||
.book.color-theme-1 .book-header {
|
||||
color: #AFA790;
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-1 .book-header .btn {
|
||||
color: #AFA790;
|
||||
}
|
||||
.book.color-theme-1 .book-header .btn:hover {
|
||||
color: #73553C;
|
||||
background: none;
|
||||
}
|
||||
.book.color-theme-1 .book-header h1 {
|
||||
color: #704214;
|
||||
}
|
||||
.book.color-theme-2 .book-header {
|
||||
color: #7e888b;
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-2 .book-header .btn {
|
||||
color: hsl(230, 17%, 28%);
|
||||
}
|
||||
.book.color-theme-2 .book-header .btn:hover {
|
||||
color: hsl(60, 100%, 98%);
|
||||
background: none;
|
||||
}
|
||||
.book.color-theme-2 .book-header h1 {
|
||||
color: hsl(214, 29%, 80%);
|
||||
}
|
||||
.book.color-theme-1 .book-body .navigation {
|
||||
color: #AFA790;
|
||||
}
|
||||
.book.color-theme-1 .book-body .navigation:hover {
|
||||
color: #73553C;
|
||||
}
|
||||
.book.color-theme-2 .book-body .navigation {
|
||||
color: hsl(224, 19%, 27%);
|
||||
}
|
||||
.book.color-theme-2 .book-body .navigation:hover {
|
||||
color: hsl(60, 100%, 98%);
|
||||
}
|
||||
/*
|
||||
* Theme 1
|
||||
*/
|
||||
.book.color-theme-1 .book-summary {
|
||||
color: #AFA790;
|
||||
background: #111;
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.07);
|
||||
}
|
||||
.book.color-theme-1 .book-summary .book-search,
|
||||
.book.color-theme-1 .book-summary #book-search-input {
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-1 .book-summary .book-search input,
|
||||
.book.color-theme-1 .book-summary #book-search-input input,
|
||||
.book.color-theme-1 .book-summary .book-search input:focus,
|
||||
.book.color-theme-1 .book-summary #book-search-input input:focus {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.book.color-theme-1 .book-summary ul.summary li.divider {
|
||||
background: hsl(194, 5%, 52%);
|
||||
box-shadow: none;
|
||||
}
|
||||
.book.color-theme-1 .book-summary ul.summary li i.fa-check {
|
||||
color: hsl(120, 60%, 50%);
|
||||
}
|
||||
.book.color-theme-1 .book-summary ul.summary li.done > a {
|
||||
color: #877F6A;
|
||||
}
|
||||
.book.color-theme-1 .book-summary ul.summary li a,
|
||||
.book.color-theme-1 .book-summary ul.summary li span {
|
||||
color: #877F6A;
|
||||
background: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
.book.color-theme-1 .book-summary ul.summary li.active > a,
|
||||
.book.color-theme-1 .book-summary ul.summary li a:hover {
|
||||
color: #704214;
|
||||
background: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
/*
|
||||
* Theme 2
|
||||
*/
|
||||
.book.color-theme-2 .book-summary {
|
||||
color: hsl(226, 20%, 78%);
|
||||
background: hsl(229, 20%, 22%);
|
||||
border-right: none;
|
||||
}
|
||||
.book.color-theme-2 .book-summary .book-search,
|
||||
.book.color-theme-2 .book-summary #book-search-input {
|
||||
background: transparent;
|
||||
}
|
||||
.book.color-theme-2 .book-summary .book-search input,
|
||||
.book.color-theme-2 .book-summary #book-search-input input,
|
||||
.book.color-theme-2 .book-summary .book-search input:focus,
|
||||
.book.color-theme-2 .book-summary #book-search-input input:focus {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.book.color-theme-2 .book-summary ul.summary li.divider {
|
||||
background: hsl(230, 19%, 19%);
|
||||
box-shadow: none;
|
||||
}
|
||||
.book.color-theme-2 .book-summary ul.summary li i.fa-check {
|
||||
color: hsl(120, 60%, 50%);
|
||||
}
|
||||
.book.color-theme-2 .book-summary ul.summary li.done > a {
|
||||
color: hsl(227, 13%, 44%);
|
||||
}
|
||||
.book.color-theme-2 .book-summary ul.summary li a,
|
||||
.book.color-theme-2 .book-summary ul.summary li span {
|
||||
color: hsl(226, 22%, 80%);
|
||||
background: transparent;
|
||||
font-weight: 600;
|
||||
}
|
||||
.book.color-theme-2 .book-summary ul.summary li.active > a,
|
||||
.book.color-theme-2 .book-summary ul.summary li a:hover {
|
||||
color: hsl(240, 5%, 96%);
|
||||
background: hsl(233, 19%, 18%);
|
||||
font-weight: 600;
|
||||
}
|
||||
215
book/_book/gitbook/@honkit/honkit-plugin-highlight/ebook.css
Normal file
215
book/_book/gitbook/@honkit/honkit-plugin-highlight/ebook.css
Normal file
@@ -0,0 +1,215 @@
|
||||
pre,
|
||||
code {
|
||||
/* From highlight.js@11.10.0/styles/tomorrow.css */
|
||||
/*!
|
||||
Theme: Tomorrow
|
||||
Author: Chris Kempson (http://chriskempson.com)
|
||||
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
||||
Maintainer: @highlightjs/core-team
|
||||
Version: 2021.09.0
|
||||
*/
|
||||
/*
|
||||
WARNING: DO NOT EDIT THIS FILE DIRECTLY.
|
||||
|
||||
This theme file was auto-generated from the Base16 scheme tomorrow
|
||||
by the Highlight.js Base16 template builder.
|
||||
|
||||
- https://github.com/highlightjs/base16-highlightjs
|
||||
*/
|
||||
/*
|
||||
base00 #ffffff Default Background
|
||||
base01 #e0e0e0 Lighter Background (Used for status bars, line number and folding marks)
|
||||
base02 #d6d6d6 Selection Background
|
||||
base03 #8e908c Comments, Invisibles, Line Highlighting
|
||||
base04 #969896 Dark Foreground (Used for status bars)
|
||||
base05 #4d4d4c Default Foreground, Caret, Delimiters, Operators
|
||||
base06 #282a2e Light Foreground (Not often used)
|
||||
base07 #1d1f21 Light Background (Not often used)
|
||||
base08 #c82829 Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||
base09 #f5871f Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||
base0A #eab700 Classes, Markup Bold, Search Text Background
|
||||
base0B #718c00 Strings, Inherited Class, Markup Code, Diff Inserted
|
||||
base0C #3e999f Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||
base0D #4271ae Functions, Methods, Attribute IDs, Headings
|
||||
base0E #8959a8 Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||
base0F #a3685a Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||
*/
|
||||
/* purposely do not highlight these things */
|
||||
/* base03 - #8e908c - Comments, Invisibles, Line Highlighting */
|
||||
/* base04 - #969896 - Dark Foreground (Used for status bars) */
|
||||
/* base05 - #4d4d4c - Default Foreground, Caret, Delimiters, Operators */
|
||||
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
|
||||
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
|
||||
/* base0A - Classes, Markup Bold, Search Text Background */
|
||||
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
|
||||
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
|
||||
/* guessing */
|
||||
/* base0D - Functions, Methods, Attribute IDs, Headings */
|
||||
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
|
||||
/* .hljs-selector-id, */
|
||||
/* .hljs-selector-class, */
|
||||
/* .hljs-selector-attr, */
|
||||
/* .hljs-selector-pseudo, */
|
||||
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
|
||||
/*
|
||||
prevent top level .keyword and .string scopes
|
||||
from leaking into meta by accident
|
||||
*/
|
||||
/* for v10 compatible themes */
|
||||
}
|
||||
pre pre code.hljs,
|
||||
code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
pre code.hljs,
|
||||
code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
pre pre code.hljs,
|
||||
code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
pre code.hljs,
|
||||
code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
pre .hljs,
|
||||
code .hljs {
|
||||
color: #4d4d4c;
|
||||
background: #ffffff;
|
||||
}
|
||||
pre .hljs::selection,
|
||||
code .hljs::selection,
|
||||
pre .hljs ::selection,
|
||||
code .hljs ::selection {
|
||||
background-color: #d6d6d6;
|
||||
color: #4d4d4c;
|
||||
}
|
||||
pre .hljs-comment,
|
||||
code .hljs-comment {
|
||||
color: #8e908c;
|
||||
}
|
||||
pre .hljs-tag,
|
||||
code .hljs-tag {
|
||||
color: #969896;
|
||||
}
|
||||
pre .hljs-subst,
|
||||
code .hljs-subst,
|
||||
pre .hljs-punctuation,
|
||||
code .hljs-punctuation,
|
||||
pre .hljs-operator,
|
||||
code .hljs-operator {
|
||||
color: #4d4d4c;
|
||||
}
|
||||
pre .hljs-operator,
|
||||
code .hljs-operator {
|
||||
opacity: 0.7;
|
||||
}
|
||||
pre .hljs-bullet,
|
||||
code .hljs-bullet,
|
||||
pre .hljs-variable,
|
||||
code .hljs-variable,
|
||||
pre .hljs-template-variable,
|
||||
code .hljs-template-variable,
|
||||
pre .hljs-selector-tag,
|
||||
code .hljs-selector-tag,
|
||||
pre .hljs-name,
|
||||
code .hljs-name,
|
||||
pre .hljs-deletion,
|
||||
code .hljs-deletion {
|
||||
color: #c82829;
|
||||
}
|
||||
pre .hljs-symbol,
|
||||
code .hljs-symbol,
|
||||
pre .hljs-number,
|
||||
code .hljs-number,
|
||||
pre .hljs-link,
|
||||
code .hljs-link,
|
||||
pre .hljs-attr,
|
||||
code .hljs-attr,
|
||||
pre .hljs-variable.constant_,
|
||||
code .hljs-variable.constant_,
|
||||
pre .hljs-literal,
|
||||
code .hljs-literal {
|
||||
color: #f5871f;
|
||||
}
|
||||
pre .hljs-title,
|
||||
code .hljs-title,
|
||||
pre .hljs-class .hljs-title,
|
||||
code .hljs-class .hljs-title,
|
||||
pre .hljs-title.class_,
|
||||
code .hljs-title.class_ {
|
||||
color: #eab700;
|
||||
}
|
||||
pre .hljs-strong,
|
||||
code .hljs-strong {
|
||||
font-weight: bold;
|
||||
color: #eab700;
|
||||
}
|
||||
pre .hljs-code,
|
||||
code .hljs-code,
|
||||
pre .hljs-addition,
|
||||
code .hljs-addition,
|
||||
pre .hljs-title.class_.inherited__,
|
||||
code .hljs-title.class_.inherited__,
|
||||
pre .hljs-string,
|
||||
code .hljs-string {
|
||||
color: #718c00;
|
||||
}
|
||||
pre .hljs-built_in,
|
||||
code .hljs-built_in,
|
||||
pre .hljs-doctag,
|
||||
code .hljs-doctag,
|
||||
pre .hljs-quote,
|
||||
code .hljs-quote,
|
||||
pre .hljs-keyword.hljs-atrule,
|
||||
code .hljs-keyword.hljs-atrule,
|
||||
pre .hljs-regexp,
|
||||
code .hljs-regexp {
|
||||
color: #3e999f;
|
||||
}
|
||||
pre .hljs-function .hljs-title,
|
||||
code .hljs-function .hljs-title,
|
||||
pre .hljs-attribute,
|
||||
code .hljs-attribute,
|
||||
pre .ruby .hljs-property,
|
||||
code .ruby .hljs-property,
|
||||
pre .hljs-title.function_,
|
||||
code .hljs-title.function_,
|
||||
pre .hljs-section,
|
||||
code .hljs-section {
|
||||
color: #4271ae;
|
||||
}
|
||||
pre .hljs-type,
|
||||
code .hljs-type,
|
||||
pre .hljs-template-tag,
|
||||
code .hljs-template-tag,
|
||||
pre .diff .hljs-meta,
|
||||
code .diff .hljs-meta,
|
||||
pre .hljs-keyword,
|
||||
code .hljs-keyword {
|
||||
color: #8959a8;
|
||||
}
|
||||
pre .hljs-emphasis,
|
||||
code .hljs-emphasis {
|
||||
color: #8959a8;
|
||||
font-style: italic;
|
||||
}
|
||||
pre .hljs-meta,
|
||||
code .hljs-meta,
|
||||
pre .hljs-meta .hljs-keyword,
|
||||
code .hljs-meta .hljs-keyword,
|
||||
pre .hljs-meta .hljs-string,
|
||||
code .hljs-meta .hljs-string {
|
||||
color: #a3685a;
|
||||
}
|
||||
pre .hljs-meta .hljs-keyword,
|
||||
code .hljs-meta .hljs-keyword,
|
||||
pre .hljs-meta-keyword,
|
||||
code .hljs-meta-keyword {
|
||||
font-weight: bold;
|
||||
}
|
||||
533
book/_book/gitbook/@honkit/honkit-plugin-highlight/website.css
Normal file
533
book/_book/gitbook/@honkit/honkit-plugin-highlight/website.css
Normal file
@@ -0,0 +1,533 @@
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code {
|
||||
/* From highlight.js@11.10.0/styles/tomorrow.css */
|
||||
/*!
|
||||
Theme: Tomorrow
|
||||
Author: Chris Kempson (http://chriskempson.com)
|
||||
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
||||
Maintainer: @highlightjs/core-team
|
||||
Version: 2021.09.0
|
||||
*/
|
||||
/*
|
||||
WARNING: DO NOT EDIT THIS FILE DIRECTLY.
|
||||
|
||||
This theme file was auto-generated from the Base16 scheme tomorrow
|
||||
by the Highlight.js Base16 template builder.
|
||||
|
||||
- https://github.com/highlightjs/base16-highlightjs
|
||||
*/
|
||||
/*
|
||||
base00 #ffffff Default Background
|
||||
base01 #e0e0e0 Lighter Background (Used for status bars, line number and folding marks)
|
||||
base02 #d6d6d6 Selection Background
|
||||
base03 #8e908c Comments, Invisibles, Line Highlighting
|
||||
base04 #969896 Dark Foreground (Used for status bars)
|
||||
base05 #4d4d4c Default Foreground, Caret, Delimiters, Operators
|
||||
base06 #282a2e Light Foreground (Not often used)
|
||||
base07 #1d1f21 Light Background (Not often used)
|
||||
base08 #c82829 Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||
base09 #f5871f Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||
base0A #eab700 Classes, Markup Bold, Search Text Background
|
||||
base0B #718c00 Strings, Inherited Class, Markup Code, Diff Inserted
|
||||
base0C #3e999f Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||
base0D #4271ae Functions, Methods, Attribute IDs, Headings
|
||||
base0E #8959a8 Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||
base0F #a3685a Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||
*/
|
||||
/* purposely do not highlight these things */
|
||||
/* base03 - #8e908c - Comments, Invisibles, Line Highlighting */
|
||||
/* base04 - #969896 - Dark Foreground (Used for status bars) */
|
||||
/* base05 - #4d4d4c - Default Foreground, Caret, Delimiters, Operators */
|
||||
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
|
||||
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
|
||||
/* base0A - Classes, Markup Bold, Search Text Background */
|
||||
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
|
||||
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
|
||||
/* guessing */
|
||||
/* base0D - Functions, Methods, Attribute IDs, Headings */
|
||||
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
|
||||
/* .hljs-selector-id, */
|
||||
/* .hljs-selector-class, */
|
||||
/* .hljs-selector-attr, */
|
||||
/* .hljs-selector-pseudo, */
|
||||
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
|
||||
/*
|
||||
prevent top level .keyword and .string scopes
|
||||
from leaking into meta by accident
|
||||
*/
|
||||
/* for v10 compatible themes */
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre pre code.hljs,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre code.hljs,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre pre code.hljs,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre code.hljs,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs {
|
||||
color: #4d4d4c;
|
||||
background: #ffffff;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs::selection,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs::selection,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs ::selection,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs ::selection {
|
||||
background-color: #d6d6d6;
|
||||
color: #4d4d4c;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-comment {
|
||||
color: #8e908c;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-tag {
|
||||
color: #969896;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-subst,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-subst,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-punctuation,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-punctuation,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-operator,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-operator {
|
||||
color: #4d4d4c;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-operator,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-operator {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-bullet,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-bullet,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-template-variable,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-template-variable,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-selector-tag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-selector-tag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-name,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-name,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-deletion {
|
||||
color: #c82829;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-symbol,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-link,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-link,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-attr,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-attr,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-variable.constant_,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-variable.constant_,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-literal {
|
||||
color: #f5871f;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-class .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-class .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title.class_,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-title.class_ {
|
||||
color: #eab700;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-strong,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-strong {
|
||||
font-weight: bold;
|
||||
color: #eab700;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-code,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-code,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title.class_.inherited__,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-title.class_.inherited__,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-string {
|
||||
color: #718c00;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-doctag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-doctag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-quote,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-quote,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword.hljs-atrule,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-keyword.hljs-atrule,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-regexp {
|
||||
color: #3e999f;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-function .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-function .hljs-title,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-property,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-property,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title.function_,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-title.function_,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-section,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-section {
|
||||
color: #4271ae;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-type,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-type,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-template-tag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-template-tag,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-meta,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .diff .hljs-meta,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-keyword {
|
||||
color: #8959a8;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-emphasis,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-emphasis {
|
||||
color: #8959a8;
|
||||
font-style: italic;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-meta,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-meta,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-string,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-string {
|
||||
color: #a3685a;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-meta-keyword,
|
||||
.book .book-body .page-wrapper .page-inner section.normal code .hljs-meta-keyword {
|
||||
font-weight: bold;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
|
||||
/* From highlight.js@11.10.0/styles/solarized-light.css */
|
||||
/*!
|
||||
Theme: Solarized Light
|
||||
Author: Ethan Schoonover (modified by aramisgithub)
|
||||
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
||||
Maintainer: @highlightjs/core-team
|
||||
Version: 2021.09.0
|
||||
*/
|
||||
/*
|
||||
WARNING: DO NOT EDIT THIS FILE DIRECTLY.
|
||||
|
||||
This theme file was auto-generated from the Base16 scheme solarized-light
|
||||
by the Highlight.js Base16 template builder.
|
||||
|
||||
- https://github.com/highlightjs/base16-highlightjs
|
||||
*/
|
||||
/*
|
||||
base00 #fdf6e3 Default Background
|
||||
base01 #eee8d5 Lighter Background (Used for status bars, line number and folding marks)
|
||||
base02 #93a1a1 Selection Background
|
||||
base03 #839496 Comments, Invisibles, Line Highlighting
|
||||
base04 #657b83 Dark Foreground (Used for status bars)
|
||||
base05 #586e75 Default Foreground, Caret, Delimiters, Operators
|
||||
base06 #073642 Light Foreground (Not often used)
|
||||
base07 #002b36 Light Background (Not often used)
|
||||
base08 #dc322f Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||
base09 #cb4b16 Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||
base0A #b58900 Classes, Markup Bold, Search Text Background
|
||||
base0B #859900 Strings, Inherited Class, Markup Code, Diff Inserted
|
||||
base0C #2aa198 Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||
base0D #268bd2 Functions, Methods, Attribute IDs, Headings
|
||||
base0E #6c71c4 Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||
base0F #d33682 Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||
*/
|
||||
/* purposely do not highlight these things */
|
||||
/* base03 - #839496 - Comments, Invisibles, Line Highlighting */
|
||||
/* base04 - #657b83 - Dark Foreground (Used for status bars) */
|
||||
/* base05 - #586e75 - Default Foreground, Caret, Delimiters, Operators */
|
||||
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
|
||||
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
|
||||
/* base0A - Classes, Markup Bold, Search Text Background */
|
||||
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
|
||||
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
|
||||
/* guessing */
|
||||
/* base0D - Functions, Methods, Attribute IDs, Headings */
|
||||
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
|
||||
/* .hljs-selector-id, */
|
||||
/* .hljs-selector-class, */
|
||||
/* .hljs-selector-attr, */
|
||||
/* .hljs-selector-pseudo, */
|
||||
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
|
||||
/*
|
||||
prevent top level .keyword and .string scopes
|
||||
from leaking into meta by accident
|
||||
*/
|
||||
/* for v10 compatible themes */
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre pre code.hljs,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre code.hljs,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre pre code.hljs,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre code.hljs,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs {
|
||||
color: #586e75;
|
||||
background: #fdf6e3;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs::selection,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs::selection,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs ::selection,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs ::selection {
|
||||
background-color: #93a1a1;
|
||||
color: #586e75;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-comment {
|
||||
color: #839496;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-tag {
|
||||
color: #657b83;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-subst,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-subst,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-punctuation,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-punctuation,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-operator,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-operator {
|
||||
color: #586e75;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-operator,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-operator {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-bullet,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-bullet,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-template-variable,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-template-variable,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-selector-tag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-selector-tag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-name,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-name,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion {
|
||||
color: #dc322f;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attr,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attr,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable.constant_,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-variable.constant_,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-literal {
|
||||
color: #cb4b16;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-class .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-class .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title.class_,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title.class_ {
|
||||
color: #b58900;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-strong,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-strong {
|
||||
font-weight: bold;
|
||||
color: #b58900;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-code,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-code,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title.class_.inherited__,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title.class_.inherited__,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-string {
|
||||
color: #859900;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-doctag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-doctag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-quote,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-quote,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword.hljs-atrule,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword.hljs-atrule,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp {
|
||||
color: #2aa198;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-function .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-function .hljs-title,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-property,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-property,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title.function_,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title.function_,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-section,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-section {
|
||||
color: #268bd2;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-type,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-type,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-template-tag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-template-tag,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-meta,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-meta,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword {
|
||||
color: #6c71c4;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-emphasis,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-emphasis {
|
||||
color: #6c71c4;
|
||||
font-style: italic;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-meta,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-string,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-string {
|
||||
color: #d33682;
|
||||
}
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta .hljs-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-meta .hljs-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta-keyword,
|
||||
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-meta-keyword {
|
||||
font-weight: bold;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
|
||||
/* From highlight.js@11.10.0/styles/tomorrow-night-bright.css */
|
||||
/* Tomorrow Night Bright Theme */
|
||||
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
||||
/* Tomorrow Comment */
|
||||
/* Tomorrow Red */
|
||||
/* Tomorrow Orange */
|
||||
/* Tomorrow Yellow */
|
||||
/* Tomorrow Green */
|
||||
/* Tomorrow Blue */
|
||||
/* Tomorrow Purple */
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre pre code.hljs,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre code.hljs,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-quote,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-quote {
|
||||
color: #969896;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-template-variable,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-template-variable,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-tag,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-name,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-name,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-selector-id,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-selector-id,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-selector-class,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-selector-class,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion {
|
||||
color: #d54e53;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-literal,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-type,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-type,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-params,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-params,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-meta,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-meta,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-link,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-link {
|
||||
color: #e78c45;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute {
|
||||
color: #e7c547;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-string,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-bullet,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-bullet,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-addition {
|
||||
color: #b9ca4a;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-title,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-section,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-section {
|
||||
color: #7aa6da;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-selector-tag,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-selector-tag {
|
||||
color: #c397d8;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs {
|
||||
background: black;
|
||||
color: #eaeaea;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-emphasis,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-strong,
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user