wot
|
@ -1 +0,0 @@
|
|||
Subproject commit 94e3cef795f2e47c2a868b2534a44cf06d2fd5b5
|
8
themoes/cocoa-eh/.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Mac
|
||||
.DS_Store
|
||||
*/**/.DS_Store
|
||||
|
||||
*.swp
|
||||
|
||||
# exampleSite
|
||||
exampleSite/public
|
98
themoes/cocoa-eh/CHANGELOG.md
Normal file
|
@ -0,0 +1,98 @@
|
|||
# Changelog
|
||||
|
||||
> v1.4.0
|
||||
|
||||
- Add PR #48 : Fix the default archetype
|
||||
- Add PR #49 : Add an `align_left` option for left text alignment
|
||||
- Add a `small_banner_logo` option to have a small logo on every page
|
||||
|
||||
> v1.3.0
|
||||
|
||||
- Add PR #47 : Redesign the 404 page
|
||||
|
||||
> v1.2.0
|
||||
|
||||
- Add PR #39 : Add a URL for licence
|
||||
- Add PR #40 : Add a github repo for the blog
|
||||
- Add PR #38 : Add a HackerNews and lobste.rs link in metadatas
|
||||
- Add PR #41 : Add FB account in social links
|
||||
- Add PR #42 : Add the support for the comment framework Isso
|
||||
|
||||
> v1.1.0
|
||||
|
||||
- Add more speed and asynchronous loading, of fonts especially
|
||||
- Add more languages to `highlightjs` that are nowadays really used, like Rust, Go, Docker, Clojure, etc. ...
|
||||
- Some fixes with some Pull Requests (thx to @davidskeck, @mtn and @maiki)
|
||||
|
||||
> v1.0.0
|
||||
|
||||
- Change the set of fonts to **Nexa Bold, Raleway and Merriweather**.
|
||||
- Add an optional navigation at the bottom of posts.
|
||||
- Add the tags in the metadatas and add a template for tags pages.
|
||||
- Add Google Analytics (thx @mtn)
|
||||
- Add author informations on posts (thx @seemethere)
|
||||
- Replace ionicons with svgs
|
||||
|
||||
> v0.9.0
|
||||
|
||||
- **Change the folder of high res images, now it's the root of the image folder.**
|
||||
- Add a version to CSS to prevent bad caching
|
||||
- Fix the images so absoluts paths are working even if the blog is in a subfolder
|
||||
|
||||
> v0.8.0
|
||||
|
||||
- Add a licensing page and a copyright in the footer if wanted (thx to [Hjdskes](https://github.com/Hjdskes))
|
||||
- Fix footnotes
|
||||
- Other small fixes
|
||||
|
||||
> v0.7.0
|
||||
|
||||
- Speed up a bit the theme
|
||||
- Add twitter cards support
|
||||
- Simplify the README
|
||||
- Change the homepage to display latest and bests posts
|
||||
|
||||
> v0.6.0
|
||||
|
||||
- Add progressive loading of images
|
||||
- Redesign image display
|
||||
- Clean up a bit the example website
|
||||
|
||||
> v0.5.0
|
||||
|
||||
- Add an automatic way to add sections
|
||||
- Add the possibility to add a header to a section list page
|
||||
- Add an automatic way to add single pages
|
||||
- Group blog articles by month and year
|
||||
- Add a homepage with the possibility of adding a small text and few articles
|
||||
- Update hightlightjs to v9.9.0
|
||||
- Few deletions of obsolete lines
|
||||
|
||||
> v0.4.0
|
||||
|
||||
- Add logo and a title in header instead of only the author name
|
||||
- Change pages from the navigation
|
||||
- Delete useless icons from the bottom
|
||||
- Change fonts and style the text (font size, justify ...)
|
||||
- Improve mobile design by adding dates, removing grey background and adapt font
|
||||
|
||||
And more.
|
||||
|
||||
> v0.3.0
|
||||
|
||||
- Change color from orange to blue; improve colors elsewhere
|
||||
- Change `div.section` to `section`
|
||||
- Rename `posts` directory to `blog`
|
||||
- Add ability to specify extra CSS files in `config.toml`
|
||||
- Removed `WebFontsFile` feature from `config.toml`
|
||||
- Remove the initials displayed on top right of single post pages
|
||||
- Update example site
|
||||
|
||||
> v0.2.0
|
||||
|
||||
* Added Disqus support. To enable Disqus, add `disqusshortname = "XYZ"` to `config.toml`. More details: <http://gohugo.io/extras/comments/>.
|
||||
* In the posts list, replaced date with bullets at smaller screen widths.
|
||||
|
||||
> v0.1.0
|
||||
|
||||
* Initial release
|
21
themoes/cocoa-eh/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Nishanth Shanmugham<nishanth.gerrard@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
87
themoes/cocoa-eh/README.md
Normal file
|
@ -0,0 +1,87 @@
|
|||
# Cocoa Enhanced
|
||||
|
||||
[![MIT License](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000?style=plastic)](https://github.com/fuegowolf/cocoa-eh-hugo-theme/blob/master/LICENSE)
|
||||
|
||||
**Cocoa Enhanced** is a clean, fast and responsive [Hugo](http://gohugo.io) [theme](https://github.com/spf13/hugoThemes/) with cool typography. The main goal of this theme is to be simple and fast but highly customizable.
|
||||
|
||||
You can use this theme either for your blog or your personal website. A demo is available [here](https://kodewolf.com).
|
||||
|
||||
> This is a fork from the original [Cocoa](https://www.github.com/nishanths/cocoa-hugo-theme) theme, with some improvements.
|
||||
|
||||
[![screenshot](https://raw.githubusercontent.com/fuegowolf/cocoa-eh-hugo-theme/master/images/screenshot.png)](https://raw.githubusercontent.com/fuegowolf/cocoa-eh-hugo-theme/master/images/screenshot.png)
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Features](#features)
|
||||
* [Getting Started](#getting-started)
|
||||
* [Contributing](#contributing)
|
||||
* [License](#license)
|
||||
|
||||
## Features
|
||||
|
||||
Simple but complete, here are the main features of this theme :
|
||||
|
||||
* Possibility to have sections with a header and a list of articles.
|
||||
* Possibility to have single pages.
|
||||
* Homepage with latest and best posts.
|
||||
* Syntax highlighting with `hightlightjs`.
|
||||
* Progressive images.
|
||||
* Twitter cards support.
|
||||
* Disqus and Isso support.
|
||||
|
||||
#### Typography
|
||||
|
||||
The **typography** is what makes Cocoa-EH look cool, here are the fonts used :
|
||||
|
||||
* *Nexa Bold* for the blog name, a strong and opinionated font
|
||||
* *Raleway* for the titles, light but clearly visible
|
||||
* *Merriweather* for the text, an awesome sans serif font to read without difficulties
|
||||
* *Ubuntu Mono* for the code
|
||||
|
||||
#### Blazing fast
|
||||
|
||||
Everything is made here to make the theme **really fast** to load : inline CSS, deferred Javascript, fonts loaded in an asynchronous way with replacement fonts when they're not loaded, etc. ... Even with a GPRS connection, your blog is readable.
|
||||
|
||||
> With gzip enabled, this theme takes less than **400**ms to load entirely, and the content is readable at only **50**ms. Also scores 99/100 on Pagespeed.
|
||||
|
||||
### Differences from the original Cocoa
|
||||
|
||||
This theme is less minimalist than the original Cocoa, with some new features :
|
||||
|
||||
* Displays a logo on the side of the header, and there is a title different from the author name.
|
||||
* Very modular with sections and single pages.
|
||||
* Group articles by month and year.
|
||||
* Progressive images.
|
||||
* Fonts are different : stronger and sharper, with a clear identity.
|
||||
* The font size in articles is higher, the text justified and lines are more spaced.
|
||||
* More features.
|
||||
|
||||
## Getting Started
|
||||
|
||||
From the root of your Hugo site, clone the theme into `themes/cocoa-eh` by running:
|
||||
|
||||
````
|
||||
git clone https://github.com/fuegowolf/cocoa-eh-hugo-theme.git themes/cocoa-eh
|
||||
````
|
||||
|
||||
Then, generate your site's files by running:
|
||||
|
||||
````
|
||||
hugo -t cocoa-eh
|
||||
````
|
||||
|
||||
If you want a simple blog you can just use the `exampleSite`, however if you desire a more complex website you can build it with the [wiki](https://github.com/fuegowolf/cocoa-eh-hugo-theme/wiki).
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests, bug fixes, and new features are welcome!
|
||||
|
||||
1. Fork the repository
|
||||
2. Create your feature branch (`git checkout -b my-new-feature`)
|
||||
3. Commit your changes (`git commit -am 'Add some feature'`)
|
||||
4. Push to the branch (`git push origin my-new-feature`)
|
||||
5. Create new Pull Request on GitHub
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT License. See the [LICENSE](https://github.com/fuegowolf/cocoa-eh-hugo-theme/blob/master/LICENSE) file for more details.
|
10
themoes/cocoa-eh/archetypes/default.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
+++
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
meta_img = "/images/image.jpg"
|
||||
tags = ["tags"]
|
||||
description = "Desc"
|
||||
hacker_news_id = ""
|
||||
lobsters_id = ""
|
||||
+++
|
52
themoes/cocoa-eh/exampleSite/config.toml
Normal file
|
@ -0,0 +1,52 @@
|
|||
baseurl = "https://example.com/"
|
||||
theme = "cocoa-eh"
|
||||
builddrafts = true
|
||||
canonifyurls = true
|
||||
contentdir = "content"
|
||||
languageCode = "en-US"
|
||||
layoutdir = "layouts"
|
||||
publishdir = "public"
|
||||
author = "Alexis Tacnet"
|
||||
title = "Cocoa Enhanced"
|
||||
disqusshortname = ""
|
||||
pluralizelisttitles = false
|
||||
|
||||
[permalinks]
|
||||
blog = "blog/:slug/"
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
dateformfull = "Mon Jan 2 2006 15:04:05 MST"
|
||||
description = "Example blog"
|
||||
copyright = "Copyright © 2015 Nishanth Shanmugham"
|
||||
# copyrightUrl = "https://creativecommons.org/licenses/by-sa/4.0/"
|
||||
logofile = "img/logo.png"
|
||||
faviconfile = "img/logo.png"
|
||||
highlightjs = true
|
||||
progressively = true
|
||||
share = true
|
||||
latestpostcount = 5
|
||||
github = "example"
|
||||
email = "you@example.com"
|
||||
linkedin = "john-example-aa80ue8è"
|
||||
twitter = "example"
|
||||
facebook = "facebook_id"
|
||||
social_banner = "img/banner.png"
|
||||
usesmallsummarycard = true
|
||||
posts_navigation = true
|
||||
# issoHost = "comments.domain.tld:1234"
|
||||
# githubRepo = "githubUsername/repositoryName"
|
||||
small_banner_logo = false
|
||||
|
||||
[params.colors]
|
||||
identifier = "#527fc1f"
|
||||
identifier_dark = "#1a3152"
|
||||
trivial = "#6a7a8b"
|
||||
foreground = "#181d2a"
|
||||
background = "#f9f9f9"
|
||||
background_dark = "#282a36"
|
||||
code = "#87a5d2"
|
||||
type = "#97d28b"
|
||||
special = "#ffcb8d"
|
||||
value = "#96c2d7"
|
||||
statement = "#ff8e91"
|
12
themoes/cocoa-eh/exampleSite/content/about.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
+++
|
||||
date = "2015-08-22"
|
||||
title = "About"
|
||||
+++
|
||||
|
||||
_With this theme, it is possible to add small sections that only contains one page like this. It will automatically appears in the header, at the end._
|
||||
|
||||
Along with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\(character\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.
|
||||
|
||||
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
||||
|
||||
In time, he learns how to fly and carves a niche for himself as a sandwich-maker.
|
1143
themoes/cocoa-eh/exampleSite/content/blog/creating-a-new-theme.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
author: "Alexis Tacnet"
|
||||
date: 2015-09-28
|
||||
title: Example article
|
||||
best: true
|
||||
---
|
||||
|
||||
## Text
|
||||
|
||||
**This is some text.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut pretium at ipsum eu pharetra. Proin ac ante et leo ultrices bibendum. Vivamus id ipsum fermentum, aliquam nunc mollis, tempus sapien. Praesent scelerisque cursus eros vitae pretium. Etiam sit amet ligula in leo euismod malesuada. Proin eleifend pulvinar ipsum, eu lobortis ante pharetra eu. Vivamus sem elit, venenatis eget ornare nec, ullamcorper non tellus. Duis quis massa finibus, euismod erat quis, fermentum nunc. Maecenas euismod felis sit amet convallis placerat.
|
||||
|
||||
## Images
|
||||
|
||||
**This theme includes a tranparent way to defer images. This can be enabled/disabled in the `config.toml`.**
|
||||
|
||||
![image](/img/startup.jpg)
|
||||
|
||||
**You will just have to do two images : the normal, and a low resolution one.**
|
||||
|
||||
## Code
|
||||
|
||||
**This is some code, this theme includes language highlight, optionnal as well.**
|
||||
|
||||
```
|
||||
.dark {
|
||||
color: #333333 !important;
|
||||
}
|
||||
.light {
|
||||
color: #666666 !important;
|
||||
}
|
||||
.accent {
|
||||
color: #428bca !important;
|
||||
}
|
||||
```
|
343
themoes/cocoa-eh/exampleSite/content/blog/goisforlovers.md
Normal file
|
@ -0,0 +1,343 @@
|
|||
+++
|
||||
title = "(Hu)go Template Primer"
|
||||
description = ""
|
||||
tags = [
|
||||
"go",
|
||||
"golang",
|
||||
"templates",
|
||||
"themes",
|
||||
"development",
|
||||
]
|
||||
date = "2014-04-02"
|
||||
categories = [
|
||||
"Development",
|
||||
"golang",
|
||||
]
|
||||
+++
|
||||
|
||||
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
|
||||
its template engine. It is an extremely lightweight engine that provides a very
|
||||
small amount of logic. In our experience that it is just the right amount of
|
||||
logic to be able to create a good static website. If you have used other
|
||||
template systems from different languages or frameworks you will find a lot of
|
||||
similarities in go templates.
|
||||
|
||||
This document is a brief primer on using go templates. The [go docs][gohtmltemplate]
|
||||
provide more details.
|
||||
|
||||
## Introduction to Go Templates
|
||||
|
||||
Go templates provide an extremely simple template language. It adheres to the
|
||||
belief that only the most basic of logic belongs in the template or view layer.
|
||||
One consequence of this simplicity is that go templates parse very quickly.
|
||||
|
||||
A unique characteristic of go templates is they are content aware. Variables and
|
||||
content will be sanitized depending on the context of where they are used. More
|
||||
details can be found in the [go docs][gohtmltemplate].
|
||||
|
||||
## Basic Syntax
|
||||
|
||||
Go lang templates are html files with the addition of variables and
|
||||
functions.
|
||||
|
||||
**Go variables and functions are accessible within {{ }}**
|
||||
|
||||
Accessing a predefined variable "foo":
|
||||
|
||||
{{ foo }}
|
||||
|
||||
**Parameters are separated using spaces**
|
||||
|
||||
Calling the add function with input of 1, 2:
|
||||
|
||||
{{ add 1 2 }}
|
||||
|
||||
**Methods and fields are accessed via dot notation**
|
||||
|
||||
Accessing the Page Parameter "bar"
|
||||
|
||||
{{ .Params.bar }}
|
||||
|
||||
**Parentheses can be used to group items together**
|
||||
|
||||
{{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
|
||||
|
||||
|
||||
## Variables
|
||||
|
||||
Each go template has a struct (object) made available to it. In hugo each
|
||||
template is passed either a page or a node struct depending on which type of
|
||||
page you are rendering. More details are available on the
|
||||
[variables](/layout/variables) page.
|
||||
|
||||
A variable is accessed by referencing the variable name.
|
||||
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
Variables can also be defined and referenced.
|
||||
|
||||
{{ $address := "123 Main St."}}
|
||||
{{ $address }}
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
Go template ship with a few functions which provide basic functionality. The go
|
||||
template system also provides a mechanism for applications to extend the
|
||||
available functions with their own. [Hugo template
|
||||
functions](/layout/functions) provide some additional functionality we believe
|
||||
are useful for building websites. Functions are called by using their name
|
||||
followed by the required parameters separated by spaces. Template
|
||||
functions cannot be added without recompiling hugo.
|
||||
|
||||
**Example:**
|
||||
|
||||
{{ add 1 2 }}
|
||||
|
||||
## Includes
|
||||
|
||||
When including another template you will pass to it the data it will be
|
||||
able to access. To pass along the current context please remember to
|
||||
include a trailing dot. The templates location will always be starting at
|
||||
the /layout/ directory within Hugo.
|
||||
|
||||
**Example:**
|
||||
|
||||
{{ template "chrome/header.html" . }}
|
||||
|
||||
|
||||
## Logic
|
||||
|
||||
Go templates provide the most basic iteration and conditional logic.
|
||||
|
||||
### Iteration
|
||||
|
||||
Just like in go, the go templates make heavy use of range to iterate over
|
||||
a map, array or slice. The following are different examples of how to use
|
||||
range.
|
||||
|
||||
**Example 1: Using Context**
|
||||
|
||||
{{ range array }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
**Example 2: Declaring value variable name**
|
||||
|
||||
{{range $element := array}}
|
||||
{{ $element }}
|
||||
{{ end }}
|
||||
|
||||
**Example 2: Declaring key and value variable name**
|
||||
|
||||
{{range $index, $element := array}}
|
||||
{{ $index }}
|
||||
{{ $element }}
|
||||
{{ end }}
|
||||
|
||||
### Conditionals
|
||||
|
||||
If, else, with, or, & and provide the framework for handling conditional
|
||||
logic in Go Templates. Like range, each statement is closed with `end`.
|
||||
|
||||
|
||||
Go Templates treat the following values as false:
|
||||
|
||||
* false
|
||||
* 0
|
||||
* any array, slice, map, or string of length zero
|
||||
|
||||
**Example 1: If**
|
||||
|
||||
{{ if isset .Params "title" }}<h4>{{ index .Params "title" }}</h4>{{ end }}
|
||||
|
||||
**Example 2: If -> Else**
|
||||
|
||||
{{ if isset .Params "alt" }}
|
||||
{{ index .Params "alt" }}
|
||||
{{else}}
|
||||
{{ index .Params "caption" }}
|
||||
{{ end }}
|
||||
|
||||
**Example 3: And & Or**
|
||||
|
||||
{{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
|
||||
|
||||
**Example 4: With**
|
||||
|
||||
An alternative way of writing "if" and then referencing the same value
|
||||
is to use "with" instead. With rebinds the context `.` within its scope,
|
||||
and skips the block if the variable is absent.
|
||||
|
||||
The first example above could be simplified as:
|
||||
|
||||
{{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}
|
||||
|
||||
**Example 5: If -> Else If**
|
||||
|
||||
{{ if isset .Params "alt" }}
|
||||
{{ index .Params "alt" }}
|
||||
{{ else if isset .Params "caption" }}
|
||||
{{ index .Params "caption" }}
|
||||
{{ end }}
|
||||
|
||||
## Pipes
|
||||
|
||||
One of the most powerful components of go templates is the ability to
|
||||
stack actions one after another. This is done by using pipes. Borrowed
|
||||
from unix pipes, the concept is simple, each pipeline's output becomes the
|
||||
input of the following pipe.
|
||||
|
||||
Because of the very simple syntax of go templates, the pipe is essential
|
||||
to being able to chain together function calls. One limitation of the
|
||||
pipes is that they only can work with a single value and that value
|
||||
becomes the last parameter of the next pipeline.
|
||||
|
||||
A few simple examples should help convey how to use the pipe.
|
||||
|
||||
**Example 1 :**
|
||||
|
||||
{{ if eq 1 1 }} Same {{ end }}
|
||||
|
||||
is the same as
|
||||
|
||||
{{ eq 1 1 | if }} Same {{ end }}
|
||||
|
||||
It does look odd to place the if at the end, but it does provide a good
|
||||
illustration of how to use the pipes.
|
||||
|
||||
**Example 2 :**
|
||||
|
||||
{{ index .Params "disqus_url" | html }}
|
||||
|
||||
Access the page parameter called "disqus_url" and escape the HTML.
|
||||
|
||||
**Example 3 :**
|
||||
|
||||
{{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
|
||||
Stuff Here
|
||||
{{ end }}
|
||||
|
||||
Could be rewritten as
|
||||
|
||||
{{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
|
||||
Stuff Here
|
||||
{{ end }}
|
||||
|
||||
|
||||
## Context (aka. the dot)
|
||||
|
||||
The most easily overlooked concept to understand about go templates is that {{ . }}
|
||||
always refers to the current context. In the top level of your template this
|
||||
will be the data set made available to it. Inside of a iteration it will have
|
||||
the value of the current item. When inside of a loop the context has changed. .
|
||||
will no longer refer to the data available to the entire page. If you need to
|
||||
access this from within the loop you will likely want to set it to a variable
|
||||
instead of depending on the context.
|
||||
|
||||
**Example:**
|
||||
|
||||
{{ $title := .Site.Title }}
|
||||
{{ range .Params.tags }}
|
||||
<li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
|
||||
{{ end }}
|
||||
|
||||
Notice how once we have entered the loop the value of {{ . }} has changed. We
|
||||
have defined a variable outside of the loop so we have access to it from within
|
||||
the loop.
|
||||
|
||||
# Hugo Parameters
|
||||
|
||||
Hugo provides the option of passing values to the template language
|
||||
through the site configuration (for sitewide values), or through the meta
|
||||
data of each specific piece of content. You can define any values of any
|
||||
type (supported by your front matter/config format) and use them however
|
||||
you want to inside of your templates.
|
||||
|
||||
|
||||
## Using Content (page) Parameters
|
||||
|
||||
In each piece of content you can provide variables to be used by the
|
||||
templates. This happens in the [front matter](/content/front-matter).
|
||||
|
||||
An example of this is used in this documentation site. Most of the pages
|
||||
benefit from having the table of contents provided. Sometimes the TOC just
|
||||
doesn't make a lot of sense. We've defined a variable in our front matter
|
||||
of some pages to turn off the TOC from being displayed.
|
||||
|
||||
Here is the example front matter:
|
||||
|
||||
```
|
||||
---
|
||||
title: "Permalinks"
|
||||
date: "2013-11-18"
|
||||
aliases:
|
||||
- "/doc/permalinks/"
|
||||
groups: ["extras"]
|
||||
groups_weight: 30
|
||||
notoc: true
|
||||
---
|
||||
```
|
||||
|
||||
Here is the corresponding code inside of the template:
|
||||
|
||||
{{ if not .Params.notoc }}
|
||||
<div id="toc" class="well col-md-4 col-sm-6">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
## Using Site (config) Parameters
|
||||
In your top-level configuration file (eg, `config.yaml`) you can define site
|
||||
parameters, which are values which will be available to you in chrome.
|
||||
|
||||
For instance, you might declare:
|
||||
|
||||
```yaml
|
||||
params:
|
||||
CopyrightHTML: "Copyright © 2013 John Doe. All Rights Reserved."
|
||||
TwitterUser: "spf13"
|
||||
SidebarRecentLimit: 5
|
||||
```
|
||||
|
||||
Within a footer layout, you might then declare a `<footer>` which is only
|
||||
provided if the `CopyrightHTML` parameter is provided, and if it is given,
|
||||
you would declare it to be HTML-safe, so that the HTML entity is not escaped
|
||||
again. This would let you easily update just your top-level config file each
|
||||
January 1st, instead of hunting through your templates.
|
||||
|
||||
```
|
||||
{{if .Site.Params.CopyrightHTML}}<footer>
|
||||
<div class="text-center">{{.Site.Params.CopyrightHTML | safeHtml}}</div>
|
||||
</footer>{{end}}
|
||||
```
|
||||
|
||||
An alternative way of writing the "if" and then referencing the same value
|
||||
is to use "with" instead. With rebinds the context `.` within its scope,
|
||||
and skips the block if the variable is absent:
|
||||
|
||||
```
|
||||
{{with .Site.Params.TwitterUser}}<span class="twitter">
|
||||
<a href="https://twitter.com/{{.}}" rel="author">
|
||||
<img src="/images/twitter.png" width="48" height="48" title="Twitter: {{.}}"
|
||||
alt="Twitter"></a>
|
||||
</span>{{end}}
|
||||
```
|
||||
|
||||
Finally, if you want to pull "magic constants" out of your layouts, you can do
|
||||
so, such as in this example:
|
||||
|
||||
```
|
||||
<nav class="recent">
|
||||
<h1>Recent Posts</h1>
|
||||
<ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}
|
||||
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
|
||||
{{end}}</ul>
|
||||
</nav>
|
||||
```
|
||||
|
||||
|
||||
[go]: <http://golang.org/>
|
||||
[gohtmltemplate]: <http://golang.org/pkg/html/template/>
|
88
themoes/cocoa-eh/exampleSite/content/blog/hugoisforlovers.md
Normal file
|
@ -0,0 +1,88 @@
|
|||
+++
|
||||
title = "Getting Started with Hugo"
|
||||
description = ""
|
||||
tags = [
|
||||
"go",
|
||||
"golang",
|
||||
"hugo",
|
||||
"development",
|
||||
]
|
||||
date = "2014-04-02"
|
||||
categories = [
|
||||
"Development",
|
||||
"golang",
|
||||
]
|
||||
+++
|
||||
|
||||
## Step 1. Install Hugo
|
||||
|
||||
Goto [hugo releases](https://github.com/spf13/hugo/releases) and download the
|
||||
appropriate version for your os and architecture.
|
||||
|
||||
Save it somewhere specific as we will be using it in the next step.
|
||||
|
||||
More complete instructions are available at [installing hugo](/overview/installing/)
|
||||
|
||||
## Step 2. Build the Docs
|
||||
|
||||
Hugo has its own example site which happens to also be the documentation site
|
||||
you are reading right now.
|
||||
|
||||
Follow the following steps:
|
||||
|
||||
1. Clone the [hugo repository](http://github.com/spf13/hugo)
|
||||
2. Go into the repo
|
||||
3. Run hugo in server mode and build the docs
|
||||
4. Open your browser to http://localhost:1313
|
||||
|
||||
Corresponding pseudo commands:
|
||||
|
||||
git clone https://github.com/spf13/hugo
|
||||
cd hugo
|
||||
/path/to/where/you/installed/hugo server --source=./docs
|
||||
> 29 pages created
|
||||
> 0 tags index created
|
||||
> in 27 ms
|
||||
> Web Server is available at http://localhost:1313
|
||||
> Press ctrl+c to stop
|
||||
|
||||
Once you've gotten here, follow along the rest of this page on your local build.
|
||||
|
||||
## Step 3. Change the docs site
|
||||
|
||||
Stop the Hugo process by hitting ctrl+c.
|
||||
|
||||
Now we are going to run hugo again, but this time with hugo in watch mode.
|
||||
|
||||
/path/to/hugo/from/step/1/hugo server --source=./docs --watch
|
||||
> 29 pages created
|
||||
> 0 tags index created
|
||||
> in 27 ms
|
||||
> Web Server is available at http://localhost:1313
|
||||
> Watching for changes in /Users/spf13/Code/hugo/docs/content
|
||||
> Press ctrl+c to stop
|
||||
|
||||
|
||||
Open your [favorite editor](http://vim.spf13.com) and change one of the source
|
||||
content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
|
||||
|
||||
Content files are found in `docs/content/`. Unless otherwise specified, files
|
||||
are located at the same relative location as the url, in our case
|
||||
`docs/content/overview/quickstart.md`.
|
||||
|
||||
Change and save this file.. Notice what happened in your terminal.
|
||||
|
||||
> Change detected, rebuilding site
|
||||
|
||||
> 29 pages created
|
||||
> 0 tags index created
|
||||
> in 26 ms
|
||||
|
||||
Refresh the browser and observe that the typo is now fixed.
|
||||
|
||||
Notice how quick that was. Try to refresh the site before it's finished building.. I double dare you.
|
||||
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
|
||||
|
||||
## Step 4. Have fun
|
||||
|
||||
The best way to learn something is to play with it.
|
7
themoes/cocoa-eh/exampleSite/content/home.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
+++
|
||||
title = "Home"
|
||||
+++
|
||||
|
||||
_This is the home page. It will display the blog section if there is one, and a text before._
|
||||
|
||||
Hey ! Welcome to the **Cocoa Enhanced theme**. Here are some articles :
|
28
themoes/cocoa-eh/exampleSite/content/license.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
+++
|
||||
title= "License"
|
||||
+++
|
||||
|
||||
You can use this page to put a license on the contents of your blog, like so:
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
> Copyright (c) 2015 Nishanth Shanmugham<nishanth.gerrard@gmail.com>
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
date = "2015-08-19T20:29:37-07:00"
|
||||
title = "Projects"
|
||||
+++
|
||||
|
||||
_In this theme, it is possible to add sections like a Projects one for example. You can add plenty of articles about your projects and a presentation page that will be displayed before the list. All is modulable, if you don't want something._
|
||||
|
||||
A Hollywood-funded film version, produced and filmed in the UK, was released in April 2005, and radio adaptations of the third, fourth, and fifth novels were broadcast from 2004 to 2005. Adams did many of these adaptations, including the novels, the TV series, the computer game, and the earliest drafts of the Hollywood film’s screenplay, and some of the stage shows introduced new material written by Adams.
|
|
@ -0,0 +1,12 @@
|
|||
+++
|
||||
title = "A small project example : add yours !"
|
||||
description = "Blah blah blah"
|
||||
date = "2017-01-01"
|
||||
tags = ["projects"]
|
||||
+++
|
||||
|
||||
Along with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\(character\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.
|
||||
|
||||
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
||||
|
||||
In time, he learns how to fly and carves a niche for himself as a sandwich-maker.
|
BIN
themoes/cocoa-eh/exampleSite/static/img/banner.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
themoes/cocoa-eh/exampleSite/static/img/low/startup.jpg
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
themoes/cocoa-eh/exampleSite/static/img/startup.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
themoes/cocoa-eh/images/screenshot.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
themoes/cocoa-eh/images/tn.png
Normal file
After Width: | Height: | Size: 81 KiB |
23
themoes/cocoa-eh/layouts/404.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>404 - Page not found</title>
|
||||
{{ partial "head_includes.html" . }}
|
||||
<style>
|
||||
{{ partial "css/404.css" . | safeCSS }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src={{ .Site.Params.logofile }} class="logo" alt="logo"></img>
|
||||
<div class="container f04">
|
||||
<div class="content">
|
||||
<section class="header">
|
||||
<div class="name">404</div>
|
||||
</section>
|
||||
<div class="detail">The page you were looking for does not exist.</div>
|
||||
<div class="suggestion"><a href="/">Visit the home page</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
28
themoes/cocoa-eh/layouts/_default/section.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
{{ partial "header.html" . }}
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
{{ $globalTitle := .Title}}
|
||||
<div class="markdown">
|
||||
{{ range .Data.Pages }}
|
||||
{{ if eq .Title $globalTitle }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="posts">
|
||||
{{ if ne (len (where .Data.Pages "Title" "!=" $globalTitle)) 0}}
|
||||
<div class="page-heading">{{ .Title }}</div>
|
||||
<ul>
|
||||
{{ range .Data.Pages.ByPublishDate }}
|
||||
{{ if ne .Title $globalTitle }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
12
themoes/cocoa-eh/layouts/_default/single.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{ partial "header.html" . }}
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
{{ partial "page-heading.html" . }}
|
||||
<div class="markdown">
|
||||
{{ partial "content" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
16
themoes/cocoa-eh/layouts/_default/taxonomy.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{ partial "header.html" . }}
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="posts">
|
||||
<div class="page-heading">Posts about {{ .Title }}</div>
|
||||
<ul>
|
||||
{{ range .Data.Pages.ByPublishDate }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
80
themoes/cocoa-eh/layouts/blog/single.html
Normal file
|
@ -0,0 +1,80 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<section class="main post non-narrow zero-top-spacing">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="front-matter">
|
||||
<div class="title-container">
|
||||
{{ partial "page-heading" . }}
|
||||
</div>
|
||||
<div class="meta">
|
||||
<div class="date" title="{{ .Date.Format .Site.Params.dateformfull }}">{{ .Date.Format .Site.Params.dateform }}</div>
|
||||
{{ if not .Params.noauthor }}
|
||||
{{ if .Params.author }}
|
||||
<div class="author" title="{{ .Params.Author }}"><div class="middot"></div>{{ .Params.author }}</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<div class="reading-time"><div class="middot"></div>{{ .ReadingTime }} minute read</div>
|
||||
<div class="tags">
|
||||
<ul>
|
||||
{{ range .Params.tags }}
|
||||
<div class="middot"></div>
|
||||
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tags">
|
||||
<ul>
|
||||
{{ if isset .Params "hacker_news_id" }}
|
||||
<div class="middot"></div>
|
||||
<li><a href="https://news.ycombinator.com/item?id={{ .Params.hacker_news_id }}">Hacker News</a> </li>
|
||||
{{ end }}
|
||||
{{ if isset .Params "lobsters_id" }}
|
||||
<div class="middot"></div>
|
||||
<li><a href="https://lobste.rs/s/{{ .Params.lobsters_id }}">Lobsters</a> </li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="markdown">
|
||||
{{ partial "content" . }}
|
||||
<br>
|
||||
</div>
|
||||
{{ if .Site.Params.share }}
|
||||
<div class="share">
|
||||
<a href="" class="ssk ssk-facebook"></a>
|
||||
<a href="" class="ssk ssk-twitter"></a>
|
||||
<a href="" class="ssk ssk-google-plus"></a>
|
||||
<a href="" class="ssk ssk-linkedin"></a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.posts_navigation }}
|
||||
<div class="navigation">
|
||||
{{ if .PrevInSection }}
|
||||
<div>
|
||||
<img class="icon" src="/img/back.svg" alt="back" />
|
||||
<a href="{{ .PrevInSection.Permalink }}">{{ .PrevInSection.Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div style="width: 100%;"></div>
|
||||
{{ if .NextInSection }}
|
||||
<div>
|
||||
<a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}</a>
|
||||
<img class="icon" src="/img/next.svg" alt="next" />
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
<div class="disqus">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ if .Site.Params.issoHost }}
|
||||
<div class="isso" id="isso-thread"></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ partial "footer.html" . }}
|
49
themoes/cocoa-eh/layouts/index.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
{{ partial "header.html" . }}
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
{{ range where .Data.Pages "Title" "Home" }}
|
||||
<div class="markdown">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Site.Params "latestpostcount" }}
|
||||
<div class="posts">
|
||||
{{ $nbPosts := len (where .Data.Pages "Section" "blog") }}
|
||||
{{ if gt $nbPosts 0 }}
|
||||
<div class="page-heading">Latest posts</div>
|
||||
<ul>
|
||||
{{ range (first .Site.Params.latestpostcount (where .Pages "Section" "blog")).GroupByDate "Jan, 2006" "desc" }}
|
||||
<li class="groupby">{{ .Key }}</li>
|
||||
{{ range .Pages.ByPublishDate }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ if gt $nbPosts .Site.Params.latestpostcount }}
|
||||
<a href="./blog/" class="see-more">See more ...</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="best-posts">
|
||||
{{ $nbPosts := len (where .Data.Pages "Params.best" true) }}
|
||||
{{ if gt $nbPosts 0 }}
|
||||
<div class="page-heading">Best posts</div>
|
||||
<ul>
|
||||
{{ range .Data.Pages.ByPublishDate }}
|
||||
{{ if eq .Params.best true }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
|
6
themoes/cocoa-eh/layouts/partials/content.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{ if .Site.Params.progressively }}
|
||||
{{ $newImage := (print "<figure class=\"progressive\"><img class=\"progressive__img progressive--not-loaded\" data-progressive=\"" .Site.BaseURL "$1/$2\" src=\"" .Site.BaseURL "$1/low/$2\" alt=$3 $4></figure>") }}
|
||||
{{ .Content | replaceRE "<img src=\"/(.*)\\/(.*)\" alt=(.*) (.*)>" $newImage | safeHTML }}
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
14
themoes/cocoa-eh/layouts/partials/css/404.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
.logo {
|
||||
vertical-align: middle;
|
||||
max-width: 300px;
|
||||
}
|
||||
.content {
|
||||
margin: 3em auto;
|
||||
text-align: center;
|
||||
}
|
||||
.header {
|
||||
margin-left: initial;
|
||||
margin-right: intial;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
65
themoes/cocoa-eh/layouts/partials/css/colors.css
Normal file
|
@ -0,0 +1,65 @@
|
|||
a {
|
||||
color: {{ .Param "colors.identifier" }};
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: {{ .Param "colors.identifier_dark" }};
|
||||
}
|
||||
|
||||
section.main .content .markdown, section.header .name, section.header nav ul li:hover {
|
||||
color: {{ .Param "colors.foreground" }};
|
||||
}
|
||||
|
||||
section.header nav ul li {
|
||||
color: {{ .Param "colors.trivial" }};
|
||||
}
|
||||
|
||||
section.main .content .markdown code {
|
||||
background-color: {{ .Param "colors.background" }};
|
||||
color: {{ .Param "colors.identifier" }};
|
||||
}
|
||||
|
||||
section.main .content .markdown pre, section.main .content .markdown pre code {
|
||||
background-color: {{ .Param "colors.background_dark" }};
|
||||
color: {{ .Param "colors.code" }};
|
||||
}
|
||||
|
||||
.hljs, .hljs-subst, .hljs-variable {
|
||||
color: {{ .Param "colors.code" }};
|
||||
}
|
||||
|
||||
.hljs-type {
|
||||
color: {{ .Param "colors.type" }};
|
||||
}
|
||||
|
||||
.hljs-quote {
|
||||
color: {{ .Param "colors.special" }};
|
||||
}
|
||||
|
||||
.hljs-string, .hljs-number, .hljs-selector-id, .hljs-selector-class, .hljs-template-tag, .hljs-deletion {
|
||||
color: {{ .Param "colors.value" }};
|
||||
}
|
||||
|
||||
.hljs-comment {
|
||||
color: {{ .Param "colors.trivial" }};
|
||||
}
|
||||
|
||||
.hljs-regexp, .hljs-symbol, .hljs-template-variable {
|
||||
color: {{ .Param "colors.special" }};
|
||||
}
|
||||
|
||||
.hljs-keyword, .hljs-attribute, .hljs-meta-keyword, .hljs-doctag, .hljs-name {
|
||||
color: {{ .Param "colors.type" }};
|
||||
}
|
||||
|
||||
.hljs-link, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-title, .hljs-section {
|
||||
color: {{ .Param "colors.statement" }};
|
||||
}
|
||||
|
||||
.hljs-built_in, .hljs-bullet, .hljs-code, .hljs-addition {
|
||||
color: {{ .Param "colors.type" }};
|
||||
}
|
||||
|
||||
.ssk {
|
||||
background-color: {{ .Param "colors.trivial" }};
|
||||
}
|
1
themoes/cocoa-eh/layouts/partials/css/highlight.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-string,.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#a71d5d}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#795da3}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}
|
701
themoes/cocoa-eh/layouts/partials/css/main.css
Normal file
|
@ -0,0 +1,701 @@
|
|||
@font-face {
|
||||
font-family: 'Nexa Bold';
|
||||
src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf');
|
||||
}
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
a,
|
||||
a:visited,
|
||||
a:focus,
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
html {
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
body {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
font-weight: 400;
|
||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||
color: #111111;
|
||||
line-height: 1.6;
|
||||
text-rendering: optimizeLegibility !important;
|
||||
}
|
||||
.icon {
|
||||
text-rendering: geometricPrecision !important;
|
||||
}
|
||||
section {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
.container {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
section.header .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
section.header .content {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
}
|
||||
section.header .container .logo {
|
||||
max-width: 100px;
|
||||
margin-left: -2em;
|
||||
}
|
||||
section.header .name {
|
||||
padding-top: 20px;
|
||||
font-size: 28px;
|
||||
font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif;
|
||||
letter-spacing: -0.005rem;
|
||||
text-transform: uppercase;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
color: #333333;
|
||||
color: #555555;
|
||||
}
|
||||
section.header nav {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
section.header nav ul {
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
display: -webkit-inline-flex;
|
||||
display: -moz-inline-flex;
|
||||
display: -ms-inline-flexbox;
|
||||
display: -ms-inline-flex;
|
||||
display: inline-flex;
|
||||
}
|
||||
section.header nav ul a {
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
section.header nav ul a:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
section.header nav ul a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
section.header nav ul li {
|
||||
color: #555555;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
}
|
||||
section.header nav ul li:hover {
|
||||
color: #111111;
|
||||
}
|
||||
section.footer .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
flex-direction: column-reverse;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
section.footer .container a {
|
||||
font-size: 14px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
opacity: 0.6;
|
||||
-webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
}
|
||||
section.footer .container a:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
section.footer .container a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
section.footer .container a:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
section.footer .container a .icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
section.footer .container .copyright {
|
||||
flex-grow: 0.5;
|
||||
text-align: start;
|
||||
}
|
||||
section.footer .container .icons {
|
||||
flex-grow: 0.5;
|
||||
text-align: end;
|
||||
}
|
||||
section.main .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
section.main .content {
|
||||
color: #111111;
|
||||
font-size: 16px;
|
||||
}
|
||||
section.main .content .title-container {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-moz-justify-content: space-between;
|
||||
-ms-justify-content: space-between;
|
||||
justify-content: space-between;
|
||||
}
|
||||
section.main .content .posts {
|
||||
margin-bottom: 4em;
|
||||
}
|
||||
section.main .content .page-heading {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||
letter-spacing: -0.005rem;
|
||||
text-transform: uppercase;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
color: #333333;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
section.main .content .front-matter .page-heading {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section.main .content .front-matter .meta {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
section.main .content .front-matter .date,
|
||||
section.main .content .front-matter .author,
|
||||
section.main .content .front-matter .tags,
|
||||
section.main .content .front-matter .word-count,
|
||||
section.main .content .front-matter .reading-time .middot {
|
||||
display: none;
|
||||
}
|
||||
section.main .content .front-matter .middot {
|
||||
font-size: 6px;
|
||||
margin: 0 6px;
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
section.main .content .front-matter .middot:before {
|
||||
content: "•";
|
||||
}
|
||||
section.main .content .front-matter .tags ul {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
}
|
||||
section.main .content .front-matter .tags ul li {
|
||||
-webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
}
|
||||
section.main .content .front-matter .tags ul li:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
section.main .content .front-matter .tags ul li a {
|
||||
color: #666666;
|
||||
}
|
||||
section.main .container.f04 {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
section.main .container.f04 .content {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
}
|
||||
section.main .container.f04 .content .num {
|
||||
margin: 30px 0px 30px 0;
|
||||
font-weight: 400;
|
||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||
font-size: 50px;
|
||||
}
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
section.main .container .content .groupby {
|
||||
margin-top: 1em;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
section.main .container .content .post-item {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
display: list-item;
|
||||
list-style: disc inside;
|
||||
}
|
||||
section.main .container .content .post-item .meta {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
display: none;
|
||||
min-width: 100px;
|
||||
}
|
||||
section.main .container .content .see-more {
|
||||
font-style: italic;
|
||||
float: right;
|
||||
font-size: 0.9em;
|
||||
margin-top: 2em;
|
||||
color: #313537;
|
||||
}
|
||||
section.main .container .content .see-more:hover {
|
||||
color: #666;
|
||||
}
|
||||
section {
|
||||
padding: 0 16px;
|
||||
}
|
||||
section.header {
|
||||
padding-top: 10px;
|
||||
}
|
||||
section.header-home {
|
||||
padding-top: 36px;
|
||||
}
|
||||
section.main {
|
||||
padding-top: 32px;
|
||||
}
|
||||
section.main .container .content .post-item .meta {
|
||||
display: block;
|
||||
}
|
||||
section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
}
|
||||
a {
|
||||
color: #428bca;
|
||||
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
}
|
||||
a:hover {
|
||||
color: #2a6496;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
section.main .content {
|
||||
width: 100%;
|
||||
}
|
||||
section.main .content .markdown {
|
||||
font-size: 1.1em;
|
||||
line-height: 1.75em;
|
||||
color: #313537;
|
||||
font-family: serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
section.main .content .markdown h1,
|
||||
section.main .content .markdown h2,
|
||||
section.main .content .markdown h3,
|
||||
section.main .content .markdown h4,
|
||||
section.main .content .markdown h5,
|
||||
section.main .content .markdown h6 {
|
||||
font-size: 22px;
|
||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||
letter-spacing: -0.005rem;
|
||||
font-weight: 700;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
color: #333333;
|
||||
text-transform: none;
|
||||
margin-top: 1.75rem;
|
||||
}
|
||||
section.main .content .markdown h1 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
section.main .content .markdown h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
section.main .content .markdown h3 {
|
||||
font-size: 1em;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
section.main .content .markdown h4,
|
||||
section.main .content .markdown h5,
|
||||
section.main .content .markdown h6 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
letter-spacing: none;
|
||||
}
|
||||
section.main .content .markdown code,
|
||||
section.main .content .markdown pre {
|
||||
font-family: 'Menlo', monospace;
|
||||
font-size: 0.98rem;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
section.main .content .markdown code {
|
||||
/* enclosed by single backtick (`) */
|
||||
padding: .15em .5em;
|
||||
border-radius: 2px;
|
||||
}
|
||||
section.main .content .markdown pre {
|
||||
/* Hugo specific: consider using the 'highlight' shortcode */
|
||||
display: block;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
padding: 1rem;
|
||||
line-height: 1.5em;
|
||||
white-space: pre;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
section.main .content .markdown pre code {
|
||||
/* enclosed by 4 backticks (````) */
|
||||
padding: 0;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
section.main .content .markdown a code {
|
||||
color: #428bca !important;
|
||||
}
|
||||
section.main .content .markdown a code:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
section.main .content .markdown p {
|
||||
{{if .Site.Params.align_left}}
|
||||
text-align: left;
|
||||
{{else}}
|
||||
text-align: justify;
|
||||
{{end}}
|
||||
margin-top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
section.main .content .markdown ul,
|
||||
section.main .content .markdown ol,
|
||||
section.main .content .markdown dl {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
section.main .content .markdown dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
section.main .content .markdown dd {
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
section.main .content .markdown ul {
|
||||
list-style-type: disc;
|
||||
list-style-position: outside;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
section.main .content .markdown ol {
|
||||
list-style-type: decimal;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
section.main .content .markdown li {
|
||||
margin-left: 2em;
|
||||
}
|
||||
section.main .content .markdown em {
|
||||
font-style: italic;
|
||||
}
|
||||
section.main .content .markdown strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
section.main .content .markdown hr {
|
||||
position: relative;
|
||||
margin: 1.75rem 0;
|
||||
border: 0;
|
||||
border-top: 1px solid #808080;
|
||||
border-top: 1px solid #999999;
|
||||
}
|
||||
section.main .content .markdown abbr {
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
color: #666666;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
section.main .content .markdown abbr[title] {
|
||||
cursor: help;
|
||||
border-bottom: 1px dotted #808080;
|
||||
}
|
||||
section.main .content .markdown blockquote {
|
||||
padding: .5rem 1rem;
|
||||
margin: .8rem 0;
|
||||
color: #7a7a7a;
|
||||
border-left: .25rem solid #e5e5e5;
|
||||
}
|
||||
section.main .content .markdown blockquote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section.main .content .markdown figure {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
section.main .content .markdown figure img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
position: static;
|
||||
margin: auto;
|
||||
}
|
||||
section.main .content .markdown table {
|
||||
margin-bottom: 1rem;
|
||||
width: 100%;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
section.main .content .markdown td,
|
||||
section.main .content .markdown th {
|
||||
padding: .25rem .5rem;
|
||||
border: 1px solid #e5e5e5;
|
||||
}
|
||||
section.main .content .markdown tbody tr:nth-child(odd) td,
|
||||
section.main .content .markdown tbody tr:nth-child(odd) th {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
section.main .content .markdown .footnotes ol {
|
||||
list-style-type: decimal;
|
||||
margin-left: 16px;
|
||||
}
|
||||
section.main .content .markdown .footnotes li {
|
||||
list-style-type: unset;
|
||||
}
|
||||
section.main .content .markdown .footnote-ref {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
section.main .content .navigation {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
padding: 2em;
|
||||
}
|
||||
section.main .content .navigation div {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
margin-top: 1em;
|
||||
}
|
||||
section.main .content .navigation .icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
section.main .content .navigation a {
|
||||
width: 250px;
|
||||
margin: 0 1em;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
color: #313537;
|
||||
}
|
||||
section.main .content .share, section.main .content .share div {
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
section.main .content .share {
|
||||
background-color: rgba(152, 152, 152, 0.07);
|
||||
padding: 1em 0;
|
||||
}
|
||||
section.main .content .share a {
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
|
||||
.wf-raleway-n4-active body,
|
||||
.wf-raleway-n4-active section.header nav ul li,
|
||||
.wf-raleway-n7-active section.main .content .page-heading,
|
||||
.wf-raleway-n2-active section.main .container.f04 .content .num,
|
||||
.wf-raleway-n7-active section.main .content .markdown h1,
|
||||
.wf-raleway-n7-active section.main .content .markdown h2,
|
||||
.wf-raleway-n7-active section.main .content .markdown h3,
|
||||
.wf-raleway-n7-active section.main .content .markdown h4,
|
||||
.wf-raleway-n7-active section.main .content .markdown h5,
|
||||
.wf-raleway-n7-active section.main .content .markdown h6 {
|
||||
font-family: 'Raleway';
|
||||
}
|
||||
|
||||
.wf-merriweather-n3-active section.main .content .markdown {
|
||||
font-family: 'Merriweather';
|
||||
}
|
||||
|
||||
.wf-ubuntu-mono-n4-active section.main .content .markdown code,
|
||||
.wf-ubuntu-mono-n4-active section.main .content .markdown pre {
|
||||
font-family: 'Ubuntu Mono';
|
||||
}
|
147
themoes/cocoa-eh/layouts/partials/css/min600px.css
Normal file
|
@ -0,0 +1,147 @@
|
|||
body {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.non-narrow.zero-top-spacing {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
section {
|
||||
padding: 0 16px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
max-width: 750px;
|
||||
}
|
||||
section.header {
|
||||
background-color: transparent;
|
||||
}
|
||||
section.header .container {
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
section.header .container .logo {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
section.header-home .container .logo {
|
||||
max-width: 180px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
section.header-home .name-home {
|
||||
padding-top: 30px;
|
||||
font-size: 40px;
|
||||
}
|
||||
section.header-home nav ul li {
|
||||
font-size: 18px;
|
||||
}
|
||||
section.header .content {
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
section.header .name {
|
||||
color: #333333;
|
||||
}
|
||||
section.header nav {
|
||||
font-size: 14px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section.header nav ul {
|
||||
text-align: left;
|
||||
}
|
||||
section.header nav ul li {
|
||||
color: #666666;
|
||||
}
|
||||
section.header nav ul li:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
section.footer .container {
|
||||
flex-direction: row;
|
||||
}
|
||||
section.footer .container a {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
color: #666666;
|
||||
}
|
||||
section.footer .container a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.footer .container a .icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
section.footer .container a .icon.larger {
|
||||
font-size: 20px;
|
||||
}
|
||||
section.main .content .front-matter .date,
|
||||
section.main .content .front-matter .author,
|
||||
section.main .content .front-matter .tags,
|
||||
section.main .content .front-matter .word-count,
|
||||
section.main .content .front-matter .reading-time .middot {
|
||||
display: initial;
|
||||
}
|
||||
section.main .container.f04 {
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
section.main .container.f04 .content {
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
section.main .container.f04 .content .num {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 32px;
|
||||
}
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.container {
|
||||
padding: 0 30px;
|
||||
}
|
||||
section.header {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.footer {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.main {
|
||||
padding-top: 0;
|
||||
}
|
||||
section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
section.main .container .content .post-item .meta {
|
||||
display: block;
|
||||
}
|
||||
section.main.post {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.main .content .markdown blockquote {
|
||||
padding-right: 5rem;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
section.main .content .navigation {
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
section.main .content .navigation div {
|
||||
margin-top: 0em;
|
||||
}
|
13
themoes/cocoa-eh/layouts/partials/css/min769px.css
Normal file
|
@ -0,0 +1,13 @@
|
|||
section.main .content .markdown figure {
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
||||
section.main .content .markdown img {
|
||||
max-width: 110%;
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
||||
section.main .content .markdown pre {
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
1
themoes/cocoa-eh/layouts/partials/css/progressively.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.progressive{overflow:hidden;position:relative;background:#efefef}.progressive__img{width:100%;height:100%;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}.progressive--not-loaded{filter:blur(30px);-webkit-filter:blur(30px)}.progressive--is-loaded{filter:blur(20px);-webkit-filter:blur(20px);-webkit-animation:sharpen .5s both;animation:sharpen .5s both}@-webkit-keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}}@keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}}
|
62
themoes/cocoa-eh/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,62 @@
|
|||
<section class="footer">
|
||||
<div class="container">
|
||||
|
||||
{{ if .Site.Params.githubRepo }}
|
||||
<div class="copyright">
|
||||
<a href="https://github.com/{{ .Site.Params.githubRepo }}/tree/master/content/{{ .File.Path }}" target="_blank">View this post on GitHub</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="copyright">
|
||||
|
||||
{{ if .Site.Params.copyright }}
|
||||
{{ .Site.Params.copyright }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
<div class="icons">
|
||||
|
||||
{{ if .Site.Params.facebook }}
|
||||
<a href="https://facebook.com/{{ .Site.Params.facebook }}" target="_blank">
|
||||
<img class="icon" src="/img/facebook.svg" alt="facebook" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.github }}
|
||||
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
|
||||
<img class="icon" src="/img/github.svg" alt="github" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.twitter }}
|
||||
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank">
|
||||
<img class="icon" src="/img/twitter.svg" alt="twitter" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.linkedin }}
|
||||
<a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" target="_blank">
|
||||
<img class="icon" src="/img/linkedin.svg" alt="linkedin" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.email }}
|
||||
<a href="mailto:{{ .Site.Params.email }}">
|
||||
<img class="icon" src="/img/email.svg" alt="email" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.RSSLink }}
|
||||
<a href="{{ .Site.RSSLink }}">
|
||||
<img class="icon" src="/img/rss.svg" alt="rss" />
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ partial "footer_scripts" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
54
themoes/cocoa-eh/layouts/partials/footer_scripts.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
||||
<script>
|
||||
WebFont.load({
|
||||
google: {
|
||||
families: ['Raleway:400,600,700', 'Merriweather:300,300i,700,700i', 'Ubuntu+Mono:400,700']
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
<script src="{{ .Site.BaseURL }}js/highlight.min.js" defer></script>
|
||||
{{ range .Site.Params.highlightjslanguages }}
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/{{.}}.min.js" defer></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.progressively }}
|
||||
<script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if .Site.Params.issoHost }}
|
||||
<script
|
||||
data-isso="//{{ .Site.Params.issoHost }}/"
|
||||
data-isso-css="true"
|
||||
data-isso-lang="{{ .Site.LanguageCode }}"
|
||||
src="//{{ .Site.Params.issoHost }}/js/embed.min.js"
|
||||
></script>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.share }}
|
||||
<script src="{{ .Site.BaseURL }}js/social-share-kit.min.js" defer></script>
|
||||
{{ end }}
|
||||
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
|
||||
<script>
|
||||
window.onload = function() {
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
hljs.initHighlighting();
|
||||
{{ end }}
|
||||
{{ if .Site.Params.progressively }}
|
||||
progressively.init({delay: 30, throttle: 50});
|
||||
{{ end }}
|
||||
{{ if .Site.Params.share }}
|
||||
SocialShareKit.init({
|
||||
twitter: {
|
||||
text: '',
|
||||
{{ if .Site.Params.twitter }}via: '{{ .Site.Params.twitter }}'{{ end }}
|
||||
}
|
||||
});
|
||||
{{ end }}
|
||||
};
|
||||
</script>
|
13
themoes/cocoa-eh/layouts/partials/head.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<head>
|
||||
{{ partial "meta.html" . }}
|
||||
<title>
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
||||
{{ if eq $url "" }}
|
||||
{{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }}
|
||||
{{ end }}
|
||||
</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ partial "head_includes.html" . }}
|
||||
</head>
|
74
themoes/cocoa-eh/layouts/partials/head_includes.html
Normal file
|
@ -0,0 +1,74 @@
|
|||
<!-- CSS -->
|
||||
|
||||
<style media="screen">
|
||||
{{ partial "css/main.css" . | safeCSS }}
|
||||
</style>
|
||||
<style media="(min-width: 600px)">
|
||||
{{ partial "css/min600px.css" . | safeCSS }}
|
||||
</style>
|
||||
<style media="(min-width: 769px)">
|
||||
{{ partial "css/min769px.css" . | safeCSS }}
|
||||
</style>
|
||||
|
||||
<noscript>
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:400,600,700" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet">
|
||||
</noscript>
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
<style type="text/css" media="screen">
|
||||
{{ partial "css/highlight.min.css" . | safeCSS }}
|
||||
</style>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.progressively }}
|
||||
<style type="text/css" media="screen">
|
||||
{{ partial "css/progressively.min.css" . | safeCSS }}
|
||||
</style>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.share }}
|
||||
<style type="text/css" media="screen">
|
||||
{{ partial "css/social-share-kit.css" . | safeCSS }}
|
||||
</style>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.colors }}
|
||||
<style type="text/css" media="screen">
|
||||
{{ partial "css/colors.css" . | safeCSS }}
|
||||
</style>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.extracssfiles }}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.issoHost }}
|
||||
<style type="text/css" media="screen">
|
||||
.isso section {
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
{{ end }}
|
||||
|
||||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.faviconfile }}
|
||||
href="{{ .Site.Params.faviconfile | absURL }}"
|
||||
{{ else }}
|
||||
href="{{ .Site.BaseURL }}img/favicon.ico"
|
||||
{{ end }}
|
||||
>
|
||||
|
||||
<!-- RSS -->
|
||||
{{ if .RSSLink }}
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- Google site verification -->
|
||||
<meta name="google-site-verification" content="e6zZ0IYoNKd2iP_M1lGPUAFVt8YfI93uN5uPWWbZUkc" />
|
||||
|
||||
<!-- OpenID -->
|
||||
<link href='https://ariejan.wordpress.com/?openidserver=1' rel='openid.server'>
|
||||
<link href='https://ariejan.wordpress.com/' rel='openid.delegate'>
|
37
themoes/cocoa-eh/layouts/partials/header.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body>
|
||||
|
||||
{{ if or (.Site.Params.small_banner_logo) (.IsPage) }}
|
||||
<section class="header">
|
||||
{{ else }}
|
||||
<section class="header header-home">
|
||||
{{ end }}
|
||||
<div class="container">
|
||||
<a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo" /></a>
|
||||
<div class="content">
|
||||
<a href="{{ .Site.BaseURL }}"><div class="name"><h1>{{ .Site.Title }}</h1></div></a>
|
||||
<nav>
|
||||
<ul>
|
||||
{{ if ne (len (where .Site.RegularPages "Section" "blog")) 0 }}
|
||||
<a href="{{ .Site.BaseURL }}blog/"><li>Blog</li></a>
|
||||
{{ end }}
|
||||
{{ range $.Site.Home.Sections }}
|
||||
{{ range first 1 (where .Pages "Section" "ne" "")}}
|
||||
{{ if ne .Section "blog"}}
|
||||
<a href="{{ .Section | urlize | absURL }}"><li>{{ .Section }}</li></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<a href="/categories/audio-repair"><li>Audio Repair</li></a>
|
||||
<a href="/categories/electronics"><li>Electronics</li></a>
|
||||
<a href="/about"><li>About</li></a>
|
||||
<a href="/gpg"><li>GPG</li></a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
4
themoes/cocoa-eh/layouts/partials/li.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<li class="post-item">
|
||||
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
|
||||
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
|
||||
</li>
|
26
themoes/cocoa-eh/layouts/partials/meta.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
|
||||
|
||||
{{ if .Site.Params.twitter }}
|
||||
<meta property="twitter:site" content="@{{.Site.Params.twitter}}">
|
||||
{{ end }}
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:locale" content="nn_NO" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:title" content="{{ .Title }}" />
|
||||
<meta property="twitter:title" content="{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}">
|
||||
{{ if .Site.Params.social_banner }}
|
||||
<meta property="og:image" content="{{ if .Params.meta_img }}{{ .Site.BaseURL }}{{ .Params.meta_img }}{{ else }}{{ .Site.BaseURL }}{{.Site.Params.social_banner}}{{ end }}">
|
||||
<meta property="twitter:card" content="{{ if .Site.Params.usesmallsummarycard }}summary{{ else }}summary_large_image{{ end }}">
|
||||
<meta property="twitter:image" content="{{ if .Params.meta_img }}{{ .Site.BaseURL }}{{ .Params.meta_img }}{{ else }}{{ .Site.BaseURL }}{{.Site.Params.social_banner}}{{ end }}">
|
||||
{{ else }}
|
||||
<meta property="twitter:card" content="summary">
|
||||
{{ end }}
|
||||
<meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}">
|
||||
<meta property="twitter:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}">
|
7
themoes/cocoa-eh/layouts/partials/page-heading.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div class="page-heading">
|
||||
{{ if .Params.heading }}
|
||||
{{ .Params.heading }}
|
||||
{{ else }}
|
||||
{{ .Title }}
|
||||
{{ end }}
|
||||
</div>
|
19
themoes/cocoa-eh/layouts/section/blog.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ partial "header.html" . }}
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="posts">
|
||||
<div class="page-heading">Blog</div>
|
||||
<ul>
|
||||
{{ range .Data.Pages.GroupByDate "Jan, 2006" "desc"}}
|
||||
<li class="groupby">{{ .Key }}</li>
|
||||
{{ range .Pages.ByPublishDate }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
BIN
themoes/cocoa-eh/static/fonts/Nexa Bold.otf
Normal file
BIN
themoes/cocoa-eh/static/fonts/social-share-kit.eot
Normal file
34
themoes/cocoa-eh/static/fonts/social-share-kit.svg
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by Fontastic.me</metadata>
|
||||
<defs>
|
||||
<font id="social-share-kit" horiz-adv-x="512">
|
||||
<font-face font-family="social-share-kit" units-per-em="512" ascent="480" descent="-32"/>
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
|
||||
<glyph glyph-name="facebook" unicode="a" d="M292 353l74 0-9-81-65 0 0-235-97 0 0 235-49 0 0 81 49 0 0 49c0 35 8 61 24 79 17 18 44 26 81 26l65 0 0-81-40 0c-8 0-14 0-18-2-5-1-8-3-10-6-2-4-3-7-4-10 0-3-1-8-1-14z"/>
|
||||
<glyph glyph-name="twitter" unicode="b" d="M481 395c-13-18-28-34-46-47 0-3 0-7 0-12 0-25-3-50-11-74-7-25-18-49-33-71-14-23-32-43-52-61-21-17-45-31-74-41-29-11-60-16-92-16-52 0-99 14-142 42 7-1 14-2 22-2 43 0 81 14 115 40-20 0-38 6-54 18-16 12-27 27-33 46 7-1 13-2 18-2 8 0 16 1 24 4-21 4-39 15-53 31-14 17-21 37-21 59l0 1c13-7 27-11 42-11-13 8-23 19-30 32-8 14-11 29-11 44 0 17 4 33 12 47 23-28 51-51 84-68 33-17 69-27 107-29-2 8-3 15-3 22 0 25 9 47 27 65 18 18 40 27 66 27 26 0 49-10 67-29 21 4 40 11 59 22-7-22-21-39-41-51 18 2 35 7 53 14z"/>
|
||||
<glyph glyph-name="google-plus-old" unicode="c" d="M269 93c0 4-1 8-2 12-1 4-1 7-2 10-1 3-3 7-5 10-3 4-5 6-6 9-2 2-5 5-8 8-3 4-6 6-8 8-2 1-5 4-9 7-4 3-7 5-9 6-1 2-5 4-9 7-5 3-8 5-9 6-3 0-8 1-14 1-11 0-21-1-31-2-9-2-20-4-30-8-11-3-20-7-28-13-8-5-15-12-20-21-5-9-8-19-8-31 0-13 4-24 10-34 7-11 16-19 27-24 11-6 22-11 34-13 12-3 24-5 37-5 11 0 22 1 32 4 10 2 19 6 28 11 9 5 16 12 22 21 5 9 8 19 8 31z m-35 247c0 11-1 23-4 36-4 13-8 25-14 37-6 12-14 22-24 30-10 8-21 12-34 12-18 0-31-7-41-20-10-13-15-29-15-47 0-9 1-18 4-28 2-10 5-20 10-30 4-10 10-19 16-27 6-8 13-14 22-19 9-5 18-7 28-7 18 0 32 5 40 17 8 11 12 27 12 46z m-37 135l125 0-39-22-38 0c13-9 24-21 31-36 7-16 11-32 11-48 0-15-2-27-6-38-5-11-10-20-16-26-7-7-13-13-19-19-7-5-12-11-16-17-5-6-7-13-7-20 0-5 2-9 5-14 3-5 7-9 12-14 5-4 11-9 17-14 6-4 12-10 18-15 6-6 12-13 17-19 5-7 9-15 12-25 3-9 5-19 5-30 0-30-13-57-40-81-29-25-69-37-120-37-11 0-23 1-34 3-12 2-23 5-35 9-12 5-22 10-31 17-9 7-16 15-22 25-6 11-9 22-9 35 0 12 4 25 11 39 6 12 15 22 27 31 12 9 26 16 42 21 15 4 30 8 44 10 14 2 28 3 43 4-12 16-18 30-18 42 0 3 0 5 0 7 1 2 1 4 2 6 0 1 1 3 2 6 1 2 1 4 2 6-8-1-14-2-20-2-29 0-53 10-73 28-20 19-31 43-31 71 0 26 9 50 28 71 18 21 40 35 66 41 18 4 36 5 54 5z m297-73l0-36-73 0 0-73-37 0 0 73-73 0 0 36 73 0 0 73 37 0 0-73z"/>
|
||||
<glyph glyph-name="email" unicode="d" d="M512 309l0-227c0-12-4-23-13-32-9-9-20-13-33-13l-420 0c-13 0-24 4-33 13-9 9-13 20-13 32l0 227c8-9 18-17 29-25 69-47 116-79 142-98 11-8 20-15 26-19 7-4 16-9 27-14 12-4 22-7 32-7l0 0c10 0 20 3 32 7 11 5 20 10 27 14 6 4 15 11 26 19 33 23 80 56 142 98 11 8 21 16 29 25z m0 84c0-15-5-29-14-43-9-14-21-25-35-35-71-50-116-81-134-93-1-1-6-4-12-9-6-4-11-8-15-11-4-2-9-5-15-9-6-3-11-6-16-8-6-1-10-2-15-2l0 0c-5 0-9 1-15 2-5 2-10 5-16 8-6 4-11 7-15 9-4 3-9 7-15 11-6 5-11 8-12 9-18 12-43 30-75 52-33 23-52 36-59 41-12 8-23 19-33 33-11 14-16 27-16 39 0 15 4 27 12 37 8 10 19 15 34 15l420 0c13 0 23-5 32-14 9-9 14-19 14-32z"/>
|
||||
<glyph glyph-name="pinterest" unicode="e" d="M222 174c-9-44-19-80-29-108-11-28-28-50-50-66-2 25-3 46-3 61-1 16 1 35 5 57 5 22 8 39 12 53 3 14 8 31 13 51 5 20 10 37 12 50-8 18-11 38-9 60 1 22 9 40 24 54 15 14 32 18 51 10 13-5 21-15 22-30 2-15-1-31-6-49-6-17-12-35-17-52-5-18-6-33-2-46 4-14 15-22 33-25 23-5 43 1 61 19 19 18 31 40 38 67 8 27 9 55 6 84-3 28-13 50-28 65-21 22-47 34-77 36-30 2-58-4-83-17-26-13-46-33-62-60-16-27-21-56-16-87 1-7 5-16 11-27 6-10 10-18 11-24 1-5-2-17-9-34-50 12-74 51-72 118 2 47 20 87 54 120 35 32 74 52 119 57 56 6 106-4 149-29 43-26 67-63 74-112 9-60-3-115-34-163-32-48-75-70-129-66-8 1-15 3-22 5-7 2-12 5-15 7-3 2-9 5-16 10-7 5-12 9-16 11"/>
|
||||
<glyph glyph-name="tumblr" unicode="f" d="M221 475l63 0 0-110 104 0 0-69-104 0 0-113c0-26 1-42 4-49 2-7 7-13 15-17 9-6 20-9 33-9 22 0 44 7 66 22l0-69c-19-10-36-16-51-19-14-4-31-5-49-5-20 0-38 2-53 7-15 5-28 12-40 22-11 9-18 19-22 30-4 10-6 25-6 46l0 154-49 0 0 62c17 5 32 13 44 24 12 10 22 23 30 37 7 15 12 34 15 56z"/>
|
||||
<glyph glyph-name="linkedin" unicode="g" d="M136 333l0-283-94 0 0 283z m6 88c0-14-4-26-14-35-10-9-23-14-39-14l0 0c-16 0-29 5-38 14-10 9-14 21-14 35 0 14 4 26 14 35 10 9 23 14 39 14 16 0 28-5 38-14 9-9 14-21 14-35z m333-208l0-163-94 0 0 152c0 20-3 35-11 47-8 11-20 17-36 17-12 0-22-4-30-10-9-7-15-15-19-25-2-5-3-13-3-23l0-158-94 0c1 76 1 138 1 185 0 47 0 76 0 85l-1 13 94 0 0-41 0 0c4 6 7 12 11 16 4 5 10 10 17 15 6 5 15 10 24 13 10 3 21 4 33 4 33 0 59-11 79-32 20-22 29-54 29-95z"/>
|
||||
<glyph glyph-name="github" unicode="h" d="M475 256c0-48-14-91-41-129-28-38-64-65-109-79-5-1-8-1-11 2-2 2-3 5-3 8l0 61c0 18-5 32-15 40 11 1 20 3 29 5 9 3 18 6 27 11 9 6 17 12 23 19 6 8 11 18 15 30 4 13 6 27 6 43 0 23-8 43-23 59 7 18 7 37-2 59-5 1-13 0-23-4-10-3-19-8-26-12l-11-7c-18 5-36 7-55 7-19 0-37-2-55-7-3 2-7 5-12 8-5 3-13 6-24 11-11 4-19 5-24 4-9-22-9-41-2-59-15-16-23-36-23-59 0-16 2-30 6-42 4-13 9-23 15-30 6-8 14-14 23-20 9-5 18-8 27-11 8-2 18-4 29-5-8-7-12-17-14-29-4-2-8-4-13-5-4-1-10-1-16-1-6 0-13 2-19 6-6 4-11 10-16 18-3 6-8 11-14 15-5 4-10 6-14 7l-5 1c-4 0-7-1-9-2-1-1-2-2-1-3 0-1 1-3 2-4 2-1 3-2 4-3l2-2c4-2 8-5 13-11 4-5 7-10 9-14l2-7c3-7 7-13 13-17 6-5 12-8 19-9 7-1 14-2 20-2 6 0 12 0 16 1l6 1c0-7 0-16 1-25 0-10 0-15 0-16 0-3-2-6-4-8-2-3-6-3-11-2-45 14-81 41-109 79-27 38-41 81-41 129 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
|
||||
<glyph glyph-name="vk" unicode="i" d="M511 356c4-11-9-37-40-78-4-6-10-13-17-23-14-18-22-29-24-35-3-7-2-14 4-21 3-4 10-11 21-22l0 0 1 0 0-1 1 0c25-24 42-43 50-59 1-1 2-2 2-4 1-1 1-3 2-7 1-3 1-6 0-9-1-2-3-5-7-7-3-2-9-3-15-3l-69-1c-4-1-9-1-15 1-5 2-10 4-14 6l-5 3c-5 4-11 9-19 17-7 8-13 15-18 21-5 6-10 11-16 15-6 4-11 6-15 4-1 0-1 0-2-1-1 0-3-1-5-3-2-3-4-5-6-8-1-3-3-8-4-14-1-6-2-13-2-21 0-3 0-5-1-7 0-2-1-4-2-5l-1-1c-3-4-8-6-14-6l-31 0c-12-1-25 0-39 4-13 4-25 8-35 14-10 6-19 12-27 18-8 6-15 11-19 15l-7 7c-1 1-4 4-7 8-3 3-9 11-19 24-10 12-19 26-28 40-9 14-20 33-33 56-12 24-24 48-35 73-1 3-1 5-1 7 0 2 0 3 1 4l1 2c2 3 7 5 15 5l73 1c2-1 4-1 6-2 2-1 3-2 4-2l2-1c2-2 5-5 6-9 4-9 8-18 12-27 5-10 9-17 11-22l4-8c6-11 11-20 15-28 5-7 10-14 13-18 4-4 8-8 11-10 4-3 7-4 9-4 3 0 5 1 8 1 0 1 0 1 1 2 1 1 2 2 3 6 2 3 3 7 4 12 1 5 1 13 2 22 1 9 1 20 0 33 0 7-1 14-2 20-1 5-3 10-4 12l-1 3c-5 6-12 10-23 12-2 0-2 2 1 6 3 3 7 6 10 8 10 5 31 7 64 6 15 0 27-1 36-3 4-1 7-2 9-4 2-1 4-3 6-6 1-3 2-6 2-9 1-3 1-7 1-12 0-5 0-10 0-14 0-5 0-11-1-19 0-8 0-16 0-22 0-2 0-6 0-11-1-6-1-10 0-13 0-3 0-7 0-11 1-4 2-8 4-10 1-3 3-5 6-7 1 0 2-1 4-1 2 0 4 1 7 3 3 2 6 5 10 9 4 4 8 10 14 18 6 8 12 18 18 29 11 18 20 38 29 60 0 1 1 3 2 4 1 2 2 3 3 3l1 1 2 1c0 0 1 0 3 0 2 1 4 1 5 0l77 1c7 1 13 1 17-1 5-1 8-2 9-4z"/>
|
||||
<glyph glyph-name="instagram" unicode="j" d="M389 256c0 9-1 17-3 26 0 0 90 0 90 0 0 0 0-177 0-177 0-19-6-35-20-49-13-13-29-20-48-20 0 0-304 0-304 0-19 0-35 7-48 20-14 14-20 30-20 49 0 0 0 177 0 177 0 0 89 0 89 0-1-11-2-20-2-26 0-36 13-67 39-94 26-26 57-39 94-39 36 0 67 13 94 39 26 27 39 58 39 94m19 220c19 0 35-6 48-20 14-13 20-29 20-48 0 0 0-75 0-75 0 0-111 0-111 0-27 37-63 56-109 56-47 0-83-19-109-56 0 0-111 0-111 0 0 0 0 75 0 75 0 19 6 35 20 48 13 14 29 20 48 20 0 0 304 0 304 0m32-85c0 0 0 37 0 37 0 8-4 12-12 12 0 0-37 0-37 0-8 0-12-4-12-12 0 0 0-37 0-37 0-3 1-5 3-8 3-3 6-4 9-4 0 0 37 0 37 0 8 0 12 4 12 12m-102-135c0-23-8-42-24-58-16-16-35-24-58-24-23 0-42 8-58 24-16 16-24 35-24 58 0 23 8 43 24 58 16 16 35 24 58 24 23 0 42-8 58-24 16-15 24-35 24-58"/>
|
||||
<glyph glyph-name="amazon" unicode="k" d="M266 328c-22-2-44-4-65-11-44-13-67-43-66-87 0-39 23-65 63-70 25-2 49 2 70 19 6 5 11 10 17 14 8-9 16-18 25-27 5-6 10-6 16-1 11 10 22 19 33 29 6 5 7 9 1 15-12 15-17 32-17 51 1 35 1 70 0 104-1 27-15 47-39 58-38 16-76 16-113-1-26-11-41-31-47-58-2-9 0-12 9-13 13-2 26-4 39-5 7-1 11 1 13 8 4 21 25 32 45 29 13-2 23-10 25-22 1-10 1-21 2-31-2 0-3-1-3-1-3 0-5 0-8 0z m-1-101c-6-10-14-17-26-19-19-3-33 9-34 29-2 27 12 45 38 50 11 2 22 3 33 4 0-23 2-45-11-64z m121-78c-2-1-4-1-5-2-26-11-51-19-78-25-26-5-51-7-77-5-32 3-61 13-90 28-18 9-35 18-53 28-6 3-11 2-14-2-3-4-2-10 3-14 18-13 35-28 54-41 35-24 73-38 123-38 40 1 85 14 126 38 7 4 14 9 21 14 6 4 7 9 4 14-3 5-8 7-14 5z m38 39c-19 2-38 0-55-12-4-3-6-7-4-12 2-4 6-5 11-4 8 1 17 2 26 3 0 0 0 0 0 0 3 0 6 0 9 0 4 0 6-2 5-6-1-4-2-8-3-13-2-8-6-15-8-23 0-3 0-7 2-9 2-1 6-2 9-1 2 0 4 2 6 4 13 14 20 30 22 49 2 18-1 22-20 24z"/>
|
||||
<glyph glyph-name="skype" unicode="s" d="M442 214c3 13 4 26 4 40 0 104-84 188-188 188-11 0-22-1-32-3-17 11-37 17-58 17-60 0-109-49-109-109 0-20 5-39 15-55-3-13-4-25-4-38 0-104 84-188 188-188 12 0 23 1 35 3 15-8 32-13 51-13 60 0 109 49 109 109 0 18-4 34-11 49z m-87-50c-9-12-22-22-39-29-16-7-36-10-58-10-27 0-50 4-68 14-12 7-23 16-31 27-8 12-12 23-12 34 0 7 3 13 8 18 5 5 12 7 20 7 6 0 12-2 16-5 5-4 8-10 11-17 4-7 7-14 11-19 4-5 9-9 16-12 7-3 16-5 27-5 16 0 28 4 38 10 9 7 14 14 14 24 0 7-2 13-7 17-5 5-12 9-20 12-9 2-21 5-35 8-19 4-36 9-49 15-14 6-24 13-32 23-8 11-13 23-13 38 0 14 5 27 13 38 9 11 21 20 37 26 15 5 34 8 55 8 17 0 31-2 44-6 12-3 23-9 31-15 8-7 14-13 18-21 4-7 6-14 6-21 0-7-3-13-8-18-5-6-11-8-19-8-7 0-13 1-16 5-4 3-7 8-12 15-4 9-10 16-16 21-7 4-17 7-32 7-13 0-24-3-32-8-8-5-12-11-12-18 0-5 1-8 4-11 2-3 6-6 11-9 5-2 10-4 15-6 5-1 14-3 26-6 15-3 29-7 42-11 12-4 23-9 32-15 9-5 16-13 21-22 5-9 8-20 8-33 0-15-5-30-13-42z"/>
|
||||
<glyph glyph-name="youtube" unicode="x" d="M314 157l0-61c0-12-4-19-11-19-5 0-9 2-13 6l0 86c4 5 8 7 13 7 7 0 11-7 11-19z m97-1l0-13-26 0 0 13c0 13 4 20 13 20 8 0 13-7 13-20z m-276 63l30 0 0 26-89 0 0-26 30 0 0-163 29 0z m82-163l25 0 0 141-25 0 0-108c-6-8-11-12-16-12-4 0-6 2-6 6-1 1-1 4-1 10l0 104-25 0 0-112c0-9 1-16 2-20 2-7 8-11 17-11 9 0 19 6 29 17z m122 42l0 57c0 13 0 23-2 28-3 11-10 16-20 16-10 0-19-5-27-16l0 62-25 0 0-189 25 0 0 14c9-11 17-16 27-16 10 0 17 5 20 16 2 5 2 14 2 28z m97 3l0 4-26 0c0-10 0-16-1-18-1-6-5-10-11-10-9 0-13 7-13 20l0 25 51 0 0 29c0 15-3 26-8 33-7 10-17 15-30 15-13 0-23-5-31-15-5-7-8-18-8-33l0-49c0-15 3-26 9-33 7-10 17-15 31-15 13 0 24 5 30 15 4 5 6 10 6 16 1 1 1 7 1 16z m-174 261l0 60c0 13-4 20-12 20-8 0-12-7-12-20l0-60c0-13 4-20 12-20 8 0 12 7 12 20z m206-215c0-44-3-77-8-100-2-11-8-20-16-28-9-7-18-12-29-13-35-4-88-6-159-6-71 0-124 2-159 6-11 1-20 6-29 13-8 8-14 17-16 28-5 22-8 55-8 100 0 45 3 78 8 100 2 12 8 21 16 29 9 7 18 12 30 13 35 4 87 6 158 6 71 0 124-2 159-6 11-1 20-6 29-13 8-8 14-17 16-29 5-21 8-54 8-100z m-285 365l29 0-35-114 0-77-28 0 0 77c-3 14-9 34-18 61-7 19-13 37-18 53l30 0 20-75z m105-95l0-50c0-16-2-27-8-34-7-10-17-14-30-14-13 0-23 4-30 14-5 7-8 19-8 34l0 50c0 15 3 26 8 33 7 10 17 15 30 15 13 0 23-5 30-15 6-7 8-18 8-33z m96 46l0-142-26 0 0 15c-10-12-20-17-29-17-9 0-15 3-17 10-2 5-3 12-3 22l0 112 26 0 0-105c0-6 1-9 1-10 0-4 2-6 6-6 5 0 10 4 16 12l0 109z"/>
|
||||
<glyph glyph-name="vimeo" unicode="u" d="M484 362c-11-63-40-123-87-179-48-57-90-97-126-122-14-9-28-12-41-8-14 3-25 10-34 19-9 9-17 20-22 31-6 11-19 52-40 123-21 70-34 109-38 114-5 4-12 5-19 3-8-3-15-6-23-11 0 0-10-7-10-7 0 0-19 25-19 25 6 7 14 16 24 27 9 11 27 26 51 45 25 20 46 31 64 35 10 2 19 1 27-4 8-4 14-10 18-18 5-7 9-18 12-31 3-12 6-24 8-35 1-11 3-24 6-39 2-14 4-26 6-34 5-18 9-32 11-41 3-9 5-18 9-28 3-9 6-16 9-20 3-3 6-5 9-5 14 0 35 28 65 85 14 26 15 47 3 63-12 17-32 17-57 1 7 43 31 75 71 96 36 19 67 20 93 5 28-16 38-46 30-90"/>
|
||||
<glyph glyph-name="ebay" unicode="p" d="M66 313c-36 0-66-15-66-61 0-37 20-60 67-60 55 0 59 37 59 37l-27 0c0 0-5-20-33-20-23 0-39 15-39 37l102 0 0 13c0 22-14 54-63 54z m-1-17c22 0 37-13 37-33l-75 0c0 21 19 33 38 33z m64 62l0-142c0-9-1-20-1-20l26 0c0 0 1 8 1 16 0 0 12-20 46-20 37 0 61 25 61 61 0 33-23 60-61 60-35 0-46-19-46-19l0 64z m66-62c24 0 40-19 40-43 0-26-18-43-40-43-26 0-40 20-40 43 0 21 12 43 40 43z m130 17c-54 0-57-29-57-34l27 0c0 0 1 17 29 17 17 0 31-8 31-24l0-5-31 0c-43 0-65-12-65-37 0-25 21-38 49-38 37 0 50 21 50 21 0-9 0-17 0-17l24 0c0 0-1 10-1 17l0 56c0 37-29 44-56 44z m30-63l0-7c0-10-6-34-41-34-19 0-28 9-28 21 0 20 28 20 69 20z m12 59l30 0 44-88 43 88 28 0-79-156-29 0 23 44z"/>
|
||||
<glyph glyph-name="apple" unicode="l" d="M453 165c-8-24-19-48-35-72-25-37-49-56-74-56-9 0-22 3-40 10-16 6-30 9-43 9-11 0-25-3-40-10-16-6-28-9-38-9-29 0-58 24-86 74-28 49-42 97-42 143 0 44 11 79 32 107 21 28 49 41 81 41 14 0 31-3 51-8 20-6 33-9 39-9 9 0 22 3 41 10 20 6 36 10 50 10 22 0 43-7 60-19 10-7 20-16 30-29-15-12-26-24-32-33-13-18-19-38-19-59 0-24 7-45 20-64 13-19 28-31 45-36z m-108 335c0-12-2-25-8-39-6-14-14-27-26-39-11-11-21-17-31-21-7-2-17-4-30-5 1 29 8 53 22 74 14 20 38 34 72 42 0-1 0-2 0-3 1-2 1-3 1-3 0-1 0-2 0-3 0-1 0-2 0-3z"/>
|
||||
<glyph glyph-name="behance" unicode="q" d="M207 274c19 0 33-6 43-20 10-14 16-27 16-41 0 0 0-20 0-20 0-20-3-36-10-50-7-13-15-23-26-29-10-6-20-11-30-14-10-3-18-5-25-6 0 0-10 0-10 0 0 0-165 0-165 0 0 0 0 331 0 331 0 0 165 0 165 0 26 0 48-8 65-23 17-15 25-36 25-65 0-17-4-31-12-42-8-10-16-16-24-19 0 0-12-2-12-2m-134 93c0 0 0-74 0-74 0 0 87 0 87 0 9 0 15 2 20 8 5 5 7 15 7 31 0 10-1 18-5 24-4 6-8 9-12 10 0 0-5 1-5 1 0 0-92 0-92 0m88-213c25 0 38 14 38 43 0 13-3 24-9 31-5 8-10 12-16 13 0 0-9 1-9 1 0 0-92 0-92 0 0 0 0-88 0-88 0 0 88 0 88 0m239 187c24 0 44-5 61-15 16-10 28-22 34-36 7-14 11-28 14-42 3-14 4-25 3-35 0 0-1-15-1-15 0 0-164 0-164 0 0-19 5-33 14-42 9-10 19-15 28-15 0 0 13-1 13-1 16 0 28 3 37 9 8 6 13 11 14 17 0 0 1 9 1 9 0 0 55 0 55 0 0-28-9-49-27-63-18-15-36-22-54-23 0 0-28-1-28-1-24 0-45 4-62 13-17 8-29 19-37 32-7 12-13 25-17 37-4 12-5 23-5 31 0 0 0 13 0 13 0 3 0 8 0 14 0 6 3 16 7 31 5 14 11 27 19 38 7 11 20 21 37 30 16 9 36 14 58 14m51-99c0 1-1 3-1 5 0 3-1 7-3 13-2 5-4 11-7 15-2 4-7 8-14 12-7 4-15 6-24 6-14 0-26-4-35-13-10-8-16-17-18-26 0 0-3-12-3-12 0 0 105 0 105 0m13 164c0 0 0-40 0-40 0 0-131 0-131 0 0 0 0 40 0 40 0 0 131 0 131 0"/>
|
||||
<glyph glyph-name="dribble" unicode="n" d="M329 83c-8 46-21 94-40 143l0 0-1-1c-3-1-7-2-12-4-5-2-15-7-29-14-14-8-27-15-39-24-12-8-25-19-38-32-13-14-22-28-29-43l-4 3c35-28 74-42 119-42 25 0 50 5 73 14z m-53 174c-4 9-9 20-15 32-59-18-123-27-192-27 0-1 0-3 0-6 0-24 4-46 12-68 9-21 20-40 36-57 9 17 21 33 35 47 14 15 27 27 41 36 13 9 25 17 37 23 12 7 21 11 28 14l11 4c1 0 2 0 4 1 1 0 3 0 3 1z m-30 60c-23 41-46 77-70 108-26-12-49-30-67-53-18-23-30-49-36-77 57 0 115 7 173 22z m195-91c-40 12-79 14-117 9 17-46 29-91 37-134 21 14 39 32 53 54 14 22 23 45 27 71z m-230 212c0 0 0 0 0 0 0 0 0 0 0 0z m169-41c-36 31-77 46-124 46-14 0-29-1-44-5 25-32 48-69 70-109 13 5 26 11 37 17 12 7 21 13 28 18 6 5 13 10 18 16 6 6 10 10 11 12z m63-139c0 44-14 83-42 117l0 0c-2-2-4-5-6-7-2-3-6-7-12-13-7-6-13-12-21-17-7-6-16-12-28-19-12-7-25-13-38-18 5-10 9-19 13-27 0-1 1-3 2-5 1-2 1-4 2-5 7 1 14 2 21 2 7 0 14 1 21 1 7 0 13-1 20-1 6 0 12-1 18-1 6 0 11-1 16-2 5 0 10-1 14-1 4-1 8-2 10-2 3-1 6-1 8-1z m32-2c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
|
||||
<glyph glyph-name="android" unicode="o" d="M196 374c3 0 5 1 8 3 2 2 3 5 3 8 0 3-1 6-3 8-3 2-5 3-8 3-3 0-6-1-8-3-2-2-3-5-3-8 0-3 1-6 3-8 2-2 5-3 8-3z m120 0c3 0 6 1 8 3 2 2 3 5 3 8 0 3-1 6-3 8-2 2-5 3-8 3-3 0-5-1-8-3-2-2-3-5-3-8 0-3 1-6 3-8 3-2 5-3 8-3z m-232-53c8 0 15-2 21-8 6-6 8-13 8-21l0-123c0-8-2-15-8-20-6-6-13-9-21-9-8 0-15 3-21 9-5 5-8 12-8 20l0 123c0 8 3 15 8 21 6 6 13 8 21 8z m303-5l0-190c0-9-3-16-9-23-6-6-13-9-22-9l-21 0 0-65c0-8-3-15-9-20-6-6-13-9-21-9-8 0-15 3-21 9-5 5-8 12-8 20l0 65-40 0 0-65c0-8-3-15-8-20-6-6-13-9-21-9-8 0-15 3-21 9-5 5-8 12-8 20l-1 65-21 0c-8 0-16 3-22 9-6 7-9 14-9 23l0 190z m-66 116c20-11 37-25 49-44 12-19 18-39 18-62l-264 0c0 23 6 43 18 62 12 19 29 33 49 44l-20 37c-1 3-1 5 1 6 3 1 5 0 6-2l21-38c18 8 37 12 57 12 20 0 39-4 57-12l21 38c1 2 3 3 6 2 2-1 2-3 1-6z m136-140l0-123c0-8-3-15-8-20-6-6-13-9-21-9-8 0-15 3-21 9-6 5-8 12-8 20l0 123c0 8 2 15 8 21 6 6 13 8 21 8 8 0 15-2 21-8 5-6 8-13 8-21z"/>
|
||||
<glyph glyph-name="whatsapp" unicode="m" d="M486 260c0-124-101-225-226-225-39 0-77 11-109 28l-125-39 40 120c-20 34-32 73-32 116 0 124 101 224 226 224 125 0 226-100 226-224z m-226 189c-105 0-190-85-190-189 0-41 13-80 36-111l-24-70 74 23c30-19 66-31 104-31 105 0 190 85 190 189 0 104-85 189-190 189z m114-241c-1 2-5 4-10 7-6 2-33 16-38 17-5 2-9 3-13-2-3-6-14-18-17-22-3-4-7-4-12-1-6 3-24 8-45 27-16 15-27 33-31 38-3 6 0 9 3 11 2 3 5 7 8 10 3 3 4 6 6 9 2 4 1 7-1 10-1 3-12 30-17 41-4 11-9 9-12 9-4 0-7 0-11 0-4 0-10-1-15-7-5-5-19-18-19-45 0-28 20-54 22-57 3-4 39-61 95-83 57-22 57-15 67-14 10 1 33 13 37 26 5 13 5 24 3 26z"/>
|
||||
<glyph glyph-name="reddit" unicode="r" d="M355 239c1-3 2-6 2-9 0-7-2-13-6-18-4-5-9-9-15-10l0 0c0 0 0 0 0 0 0 0 0 0 0 0-3-1-6-2-8-2-7 0-14 3-19 7-5 4-9 10-10 17l0 0c0 0 0 0 0 0 0 0 0 0 0 0l0 0c-1 2-1 4-1 5 0 6 2 12 5 17 4 5 9 9 14 11 0 0 0 0 0 0 0 0 0 0 0 0 3 1 7 1 10 1 6 0 12-2 17-5 5-3 9-8 11-14 0 0 0 0 0 0 0 0 0 0 0 0z m-18-74c-3 1-5 2-8 2-3 0-5-1-7-2-21-12-45-19-68-19-18 0-36 4-52 12l0 0 0 0c-3 1-5 3-8 5-2 1-3 2-5 3-2 0-4 1-6 1-2 0-4 0-5-1 0 0 0 0-1 0l0 0c-2-1-5-3-6-6-1-2-2-5-2-8 0-2 0-5 2-7 1-2 3-4 5-5 23-16 50-23 77-23 25 0 49 6 71 16l0 0 0 0c3 2 7 4 11 6 1 1 3 2 5 4 1 2 2 4 3 6l0 0c0 2 1 3 1 4 0 2-1 4-2 5-1 3-3 5-5 7z m-162 37c0 0 1 0 1 0 3-1 6-2 9-2 7 0 14 3 20 8 5 5 9 12 9 20 0 1 0 1 0 1 0 0 0 1 0 1 0 8-4 15-9 20-6 5-13 8-20 8-2 0-4 0-6 0 0 0 0 0 0 0 0 0 0 0 0 0-10-2-19-10-22-20l0 0c0 0 0 0 0 0-1-3-2-6-2-8 0-7 2-13 6-18 3-4 8-8 14-10 0 0 0 0 0 0z m311 72l0 0c0-1 0-2 0-3 0-11-3-22-9-31-6-9-13-16-22-21 0-4 1-8 1-13 0-24-9-48-23-67l0 0 0 0c-27-35-68-56-110-67l0 0 0 0c-22-5-45-8-67-8-34 0-68 6-100 19l0 0 0 0c-33 13-64 35-83 66-11 17-16 37-16 57 0 4 0 9 0 13-8 5-16 12-21 20-6 9-10 20-10 31l0 0c0 15 6 30 17 40 10 11 24 18 39 18 1 0 1 0 1 0 2 0 3 0 5 0 7 0 15-1 22-4l0 0 0 0c7-2 13-6 18-10 2 1 4 2 6 3 33 20 72 27 110 29 0 19 2 39 12 56 7 14 20 25 36 29l0 0 0 0c6 1 12 2 18 2 16 0 32-4 47-10 6 10 15 17 26 22l0 0 0 0c7 2 14 3 20 3 8 0 15-1 22-4l0 0c0 0 0 0 0 0 0 0 0 0 0 0 9-4 18-11 23-20 6-8 10-19 10-29 0-2 0-4-1-6l0 0c0 0 0 0 0 0-1-14-8-26-18-35-9-8-22-13-35-13-3 0-5 0-7 0-13 1-25 7-34 17-9 9-15 22-15 35 0 1 0 1 0 2-12 6-25 10-38 10-2 0-4 0-5 0l0 0c-10-1-19-7-23-16l0 0c-7-13-8-28-9-43 37-2 75-11 108-30l0 0 0 0c1-1 2-1 3-2 2 2 5 4 7 5 10 7 22 10 34 10 5 0 10 0 15-2l0 0 0 0c1 0 1 0 1 0l0 0c12-3 22-10 31-19 8-9 13-21 14-34l0 0z m-109 122c0-1 0-1 0-2l0 0c0-6 3-12 8-17 5-4 11-7 17-7l0 0c1 0 1 0 2 0 6 0 12 3 17 7 5 4 8 10 8 17l0 0 0 0c0 1 0 1 0 2 0 6-3 13-8 17-5 5-11 8-18 8-2 0-4 0-6-1l0 0 0 0c-6-1-11-5-14-9-4-4-6-10-6-15z m-274-100c-5 2-10 4-15 4-1 0-2 0-3 0l0 0 0 0c-7 0-15-3-20-9-6-5-9-11-9-19l0 0 0 0c-1-1-1-1-1-2 0-5 2-9 4-13 2-3 4-6 7-8 9 18 22 34 37 47z m323-91c0 17-6 33-15 47-20 27-50 44-81 54l0 0c-6 2-12 4-18 5-18 4-37 6-56 6-25 0-50-4-74-11-31-10-61-27-81-54l0 0c-9-14-15-31-15-47 0-6 1-12 2-18l0 0c4-14 11-26 20-36 8-11 19-20 31-27 2-1 5-3 7-4 34-19 72-27 110-27 7 0 13 0 20 1 38 3 76 14 108 37l0 0c9 8 19 16 26 26 7 11 13 22 15 34l0 0 0 0c1 5 1 9 1 14z m31 66c0 4-1 8-3 12l0 0 0 0c-3 6-7 10-12 13-6 3-12 4-18 4-5 0-10-1-15-4 15-13 28-29 37-47 3 2 5 5 7 8 2 5 4 9 4 14z"/>
|
||||
<glyph glyph-name="social-reddit" unicode="t" d="M485 261c0 29-24 53-53 53-12 0-24-5-34-13 0 0 0 0 0 0-35 22-80 36-131 38l30 85 75-18c0-24 20-43 43-43 24 0 44 19 44 43 0 24-20 43-44 43-18 0-33-11-39-27l-89 22-37-105c-53-1-100-15-136-38-10 8-22 13-34 13-30 0-53-24-53-53 0-18 9-34 24-44-1-5-1-11-1-16 0-76 92-138 206-138 113 0 206 62 206 138 0 5-1 10-2 15 16 10 25 27 25 45z m-159-68c-18 0-33 14-33 32 0 18 15 33 33 33 18 0 32-15 32-33 0-18-14-32-32-32z m6-56c-1-1-24-24-77-24-53 0-74 24-75 25-3 3-2 9 1 12 4 2 9 2 12-1 0-1 18-20 62-20 45 0 65 20 65 20 3 3 9 3 12 0 3-3 3-8 0-12z m-174 88c0 18 14 33 32 33 18 0 33-15 33-33 0-18-15-32-33-32-18 0-32 14-32 32z"/>
|
||||
<glyph glyph-name="google-plus" unicode="v" d="M456 285l0 56-41 0 0-56-58 0 0-40 58 0 0-58 41 0 0 58 56 0 0 40z m-293 3l0-64c0 0 62 0 88 0-14-42-36-65-88-65-54 0-95 44-95 97 0 53 41 97 95 97 28 0 46-10 63-24 13 13 12 15 46 48-29 26-67 42-109 42-90 0-163-73-163-163 0-90 73-163 163-163 134 0 167 117 156 195z"/>
|
||||
<glyph glyph-name="link" unicode="w" d="M202 136c5 5 10 7 17 7 7 0 13-2 19-7 10-11 10-23 0-36 0 0-22-20-22-20-19-19-42-29-68-29-26 0-49 10-68 29-19 19-29 42-29 67 0 27 10 50 29 69 0 0 76 76 76 76 24 23 48 36 73 39 26 3 47-4 66-22 5-5 8-11 8-18 0-7-3-13-8-19-12-11-24-11-36 0-17 17-40 11-68-17 0 0-75-75-75-75-9-9-14-20-14-33 0-13 5-23 14-31 9-9 19-14 32-14 13 0 23 5 32 14 0 0 22 20 22 20m230 294c19-19 29-42 29-68 0-26-10-49-29-68 0 0-81-81-81-81-25-25-51-37-77-37-21 0-40 9-57 26-5 5-7 10-7 17 0 7 2 13 7 19 5 4 11 7 18 7 7 0 13-3 18-7 17-17 38-13 62 12 0 0 81 80 81 80 10 9 15 20 15 32 0 13-5 24-15 32-8 9-17 14-28 16-11 2-22-2-31-11 0 0-26-25-26-25-5-5-11-7-18-7-7 0-13 2-18 7-11 11-11 23 0 36 0 0 26 25 26 25 18 19 40 27 65 26 25-1 47-11 66-31"/>
|
||||
</font></defs></svg>
|
After Width: | Height: | Size: 20 KiB |
BIN
themoes/cocoa-eh/static/fonts/social-share-kit.ttf
Normal file
BIN
themoes/cocoa-eh/static/fonts/social-share-kit.woff
Normal file
39
themoes/cocoa-eh/static/img/back.svg
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 477.175 477.175" style="enable-background:new 0 0 477.175 477.175;" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225
|
||||
c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 768 B |
1
themoes/cocoa-eh/static/img/email.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="14" height="16" viewBox="0 0 14 16" xmlns="http://www.w3.org/2000/svg"><title>mail</title><path d="M0 4v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1zm13 0L7 9 1 4h12zM1 5.5l4 3-4 3v-6zM2 12l3.5-3L7 10.5 8.5 9l3.5 3H2zm11-.5l-4-3 4-3v6z" fill="#000" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 316 B |
51
themoes/cocoa-eh/static/img/facebook.svg
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="Layer_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
width="266.893px"
|
||||
height="266.895px"
|
||||
viewBox="0 0 266.893 266.895"
|
||||
enable-background="new 0 0 266.893 266.895"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="facebook.svg"
|
||||
inkscape:version="0.92.1 r"><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1916"
|
||||
inkscape:window-height="1041"
|
||||
id="namedview5"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.8842429"
|
||||
inkscape:cx="135.70832"
|
||||
inkscape:cy="133.44749"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="37"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="Layer_1" /><metadata
|
||||
id="metadata9"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs7" /><path
|
||||
id="Blue_1_"
|
||||
fill="#ffffff"
|
||||
d="M248.082,262.307c7.854,0,14.223-6.369,14.223-14.225V18.812 c0-7.857-6.368-14.224-14.223-14.224H18.812c-7.857,0-14.224,6.367-14.224,14.224v229.27c0,7.855,6.366,14.225,14.224,14.225 H248.082z" /><path
|
||||
id="f"
|
||||
fill="#000000"
|
||||
d="M182.409,262.307v-99.803h33.499l5.016-38.895h-38.515V98.777c0-11.261,3.127-18.935,19.275-18.935 l20.596-0.009V45.045c-3.562-0.474-15.788-1.533-30.012-1.533c-29.695,0-50.025,18.126-50.025,51.413v28.684h-33.585v38.895h33.585 v99.803H182.409z" /></svg>
|
After Width: | Height: | Size: 2.1 KiB |
BIN
themoes/cocoa-eh/static/img/favicon.ico
Normal file
After Width: | Height: | Size: 361 KiB |
1
themoes/cocoa-eh/static/img/github.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"/></svg>
|
After Width: | Height: | Size: 812 B |
1
themoes/cocoa-eh/static/img/linkedin.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.632 13.635h-2.37V9.922c0-.886-.018-2.025-1.234-2.025-1.235 0-1.424.964-1.424 1.96v3.778h-2.37V6H8.51v1.04h.03c.318-.6 1.092-1.233 2.247-1.233 2.4 0 2.845 1.58 2.845 3.637v4.188zM3.558 4.955c-.762 0-1.376-.617-1.376-1.377 0-.758.614-1.375 1.376-1.375.76 0 1.376.617 1.376 1.375 0 .76-.617 1.377-1.376 1.377zm1.188 8.68H2.37V6h2.376v7.635zM14.816 0H1.18C.528 0 0 .516 0 1.153v13.694C0 15.484.528 16 1.18 16h13.635c.652 0 1.185-.516 1.185-1.153V1.153C16 .516 15.467 0 14.815 0z" fill-rule="nonzero"/></svg>
|
After Width: | Height: | Size: 666 B |
40
themoes/cocoa-eh/static/img/next.svg
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 477.175 477.175" style="enable-background:new 0 0 477.175 477.175;" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5
|
||||
c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z
|
||||
"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 802 B |
1
themoes/cocoa-eh/static/img/rss.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/></svg>
|
After Width: | Height: | Size: 446 B |
1
themoes/cocoa-eh/static/img/twitter.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 3.038c-.59.26-1.22.437-1.885.517.677-.407 1.198-1.05 1.443-1.816-.634.37-1.337.64-2.085.79-.598-.64-1.45-1.04-2.396-1.04-1.812 0-3.282 1.47-3.282 3.28 0 .26.03.51.085.75-2.728-.13-5.147-1.44-6.766-3.42C.83 2.58.67 3.14.67 3.75c0 1.14.58 2.143 1.46 2.732-.538-.017-1.045-.165-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.22-.276.074-.566.114-.865.114-.21 0-.41-.02-.61-.058.42 1.304 1.63 2.253 3.07 2.28-1.12.88-2.54 1.404-4.07 1.404-.26 0-.52-.015-.78-.045 1.46.93 3.18 1.474 5.04 1.474 6.04 0 9.34-5 9.34-9.33 0-.14 0-.28-.01-.42.64-.46 1.2-1.04 1.64-1.7z" fill-rule="nonzero"/></svg>
|
After Width: | Height: | Size: 743 B |
2
themoes/cocoa-eh/static/js/highlight.min.js
vendored
Normal file
7
themoes/cocoa-eh/static/js/progressively.min.js
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* progressively 1.0.0
|
||||
* https://github.com/thinker3197/progressively
|
||||
* @license MIT licensed
|
||||
*
|
||||
* Copyright (C) 2016 Ashish
|
||||
*/!function(a,b){"function"==typeof define&&define.amd?define(function(){return b(a)}):"object"==typeof exports?module.exports=b:a.progressively=b(a)}(this,function(a){"use strict";function b(a,b){var c={};for(var d in a)c[d]=b.hasOwnProperty(d)?b[d]:a[d];return c}function c(a){return null===a.offsetParent}function d(a,b){if(c(a))return!1;var d=a.getBoundingClientRect();return d.top>=0&&d.left>=0&&d.right<=(window.innerWidth||document.el.clientWidth)&&(d.bottom<=(window.innerHeight||document.el.clientHeight)||a.clientHeight>=window.innerHeight)}function e(a){setTimeout(function(){var b=new Image;b.onload=function(){a.classList.remove("progressive--not-loaded"),a.classList.add("progressive--is-loaded"),a.src=this.src,i(a)},b.src=a.dataset.progressive},g.delay)}function f(){h||(clearTimeout(h),h=setTimeout(function(){k.check(),k.render(),h=null},g.throttle))}var g,h,i,j,k={};return i=function(){},g={throttle:300,delay:100,onLoadComplete:function(){},onLoad:function(){}},k.init=function(c){c=c||{},g=b(g,c),i=g.onLoad||i,j=[].slice.call(document.querySelectorAll(".progressive__img")),k.render(),document.addEventListener?(a.addEventListener("scroll",f,!1),a.addEventListener("load",f,!1)):(a.attachEvent("onscroll",f),a.attachEvent("onload",f))},k.render=function(){for(var a,b=j.length-1;b>=0;--b)a=j[b],d(a)&&a.classList.contains("progressive--not-loaded")&&(e(a),j.splice(b,1));this.check()},k.check=function(){j.length||(g.onLoadComplete(),this.drop())},k.drop=function(){document.removeEventListener?a.removeEventListener("scroll",f):a.detachEvent("onscroll",f),clearTimeout(h)},k});
|
8
themoes/cocoa-eh/static/js/social-share-kit.min.js
vendored
Normal file
17
themoes/cocoa-eh/theme.toml
Normal file
|
@ -0,0 +1,17 @@
|
|||
name = "Cocoa-EH"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/fuegowolf/cocoa-eh-hugo-theme/blob/master/LICENSE.md"
|
||||
description = "Cocoa Enhanced is a clean, fast and responsive theme with cool typography."
|
||||
homepage = "https://github.com/fuegowolf/cocoa-eh-hugo-theme"
|
||||
tags = ["clean", "fast", "responsive", "typography"]
|
||||
features = ["flexible", "fast", "highlights", "progressive images", "disqus"]
|
||||
min_version = 0.20.2
|
||||
|
||||
[author]
|
||||
name = "Alexis Tacnet"
|
||||
homepage = "https://github.com/fuegowolf"
|
||||
|
||||
[original]
|
||||
name = "Nishanth Shanmugham"
|
||||
homepage = "https://github.com/nishanths"
|
||||
repo = "https://www.github.com/nishanths/cocoa-hugo-theme"
|