Revise style of content footer and blockquote

This commit is contained in:
Ryan Watters committed 2017-02-15 16:05:57 -06:00
1 parent 5851f4b6a1
commit 658b7fc098
38 files changed
+470 -307

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ notes:
{{% note %}} {{% note %}}
Hugo v0.15 and later are released under the Apache 2.0 license. Hugo v0.15 and later are released under the Apache 2.0 license.
Earlier releases were under the Simple Public License. Earlier version of Hugo were released under the Simple Public License.
{{% /note %}} {{% /note %}}
_Version 2.0, January 2004_ <br> _Version 2.0, January 2004_ <br>
+2 -2
View File
@@ -1,6 +1,6 @@
--- ---
title: "Overview" title: "Content Management: Overview"
linktitle: "Overview" linktitle: "Content Management: Overview"
description: Content organization, summaries, archetypes, front matter, and supported formats. description: Content organization, summaries, archetypes, front matter, and supported formats.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
@@ -17,9 +17,9 @@ notes:
Markdown is the natively supported content format for Hugo and is rendered using the excellent [BlackFriday project][], a markdown parser written in Golang. Markdown is the natively supported content format for Hugo and is rendered using the excellent [BlackFriday project][], a markdown parser written in Golang.
{{% caution "Deeply Nested Lists" %}} {{% note "Deeply Nested Lists" %}}
Hugo uses [BlackFriday](https://github.com/russross/blackfriday), a markdown processor written in Go. A known issue [(#329)](https://github.com/russross/blackfriday/issues/329) in BlackFriday is the handling of deeply nested lists, but there is a workaround. If you write lists in markdown, be sure to include 4 spaces (i.e., <kbd>tab</kbd>) rather than 2 to delimit nesting of lists. Hugo uses [BlackFriday](https://github.com/russross/blackfriday), a markdown processor written in Golang. BlackFriday has a known issues [(#329)](https://github.com/russross/blackfriday/issues/329) with handling deeply nested lists, but there is a workaround. If you write lists in markdown, be sure to include 4 spaces (i.e., <kbd>tab</kbd>) rather than 2 to delimit nesting of lists.
{{% /caution %}} {{% /note %}}
## Additional Resources ## Additional Resources
+4 -2
View File
@@ -5,11 +5,13 @@ description:
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [taxonomies,terms] tags: [taxonomies,metadata,front matter,terms]
categories: [content] categories: [content]
weight: 60 weight: 60
draft: false draft: false
slug: slug:
aliases: [/taxonomies/overview/,/taxonomies/usage/] aliases: [/taxonomies/overview/,/taxonomies/usage/]
notes: notes:
--- ---
## Configuring Taxonomies
+2 -2
View File
@@ -1,6 +1,6 @@
--- ---
title: Using the Docs title: "Getting Started: Using the Docs"
linktitle: Using the Docs linktitle: "Getting Started: Using the Docs"
description: Quick start and guides for installing Hugo on your preferred operating system. description: Quick start and guides for installing Hugo on your preferred operating system.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
+2 -2
View File
@@ -1,6 +1,6 @@
--- ---
title: Overview title: "Project Organization: New Sites"
linktitle: linktitle: "Project Organization: New Sites"
description: Scaffolding new projects, configuration, and source organization. description: Scaffolding new projects, configuration, and source organization.
date: 2016-11-01 date: 2016-11-01
publishdate: 2016-11-01 publishdate: 2016-11-01
+14 -13
View File
@@ -22,21 +22,21 @@ followed by a `./config.json` file.
In this `config` file, you can include precise directions to Hugo regarding how it should render your website, control your website's menus, and arbitrarily define site-wide parameters specific to your project. In this `config` file, you can include precise directions to Hugo regarding how it should render your website, control your website's menus, and arbitrarily define site-wide parameters specific to your project.
## Configuration in YAML ## YAML Configuration
The following is a typical example of a YAML configuration file. Note the document opens with 3 hyphens and closes with 3 periods. The values nested under `params:` will populate the [`.Site.Params`][] variable for use in [templates][]: The following is a typical example of a YAML configuration file. Note the document opens with 3 hyphens and closes with 3 periods. The values nested under `params:` will populate the [`.Site.Params`][] variable for use in [templates][]:
{{% input "config.yml" %}} {{% input "config.yml" %}}
```yaml ```yaml
--- ---
baseURL: "http://yoursite.example.com/" baseURL: "https://yoursite.example.com/"
title: "Yoyodyne Widget Blogging" title: "My Hugo Site"
footnoteReturnLinkContents: "↩" footnoteReturnLinkContents: "↩"
permalinks: permalinks:
post: /:year/:month/:title/ post: /:year/:month/:title/
params: params:
Subtitle: "Spinning the cogs in the widgets" Subtitle: "Hugo is Absurdly Fast!"
AuthorName: "John Doe" AuthorName: "Jon Doe"
GitHubUser: "spf13" GitHubUser: "spf13"
ListOfFoo: ListOfFoo:
- "foo1" - "foo1"
@@ -46,7 +46,7 @@ params:
``` ```
{{% /input %}} {{% /input %}}
## Configuration in TOML ## TOML Configuration
The following is an example of a TOML configuration file. The values under `[params]` will populate the `.Site.Params` variable for use in [templates][]: The following is an example of a TOML configuration file. The values under `[params]` will populate the `.Site.Params` variable for use in [templates][]:
@@ -55,21 +55,22 @@ contentDir = "content"
layoutDir = "layouts" layoutDir = "layouts"
publishDir = "public" publishDir = "public"
buildDrafts = false buildDrafts = false
baseURL = "http://yoursite.example.com/" baseURL = "https://yoursite.example.com/"
canonifyURLs = true canonifyURLs = true
title = "My Hugo Site"
[taxonomies] [taxonomies]
category = "categories" category = "categories"
tag = "tags" tag = "tags"
[params] [params]
description = "Tesla's Awesome Hugo Site" subtitle = "Hugo is Absurdly Fast!"
author = "Nikola Tesla" author = "John Doe"
``` ```
## All Configuration Variables, YAML ## All Variables, YAML
The following is the full list of Hugo-defined variables in a example YAML file. The values provided in this example represent the default values used by Hugo if not otherwise specified. The following is the full list of Hugo-defined variables in an example YAML file. The values provided in this example represent the default values used by Hugo.
{{% input "config.yml" %}} {{% input "config.yml" %}}
```yaml ```yaml
@@ -180,9 +181,9 @@ taxonomies:
``` ```
{{% /input %}} {{% /input %}}
## All Configuration Variables, TOML ## All Variables, TOML
The following is the full list of Hugo-defined variables in a example YAML file. The values provided in this example represent the default values used by Hugo if not otherwise specified. The following is the full list of Hugo-defined variables in an example TOML file. The values provided in this example represent the default values used by Hugo.
{{% input "config.toml" %}} {{% input "config.toml" %}}
```toml ```toml
+2 -2
View File
@@ -1,6 +1,6 @@
--- ---
title: Overview title: "Overview: Template Types"
linktitle: Overview linktitle: "Overview: Template Types"
description: Golang templating, template types and lookup order, shortcodes, and data. description: Golang templating, template types and lookup order, shortcodes, and data.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
+3 -1
View File
@@ -11,4 +11,6 @@ draft: false
slug: slug:
aliases: aliases:
notes: notes:
--- ---
> Without the fear of falling, there is no joy in flight. - [Ryan Watters](https://www.google.com)
+1 -1
View File
@@ -6,7 +6,7 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
weight: weight:
tags: [] tags: [amber,layout]
draft: false draft: false
slug: slug:
aliases: aliases:
@@ -9,7 +9,7 @@ weight:
tags: [lists,sections] tags: [lists,sections]
draft: false draft: false
slug: slug:
aliases:[/templates/list/] aliases: [/templates/list/]
notes: notes:
--- ---
+5 -2
View File
@@ -6,9 +6,12 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
weight: weight:
tags: [taxonomies] categories: []
tags: [taxonomies,metadata,front matter,terms]
draft: false draft: false
slug: slug:
aliases: [] aliases: []
notes: notes:
--- ---
## Configuring Taxonomies
@@ -1,14 +0,0 @@
---
title: Template Types and Kinds
linktitle: Template Types and Kinds
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
tags: []
draft: false
slug:
aliases:
notes:
---
Binary file not shown.
+4 -10
View File
@@ -2,21 +2,15 @@
{{$title := .Title}} {{$title := .Title}}
<main class="main"> <main class="main">
<header class="content-header"> <header class="content-header">
{{partial "breadcrumb.html" . }}
<h1 class="page-title"><img src="{{.Site.BaseURL}}images/{{.Section}}.svg" alt="Icon for the {{.Section}} section.">{{with .LinkTitle}}{{ . |markdownify}}{{else}}{{ .Title | markdownify }}{{end}}</h1> <h1 class="page-title"><img src="{{.Site.BaseURL}}images/{{.Section}}.svg" alt="Icon for the {{.Section}} section.">{{with .LinkTitle}}{{ . |markdownify}}{{else}}{{ .Title | markdownify }}{{end}}</h1>
{{partial "content-header-links.html" . }} {{partial "content-header-links.html" . }}
{{with .Params.tags}} {{partial "tags.html" . }}
<ul class="tags">
<li><i class="icon-tags"></i></li>
{{range .}}
<li><a class="tag" href="/tags/{{.|urlize}}">{{.}}</a></li>
{{end}}
</ul>
{{end}}
<span class="last-modified">Last Updated: {{with .Lastmod}}{{.Format "January 2, 2006"}}{{else}}{{.PublishDate.Format "January 2, 2006"}}{{end}}</span>
</header> </header>
<div class="body-copy"> <div class="body-copy">
{{.Content}} {{.Content}}
</div> </div>
{{partial "previous-and-next-links.html" . }} {{partial "content-footer.html" . }}
{{partial "table-of-contents.html" . }}
</main> </main>
{{ end }} {{ end }}
+3 -16
View File
@@ -3,28 +3,15 @@
<span id="page-top"></span> <span id="page-top"></span>
<main class="main"> <main class="main">
<header class="content-header"> <header class="content-header">
<div class="content-section-image-wrapper"> {{partial "breadcrumb.html" . }}
<a href="{{.Site.BaseURL}}{{.Section | urlize}}">
<img src="{{.Site.BaseURL}}images/{{.Section | urlize}}.svg" alt="">
<span>{{replace (replace .Section "-" " " | title) "And" "and"}}</span>
</a>
</div>
<h1 class="page-title {{.Section}}">{{ .Title | markdownify }}</h1> <h1 class="page-title {{.Section}}">{{ .Title | markdownify }}</h1>
{{partial "content-header-links.html" . }} {{partial "content-header-links.html" . }}
{{with .Params.tags}} {{partial "tags.html" . }}
<ul class="tags">
<li><i class="icon-tags"></i></li>
{{range .}}
<li><a class="tag" href="/tags/{{.|urlize}}">{{.}}</a></li>
{{end}}
</ul>
{{end}}
<span class="last-modified">Last Updated: {{with .Lastmod}}{{.Format "January 2, 2006"}}{{else}}{{.PublishDate.Format "January 2, 2006"}}{{end}}</span>
</header> </header>
<div class="body-copy"> <div class="body-copy">
{{.Content}} {{.Content}}
</div> </div>
{{partial "previous-and-next-links.html" . }} {{partial "content-footer.html" . }}
{{partial "table-of-contents.html" . }} {{partial "table-of-contents.html" . }}
</main> </main>
{{ end }} {{ end }}
@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<main class="main"> <main class="main">
<header class="content-header"> <header class="content-header">
<h1 class="page-title"><a href="{{.Site.BaseURL}}{{.Data.Plural}}"><i class="icon-{{.Data.Plural}}"></i>{{.Data.Plural}}:</a> {{ .Title }}</h1> <h1 class="page-title"><a href="{{.Site.BaseURL}}{{.Data.Plural}}"><i class="icon-{{.Data.Plural}}"></i>{{.Data.Plural}}:</a>&nbsp;{{ .Title }}</h1>
</header> </header>
<div class="body-copy taxonomies"> <div class="body-copy taxonomies">
{{range .Data.Pages}} {{range .Data.Pages}}
@@ -0,0 +1,18 @@
<nav class="breadcrumb">
<ul class="breadcrumbs">
<li>
<a class="crumb" href="{{.Site.BaseURL}}">
<img src="{{.Site.BaseURL}}images/hugo-home.svg" alt="">
<span>Home</span>
</a>
</li>
{{if ne .Kind "section"}}
<li>
<a class="crumb" href="{{.Site.BaseURL}}{{.Section | urlize}}">
<img src="{{.Site.BaseURL}}images/{{.Section | urlize}}.svg" alt="">
<span>{{replace (replace .Section "-" " " | title) "And" "and"}}</span>
</a>
</li>
{{end}}
</ul>
</nav>
@@ -0,0 +1,34 @@
<footer id="content-footer">
{{ if .NextInSection }}
<a href="{{.NextInSection.Permalink}}" data-tooltip="{{.Section}}: {{.NextInSection.Title}}" class="tooltip prev-and-next-link prev-page">
<div>
<span><i class="fa fa-chevron-left"></i> Previous</span>
</div>
</a>
{{ else if eq .Kind "page" }}
{{ with .Site.GetPage "section" .Section }}
<a href="{{.Permalink}}" data-tooltip="{{.Section}}: {{.Title}}" class="tooltip prev-and-next-link prev-page">
<div>
<span><i class="fa fa-chevron-left"></i> Previous</span>
</div>
</a>
{{ end }}
{{ end }}
<span class="last-modified">Last Updated: {{with .Lastmod}}{{.Format "2006-01-02"}}{{else}}{{.PublishDate.Format "2006-01-02"}}{{end}}</span>
{{ with .PrevInSection }}
<a href="{{.Permalink}}" data-tooltip="{{.Section}}: {{.Title}}" class="tooltip prev-and-next-link next-page">
<div>
<span>Next <i class="fa fa-chevron-right"></i></span>
</div>
</a>
{{ end }}
{{if eq .Kind "section"}}
{{ range first 1 .Data.Pages }}
<a href="{{.Permalink}}" data-tooltip="{{.Section}}: {{.Title}}" class="tooltip prev-and-next-link next-page">
<div>
<span>Next <i class="fa fa-chevron-right"></i></span>
</div>
</a>
{{end}}
{{end}}
</footer>
@@ -1,2 +1,4 @@
<link rel="stylesheet" href="/css/style.min.css"> <link rel="stylesheet" href="/css/style.min.css">
<!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> --> {{if .Site.Params.usefontawesome}}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
{{end}}
@@ -1,35 +0,0 @@
{{ if .NextInSection }}
<a role="button" href="{{.NextInSection.Permalink}}" class="prev-and-next-link prev-page">
<div>
<span>Previous</span>
<h4 class="{{.Section}}">{{.NextInSection.Title}}</h4>
</div>
</a>
{{ else if eq .Kind "page" }}
{{ with .Site.GetPage "section" .Section }}
<a role="button" href="{{.Permalink}}" class="prev-and-next-link prev-page">
<div>
<span>Previous</span>
<h4>{{ .Title }}</h4>
</div>
</a>
{{ end }}
{{ end }}
{{ with .PrevInSection }}
<a role="button" href="{{.Permalink}}" class="prev-and-next-link next-page">
<div>
<span>Next</span>
<h4 class="{{.Section}}">{{.Title}}</h4>
</div>
</a>
{{ end }}
{{if eq .Kind "section"}}
{{ range first 1 .Data.Pages }}
<a role="button" href="{{.Permalink}}" class="prev-and-next-link next-page">
<div>
<span>Next</span>
<h4 class="{{.Section}}">{{.Title}}</h4>
</div>
</a>
{{end}}
{{end}}
@@ -0,0 +1,8 @@
{{with .Params.tags}}
<ul class="tags">
<li class="icon"><i class="icon-tags"></i></li>
{{range .}}
<li><a class="tag" href="/tags/{{.|urlize}}">{{.}}</a></li>
{{end}}
</ul>
{{end}}
@@ -0,0 +1,19 @@
(function() {
//assign all blockquote content to an html collection/variable
var blockQuotes = document.querySelectorAll('blockquote > p');
//create new regex test for ' - ' (with one whitespace on each side so as not to accidentally grab hyphenated words as well)
var hyphenTest = new RegExp(/\s\-\s/);
//iterate through all html blocks within the blockquotes html collection
for (var i = 0; i < blockQuotes.length; i++) {
//check for ' - ' in the blockquote's text content
if (hyphenTest.test(blockQuotes[i].textContent)) {
//if true, split existing inner HTML into two-part array
//newQuoteContent === text leading up to hyphen
var newQuoteContent = blockQuotes[i].innerHTML.split(' - ')[0];
//newAuthorAttr === text after hyphen
var newAuthorAttr = blockQuotes[i].innerHTML.split(' - ')[1];
//fill blockquote paragraph with new content, but now with a <cite> wrapper around the author callout and the appropriate quotation dash.
blockQuotes[i].innerHTML = newQuoteContent + '<cite class="blockquote-citation">&#x2015; ' + newAuthorAttr + '</cite>';
}
}
})();
+13 -4
View File
@@ -20,12 +20,9 @@ $hugo-gold:#EBB951;
$hugo-gray:#737373; $hugo-gray:#737373;
$hugo-gray-dark:darken($hugo-gray,10%); $hugo-gray-dark:darken($hugo-gray,10%);
$hugo-gray-light:lighten($hugo-gray,30%); $hugo-gray-light:lighten($hugo-gray,30%);
$hugo-gray-ultra-light:lighten($hugo-gray-light,23%);
$hugo-green:#00A88A; $hugo-green:#00A88A;
$hugo-green-light:#33BA91; $hugo-green-light:#33BA91;
$default-anchor-color:$hugo-pink;
$default-anchor-weight: 500;
$active-color: $default-anchor-color;
//Document Body //Document Body
$body-bg-color:$hugo-white; $body-bg-color:$hugo-white;
@@ -41,6 +38,12 @@ $base-font-bold-weight: 700;
$heading-font-weight: 700; $heading-font-weight: 700;
$systemfonts: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbols"; $systemfonts: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbols";
//Anchors (in body copy)
$default-anchor-color:$base-font-color;
$default-anchor-underline-color:$hugo-pink;
$default-anchor-weight: $base-font-weight;
$active-color: $default-anchor-color;
//Buttons //Buttons
$base-button-color: $hugo-blue; $base-button-color: $hugo-blue;
$base-button-text-color: $hugo-white; $base-button-text-color: $hugo-white;
@@ -62,6 +65,9 @@ $inline-code-background-color:lighten($hugo-gray-light,21%);
//Sidebar //Sidebar
$site-navigation-width: 280px; $site-navigation-width: 280px;
$content-max-width: 35em; $content-max-width: 35em;
$site-navigation-bg-color:$hugo-gray-ultra-light;
$breadcrumb-navigation-bg-color:$site-navigation-bg-color;
$breadcrumb-navigation-bg-color-active:$hugo-pink-light;
//Header //Header
$site-header-height:50px; $site-header-height:50px;
@@ -69,6 +75,9 @@ $site-header-height:50px;
//Toc //Toc
$toc-bg-color:$body-bg-color; $toc-bg-color:$body-bg-color;
//Tags
$tag-bg-color:$hugo-gray-ultra-light;
//Brand Colors: //Brand Colors:
$html: #E44D26; $html: #E44D26;
$css: #1758A7; $css: #1758A7;
@@ -11,13 +11,12 @@ h4 {
} }
h1.page-title { h1.page-title {
font-size: 2em; font-size: 1.8em;
letter-spacing: -.021em; letter-spacing: -.021em;
padding-bottom: .75em; padding-bottom: .75em;
display:flex; display:flex;
align-items:center; align-items:center;
@include MQ(M) { @include MQ(M) {
font-size: 2.25em;
padding-top: 0px; padding-top: 0px;
} }
img { img {
@@ -37,11 +36,11 @@ h3 {
} }
h2 { h2 {
font-size: 1.5em; font-size: 1.3em;
} }
h3 { h3 {
font-size: 1.2em; font-size: 1.1em;
} }
h4 { h4 {
@@ -1,5 +1,5 @@
a { a {
color: $default-anchor-color; color: $default-anchor-underline-color;
font-weight: $default-anchor-weight; font-weight: $default-anchor-weight;
@include on-event($self: true) { @include on-event($self: true) {
text-decoration: none; text-decoration: none;
@@ -7,15 +7,6 @@ a {
} }
} }
.body-copy {
a:not(.heading-link) {
color: $default-anchor-color;
// color:$base-font-color;
text-decoration: none;
border-bottom: 1px solid $default-anchor-color;
}
}
//tooltips //tooltips
a.tooltip { a.tooltip {
position: relative; position: relative;
@@ -76,47 +67,47 @@ a.heading-link {
display: none; display: none;
} }
&:hover { &:hover {
color: $default-anchor-color; color: $default-anchor-underline-color;
} }
} }
// .body-copy { .body-copy {
// a { a {
// text-decoration: none; text-decoration: none;
// color: $default-anchor-color; color: $default-anchor-color;
// display: inline-block; display: inline-block;
// outline: none; outline: none;
// position: relative; position: relative;
// transition: color 0.3s ease; transition: color 0.3s ease;
// perspective: 1800px; perspective: 1800px;
// &:hover { &:hover {
// color: $hugo-white; color: $hugo-white;
// } }
// &::before, &::before,
// &::after { &::after {
// position: absolute; position: absolute;
// top: 0; top: 0;
// left: -2px; left: -2px;
// padding: 0 2px; padding: 0 2px;
// z-index: -1; z-index: -1;
// box-sizing: content-box; box-sizing: content-box;
// width: 100%; width: 100%;
// height: 100%; height: 100%;
// content: ''; content: '';
// } }
// &::before { &::before {
// background-color: $default-anchor-color; background-color: $default-anchor-underline-color;
// transition: transform 0.2s; transition: transform 0.2s;
// transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1); transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
// transform: rotateX(90deg); transform: rotateX(90deg);
// transform-origin: 50% 100%; transform-origin: 50% 100%;
// } }
// &:hover::before, &:hover::before,
// &:focus::before { &:focus::before {
// transform: rotateX(0); transform: rotateX(0);
// } }
// &::after { &::after {
// border-bottom: 1px solid $default-anchor-color; border-bottom: 1px solid $default-anchor-underline-color;
// } }
// } }
// } }
@@ -1,7 +1,41 @@
.body-copy { .body-copy {
blockquote { blockquote {
p { position: relative;
display:block;
} margin:0px;
} // border-left:2px solid $base-font-color;
} font-style: italic;
background-color: $hugo-gray-ultra-light;
padding: 16px;
// padding-top:16px;
// padding-bottom:16px;
p {
margin-bottom:0px;
margin-top:16px;
}
p:first-child {
margin-top:8px;
}
&:before {
font-family: 'fontello';
display: block;
@include size(1em);
position: absolute;
content: '\e809';
color:$hugo-gray-light;
top: -3px;
left: 4px;
font-size: 1.2em;
// background-color: $body-bg-color;
font-style: normal;
}
cite.blockquote-citation {
position: absolute;
bottom: .3em;
right: .3em;
float: right;
font-size: 14px;
font-style: normal;
}
}
}
@@ -0,0 +1,91 @@
.breadcrumbs {
list-style: none;
display: inline-block;
li {
float: left;
a {
color: $base-font-color;
display: flex;
align-items: center;
background: $breadcrumb-navigation-bg-color;
text-decoration: none;
position: relative;
height: 30px;
line-height: 30px;
padding: 0 10px 0 5px;
text-align: center;
margin-right: 23px;
font-size: 14px;
img {
@include size(20px);
}
span {
margin-left:4px;
}
}
&:nth-child(even) {
margin-left:-8px;
a {
background-color: $hugo-gray-ultra-light;
&:before {
border-color: $hugo-gray-ultra-light;
border-left-color: transparent;
height: 30px;
line-height: 30px;
}
&:after {
border-left-color: $hugo-gray-ultra-light;
}
}
}
&:first-child {
a {
padding-left: 10px;
@include border-radius(4px 0 0 4px);
&:before {
border: none;
}
}
}
&:last-child {
a {
padding-right: 15px;
@include border-radius(0 4px 4px 0);
&:after {
border: none;
}
}
}
a {
&:before,
&:after {
content: "";
position: absolute;
top: 0;
border: 0 solid $hugo-gray-ultra-light;
border-width: 15px 6.666px;
width: 0;
height: 0;
}
&:before {
left: -12px;
border-left-color: transparent;
}
&:after {
left: 100%;
border-color: transparent;
border-left-color: $hugo-gray-ultra-light;
}
&:hover,&:active {
background-color: $breadcrumb-navigation-bg-color-active;
&:before {
border-color: $breadcrumb-navigation-bg-color-active;
border-left-color: transparent;
}
&:after {
border-left-color: $breadcrumb-navigation-bg-color-active;
}
}
}
}
}
@@ -0,0 +1,45 @@
#content-footer {
height: 40px;
line-height: 40px;
vertical-align: middle;
display:flex;
flex-direction:row;
align-items:flex-start;
border-top:2px solid $base-font-color;
margin-bottom:3em;
.prev-and-next-link {
// background-color: orange;
width: 100%;
display: inline-block;
text-align: center;
margin-bottom: 1em;
span {
display: block;
font-size: .8em;
}
@include MQ(M) {
max-width: calc(48% - 100px);
margin-bottom: 1.5em;
&.next-page {
float: right;
}
}
&.prev-page {
text-align:left;
}
&.next-page {
text-align:right;
}
}
}
.last-modified {
color: $hugo-gray;
display: inline-block;
min-width: 200px;
width: 200px;
max-width: 200px;
font-size: .8em;
font-weight: normal;
text-align: center;
}
@@ -6,12 +6,10 @@
width: 100%; width: 100%;
border-left-width: 2px; border-left-width: 2px;
border-left-style: solid; border-left-style: solid;
border-left-color: lighten($base-font-color,20%); border-left-color: lighten($base-font-color, 20%);
// border-bottom-width: 2px;
// border-bottom-style: solid;
position: relative; position: relative;
padding-top:4px; padding-top: 4px;
padding-bottom:4px; padding-bottom: 4px;
&:before { &:before {
font-family: 'fontello'; font-family: 'fontello';
display: block; display: block;
@@ -23,32 +21,32 @@
} }
h2 { h2 {
font-size: 1.1em; font-size: 1.1em;
color: lighten($base-font-color,20%); color: lighten($base-font-color, 20%);
width: 100%; width: 100%;
display: block; display: block;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
margin-left: 0px; margin-left: 0px;
padding:0px 12px; padding: 0px 12px;
border: none; border: none;
outline: none; outline: none;
border-bottom-width: 2px; border-bottom-width: 2px;
border-bottom-style: solid; border-bottom-style: solid;
display:inline-block; display: inline-block;
width:auto; width: auto;
z-index:20; z-index: 20;
code, code,
pre { pre {
color: lighten($base-font-color,20%); color: lighten($base-font-color, 20%);
} }
} }
.shortcode-content { .shortcode-content {
display: block; display: block;
margin: 0px; margin: 0px;
font-size: .9em; font-size: 1em;
padding:8px 0px 8px; padding: 8px 0px 8px;
margin-left: 12px; margin-left: 12px;
color: lighten($base-font-color,20%); color: lighten($base-font-color, 20%);
p:last-child { p:last-child {
margin-bottom: 0px; margin-bottom: 0px;
} }
@@ -63,13 +61,7 @@
} }
h2 { h2 {
border-bottom-color: $hugo-blue; border-bottom-color: $hugo-blue;
color:$hugo-blue; color: $hugo-blue;
}
.shortcode-content {
a {
// color:$hugo-blue;
// border-bottom-color:
}
} }
} }
@@ -83,12 +75,6 @@
border-bottom-color: $hugo-gold; border-bottom-color: $hugo-gold;
color: $hugo-gold; color: $hugo-gold;
} }
.shortcode-content {
a {
// color: $hugo-gold;
// border-bottom-color:
}
}
} }
.warning { .warning {
@@ -99,16 +85,10 @@
} }
h2 { h2 {
border-bottom-color: $hugo-pink; border-bottom-color: $hugo-pink;
color:$hugo-pink; color: $hugo-pink;
pre,code { pre,
color:$hugo-pink; code {
} color: $hugo-pink;
}
.shortcode-content {
a {
// color:$hugo-pink;
// border-bottom-color:
} }
} }
} }
@@ -1,25 +0,0 @@
.prev-and-next-link {
color: $hugo-white;
width: 100%;
display: inline-block;
text-align: center;
margin-bottom:1em;
// background-color: $hugo-blue-light;
span {
display: block;
font-size: .8em;
}
h4 {
margin: 0px;
padding: 0px;
text-transform: none;
color:$hugo-white;
}
@include MQ(M) {
max-width: 48%;
margin-bottom:1.5em;
&.next-page {
float:right;
}
}
}
@@ -1,62 +1,75 @@
ul.tags { ul.tags {
list-style: none; list-style: none;
margin: 0; margin: 0;
overflow: hidden;
padding: 0; padding: 0;
margin-top:-1em; margin-bottom: 1em;
margin-bottom:1em; display: flex;
} align-items: center;
li {
.tags li { height: 20px;
float: left; line-height: 20px;
&:first-child { margin-left: 4px;
margin-right:.5em; display: flex;
&:not(.icon) {
@include card(1, 3);
}
a {
line-height: 20px;
align-items: center;
height: 20px;
font-size: 14px;
color: $base-font-color;
padding-left: .3em;
padding-right: .3em;
}
} }
} }
.tag { // .tags li {
background: #eee; // float: left;
border-radius: 3px 0 0 3px; // &:first-child {
color: #999; // margin-right:.5em;
display: inline-block; // }
height: 26px; // }
line-height: 26px; // .tag {
padding: 0 20px 0 23px; // background: $tag-bg-color;
position: relative; // border-radius: 3px 0 0 3px;
margin: 0 10px 10px 0; // color: $base-font-color;
text-decoration: none; // display: inline-block;
font-size:.7em; // height: 26px;
-webkit-transition: color 0.2s; // line-height: 26px;
} // padding: 0 20px 0 23px;
// position: relative;
.tag::before { // margin: 0 10px 10px 0;
background: #fff; // text-decoration: none;
border-radius: 10px; // font-size:.7em;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25); // -webkit-transition: color 0.2s;
content: ''; // }
height: 6px; // .tag::before {
left: 10px; // background: #fff;
position: absolute; // border-radius: 10px;
width: 6px; // box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
top: 10px; // content: '';
} // height: 6px;
// left: 10px;
.tag::after { // position: absolute;
background: #fff; // width: 6px;
border-bottom: 13px solid transparent; // top: 10px;
border-left: 10px solid #eee; // }
border-top: 13px solid transparent; // .tag::after {
content: ''; // background: #fff;
position: absolute; // border-bottom: 13px solid transparent;
right: 0; // border-left: 10px solid $tag-bg-color;
top: 0; // border-top: 13px solid transparent;
} // content: '';
// position: absolute;
.tag:hover { // right: 0;
background-color: $hugo-pink; // top: 0;
color: white; // }
} // .tag:hover {
// background-color: $hugo-pink;
.tag:hover::after { // color: white;
border-left-color: $hugo-pink; // }
} // .tag:hover::after {
// border-left-color: $hugo-pink;
// }
@@ -113,13 +113,3 @@ header.content-header {
margin-top: 1em; margin-top: 1em;
} }
} }
.last-modified {
color: $hugo-gray;
display: block;
margin-top: -10px;
width: 100%;
font-size: .8em;
margin-bottom: 20px;
font-weight: normal;
}
@@ -6,7 +6,7 @@
width: $site-navigation-width; width: $site-navigation-width;
bottom: 0px; bottom: 0px;
overflow-y: scroll; overflow-y: scroll;
background-color: darken(#ffffff, 1%); background-color: $site-navigation-bg-color;
transform:translateX(-#{$site-navigation-width}); transform:translateX(-#{$site-navigation-width});
padding: 1em; padding: 1em;
z-index: 9; z-index: 9;
@@ -28,6 +28,9 @@
a { a {
color: $base-font-color; color: $base-font-color;
font-weight: $base-font-weight; font-weight: $base-font-weight;
&:hover {
color:$hugo-pink;
}
} }
li { li {
padding-left: 1em; padding-left: 1em;
@@ -56,7 +59,7 @@
a.submenu-item-link { a.submenu-item-link {
font-size: 14px; font-size: 14px;
&:hover { &:hover {
color: lighten($base-font-color, 25%); color: $hugo-blue;
} }
&.active-page { &.active-page {
font-weight: 700; font-weight: 700;
+2 -1
View File
@@ -26,8 +26,9 @@
@import 'components/keyboard'; @import 'components/keyboard';
@import 'components/table-of-contents'; @import 'components/table-of-contents';
@import 'components/taxonomy-lists'; @import 'components/taxonomy-lists';
@import 'components/prev-and-next-links.scss'; @import 'components/content-footer.scss';
@import 'components/blockquotes'; @import 'components/blockquotes';
@import 'components/breadcrumb';
//major layout parts/chrome //major layout parts/chrome
@import 'layout/site-header'; @import 'layout/site-header';
+1 -1
View File
@@ -1 +1 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80aLine truncated /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80aLine truncated
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 400 400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g transform="matrix(1.90897,0,0,1.90897,-27.8648,-56.0002)">
<path d="M119.631,36.154L203.822,85.066L203.822,181.395L119.631,229.184L35.578,181.395L35.578,85.066L119.631,36.154Z" style="fill:rgb(255,64,136);"/>
<path d="M207.664,81.239L209.061,83.666L209.061,182.809L207.638,185.253L121.013,234.423L118.245,234.422L31.761,185.251L30.34,182.808L30.34,83.667L31.735,81.242L118.217,30.916L121.041,30.915L207.664,81.239ZM40.817,88.078L40.817,178.348L119.633,223.159L198.584,178.345L198.584,88.081L119.633,42.214L40.817,88.078Z" style="fill:rgb(201,23,126);"/>
</g>
<g transform="matrix(1.78981,0,0,2.02809,-42.2616,88.7603)">
<path d="M179.238,106.552L154.758,106.552L154.758,62.2L112.134,62.2L112.134,106.552L87.654,106.552L87.654,1.648L112.134,1.648L112.134,45.496L154.758,45.496L154.758,1.648L179.238,1.648L179.238,106.552Z" style="fill:white;fill-rule:nonzero;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+2 -2
View File
@@ -1,3 +1,3 @@
"use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}function toggleToc(e){e.preventDefault(),e.stopPropagation(),console.log("hello"),document.getElementById("toc").classList.toggle("toc-open"),document.getElementById("toc-toggle").classList.toggle("toc-open")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function a(i,s){if(!r[i]){if(!e[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[i]={exports:{}};e[i][0].call(u.exports,function(t){var r=e[i][1][t];return a(r?r:t)},u,u.exports,t,e,r,n)}return r[i].exports}for(var o="function"==typeof require&&require,i=0;i<n.length;i++)a(n[i]);return a}({1:[function(e,t,r){var n=e("matches-selector");t.exports=function(e,t,r){for(var a=r?e:e.parentNode;a&&a!==document;){if(n(a,t))return a;a=a.parentNode}}},{"matches-selector":5}],2:[function(e,t,r){function n(e,t,r,n,o){var i=a.apply(this,arguments);return e.addEventListener(r,i,o),{destroy:function(){e.removeEventListener(r,i,o)}}}function a(e,t,r,n){return function(r){r.delegateTarget=o(r.target,t,!0),r.delegateTarget&&n.call(e,r)}}var o=e("closest");t.exports=n},{closest:1}],3:[function(e,t,r){r.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},r.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||r.node(e[0]))},r.string=function(e){return"string"==typeof e||e instanceof String},r.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],4:[function(e,t,r){function n(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(r))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,r);if(s.nodeList(e))return o(e,t,r);if(s.string(e))return i(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function o(e,t,r){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,r)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,r)})}}}function i(e,t,r){return l(document.body,e,t,r)}var s=e("./is"),l=e("delegate");t.exports=n},{"./is":3,delegate:2}],5:[function(e,t,r){function n(e,t){if(o)return o.call(e,t);for(var r=e.parentNode.querySelectorAll(t),n=0;n<r.length;++n)if(r[n]==e)return!0;return!1}var a=Element.prototype,o=a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector;t.exports=n},{}],6:[function(e,t,r){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),n=document.createRange();n.selectNodeContents(e),r.removeAllRanges(),r.addRange(n),t=r.toString()}return t}t.exports=n},{}],7:[function(e,t,r){function n(){}n.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){function n(){a.off(e,n),t.apply(r,arguments)}var a=this;return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,a=r.length;for(n;a>n;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],a=[];if(n&&t)for(var o=0,i=n.length;i>o;o++)n[o].fn!==t&&n[o].fn._!==t&&a.push(n[o]);return a.length?r[e]=a:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(a,o){if("function"==typeof e&&e.amd)e(["module","select"],o);else if("undefined"!=typeof n)o(r,t("select"));else{var i={exports:{}};o(i,a.select),a.clipboardAction=i.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(t),o="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeofLine truncated "use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}function toggleToc(e){e.preventDefault(),e.stopPropagation(),console.log("hello"),document.getElementById("toc").classList.toggle("toc-open"),document.getElementById("toc-toggle").classList.toggle("toc-open")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function a(i,s){if(!r[i]){if(!e[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[i]={exports:{}};e[i][0].call(u.exports,function(t){var r=e[i][1][t];return a(r?r:t)},u,u.exports,t,e,r,n)}return r[i].exports}for(var o="function"==typeof require&&require,i=0;i<n.length;i++)a(n[i]);return a}({1:[function(e,t,r){var n=e("matches-selector");t.exports=function(e,t,r){for(var a=r?e:e.parentNode;a&&a!==document;){if(n(a,t))return a;a=a.parentNode}}},{"matches-selector":5}],2:[function(e,t,r){function n(e,t,r,n,o){var i=a.apply(this,arguments);return e.addEventListener(r,i,o),{destroy:function(){e.removeEventListener(r,i,o)}}}function a(e,t,r,n){return function(r){r.delegateTarget=o(r.target,t,!0),r.delegateTarget&&n.call(e,r)}}var o=e("closest");t.exports=n},{closest:1}],3:[function(e,t,r){r.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},r.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||r.node(e[0]))},r.string=function(e){return"string"==typeof e||e instanceof String},r.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],4:[function(e,t,r){function n(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(r))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,r);if(s.nodeList(e))return o(e,t,r);if(s.string(e))return i(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function o(e,t,r){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,r)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,r)})}}}function i(e,t,r){return l(document.body,e,t,r)}var s=e("./is"),l=e("delegate");t.exports=n},{"./is":3,delegate:2}],5:[function(e,t,r){function n(e,t){if(o)return o.call(e,t);for(var r=e.parentNode.querySelectorAll(t),n=0;n<r.length;++n)if(r[n]==e)return!0;return!1}var a=Element.prototype,o=a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector;t.exports=n},{}],6:[function(e,t,r){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),n=document.createRange();n.selectNodeContents(e),r.removeAllRanges(),r.addRange(n),t=r.toString()}return t}t.exports=n},{}],7:[function(e,t,r){function n(){}n.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){function n(){a.off(e,n),t.apply(r,arguments)}var a=this;return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,a=r.length;for(n;a>n;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],a=[];if(n&&t)for(var o=0,i=n.length;i>o;o++)n[o].fn!==t&&n[o].fn._!==t&&a.push(n[o]);return a.length?r[e]=a:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(a,o){if("function"==typeof e&&e.amd)e(["module","select"],o);else if("undefined"!=typeof n)o(r,t("select"));else{var i={exports:{}};o(i,a.select),a.clipboardAction=i.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(t),o="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeofLine truncated
}return a}var l;if(w.Hooks.registered[r]){var c=r,u=w.Hooks.getRoot(c);a===n&&(a=w.getPropertyValue(e,w.Names.prefixCheck(u)[0])),w.Normalizations.registered[u]&&(a=w.Normalizations.registered[u]("extract",e,a)),l=w.Hooks.extractValue(c,a)}else if(w.Normalizations.registered[r]){var p,g;p=w.Normalizations.registered[r]("name",e),"transform"!==p&&(g=s(e,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(g)&&w.Hooks.templates[r]&&(g=w.Hooks.templates[r][1])),l=w.Normalizations.registered[r]("extract",e,g)}if(!/^[\d-]/.test(l)){var m=i(e);if(m&&m.isSVG&&w.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(b){l=0}else l=e.getAttribute(r);else l=s(e,w.Names.prefixCheck(r)[0])}return w.Values.isCSSNullValue(l)&&(l=0),v.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,a,o){var s=r;if("scroll"===r)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?t.scrollTo(n,o.alternateValue):t.scrollTo(o.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=i(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);a=a||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,a),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var p=i(e);p&&p.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=i(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},a={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};f.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(t+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var o,s;f.each(i(e).transformCache,function(r){return o=i(e).transformCache[r],"transformPerspective"===r?(s=o,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+o+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var a;return e=o(e),f.each(e,function(e,o){if(i(o)===n&&v.init(o),r===n)a===n&&(a=v.CSS.getPropertyValue(o,t));else{var s=v.CSS.setPropertyValue(o,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(o),a=s}}),a};var x=function k(){function e(){return l?T.promise||null:d}function a(e,a){function o(o){var d,g;if(l.begin&&0===P)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,N,E=/^x$/i.test(l.axis)?"Left":"Top",M=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],N=x+f(e).position()[E.toLowerCase()]+M):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],N=f(e).offset()[E.toLowerCase()]+M),p={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:N,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===O){if(d=i(e),!d)return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null);for(var I in g)if("element"!==I){var A=g[I].startValue;g[I].startValue=g[I].currentValue=g[I].endValue,g[I].endValue=A,m.isEmptyObject(S)||(g[I].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+I+"): "+JSON.stringify(g[I]),e)}p=g}else if("start"===O){d=i(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var o,i,s;return m.isArray(t)?(o=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(i=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):o=t,r||(i=i||l.easing),m.isFunction(o)&&(o=o.call(e,a,C)),m.isFunction(s)&&(s=s.call(e,a,C)),[o||0,i,s]};f.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),a=r[0],o=r[1],i=r[2];if(w.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=i?w.Values.hexToRgb(i):n,u=0;u<s.length;u++){var p=[l[u]];o&&p.push(o),c!==n&&p.push(c[Line truncated }return a}var l;if(w.Hooks.registered[r]){var c=r,u=w.Hooks.getRoot(c);a===n&&(a=w.getPropertyValue(e,w.Names.prefixCheck(u)[0])),w.Normalizations.registered[u]&&(a=w.Normalizations.registered[u]("extract",e,a)),l=w.Hooks.extractValue(c,a)}else if(w.Normalizations.registered[r]){var p,g;p=w.Normalizations.registered[r]("name",e),"transform"!==p&&(g=s(e,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(g)&&w.Hooks.templates[r]&&(g=w.Hooks.templates[r][1])),l=w.Normalizations.registered[r]("extract",e,g)}if(!/^[\d-]/.test(l)){var m=i(e);if(m&&m.isSVG&&w.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(b){l=0}else l=e.getAttribute(r);else l=s(e,w.Names.prefixCheck(r)[0])}return w.Values.isCSSNullValue(l)&&(l=0),v.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,a,o){var s=r;if("scroll"===r)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?t.scrollTo(n,o.alternateValue):t.scrollTo(o.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=i(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);a=a||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,a),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var p=i(e);p&&p.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=i(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},a={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};f.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(t+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var o,s;f.each(i(e).transformCache,function(r){return o=i(e).transformCache[r],"transformPerspective"===r?(s=o,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+o+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var a;return e=o(e),f.each(e,function(e,o){if(i(o)===n&&v.init(o),r===n)a===n&&(a=v.CSS.getPropertyValue(o,t));else{var s=v.CSS.setPropertyValue(o,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(o),a=s}}),a};var x=function k(){function e(){return l?T.promise||null:d}function a(e,a){function o(o){var d,g;if(l.begin&&0===P)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,N,E=/^x$/i.test(l.axis)?"Left":"Top",M=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],N=x+f(e).position()[E.toLowerCase()]+M):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],N=f(e).offset()[E.toLowerCase()]+M),p={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:N,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===O){if(d=i(e),!d)return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null);for(var I in g)if("element"!==I){var A=g[I].startValue;g[I].startValue=g[I].currentValue=g[I].endValue,g[I].endValue=A,m.isEmptyObject(S)||(g[I].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+I+"): "+JSON.stringify(g[I]),e)}p=g}else if("start"===O){d=i(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var o,i,s;return m.isArray(t)?(o=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(i=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):o=t,r||(i=i||l.easing),m.isFunction(o)&&(o=o.call(e,a,C)),m.isFunction(s)&&(s=s.call(e,a,C)),[o||0,i,s]};f.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),a=r[0],o=r[1],i=r[2];if(w.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=i?w.Values.hexToRgb(i):n,u=0;u<s.length;u++){var p=[l[u]];o&&p.push(o),c!==n&&p.push(c[Line truncated
n=x.lR.exec(N);return a+t(N.substr(r))}function m(){var e="string"==typeof x.sL;if(e&&!C[x.sL])return t(N);var r=e?u(x.sL,N,!0,k[x.sL]):p(N,x.sL.length?x.sL:void 0);return x.r>0&&(E+=r.r),e&&(k[x.sL]=r.top),d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=i(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"<unnamed>")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=o||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,I,A=0;x.t.lastIndex=A,M=x.t.exec(r),M;)I=y(r.substring(A,M.index),M[0]),A=M.index+I;for(y(r.substr(A)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"<br>":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,i,c,g=o(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),i.innerHTML=n.value,n.value=l(r,s(i),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=i(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="</span>",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&amp;","<":"&lt;",">":"&gt;"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=i,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/</,r:0,c:[{cN:"attr",b:t,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:"</script>",rE:!0,sL:Line truncated }function d(e,t,r,n){var a=n?"":O.classPrefix,o='<span class="'+a,i=r?"":T;return o+=e+'">',o+t+i}function g(){var e,r,n,a;if(!x.k)return t(N);for(a="",r=0,x.lR.lastIndex=0,n=x.lR.exec(N);n;)a+=t(N.substring(r,n.index)),e=f(x,n),e?(E+=e[1],a+=d(e[0],t(n[0]))):a+=t(n[0]),r=x.lR.lastIndex,n=x.lR.exec(N);return a+t(N.substr(r))}function m(){var e="string"==typeof x.sL;if(e&&!C[x.sL])return t(N);var r=e?u(x.sL,N,!0,k[x.sL]):p(N,x.sL.length?x.sL:void 0);return x.r>0&&(E+=r.r),e&&(k[x.sL]=r.top),d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=i(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"<unnamed>")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=o||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,I,A=0;x.t.lastIndex=A,M=x.t.exec(r),M;)I=y(r.substring(A,M.index),M[0]),A=M.index+I;for(y(r.substr(A)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"<br>":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,i,c,g=o(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),i.innerHTML=n.value,n.value=l(r,s(i),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=i(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="</span>",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&amp;","<":"&lt;",">":"&gt;"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=i,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/</,r:0,c:[{cN:"attr",b:t,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\Line truncated