Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / natrium
diff options
context:
space:
mode:
Commit3245f1f1404785d92c21eb381c08dee5a4be6bb7 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Files3c245582fb5a2a9eaf8518f7272c03a6aaa2f635 /website/themes/natrium
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar.gz
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.zip
Parentae12c0a482298e4da9b816137ceb6131c7d4b9e4 (diff)
Moved site to website folder
55 files changed, 1188 insertions, 0 deletions
-rw-r--r--website/themes/natrium/.editorconfig17
-rw-r--r--website/themes/natrium/LICENSE.md22
-rw-r--r--website/themes/natrium/README.md65
-rw-r--r--website/themes/natrium/archetypes/default.md5
-rw-r--r--website/themes/natrium/exampleSite/config.toml41
-rw-r--r--website/themes/natrium/exampleSite/content/page/about.md6
-rw-r--r--website/themes/natrium/exampleSite/content/page/site-notice.md15
-rw-r--r--website/themes/natrium/exampleSite/content/post/extending-this-logic.md11
-rw-r--r--website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md13
-rw-r--r--website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md15
-rw-r--r--website/themes/natrium/exampleSite/static/.gitkeep0
-rw-r--r--website/themes/natrium/i18n/de.toml14
-rw-r--r--website/themes/natrium/i18n/en.toml14
-rw-r--r--website/themes/natrium/i18n/zh.toml14
-rw-r--r--website/themes/natrium/images/screenshot.pngbin0 -> 234858 bytes
-rw-r--r--website/themes/natrium/images/tn.pngbin0 -> 88601 bytes
-rw-r--r--website/themes/natrium/layouts/404.html17
-rw-r--r--website/themes/natrium/layouts/_default/list.html1
-rw-r--r--website/themes/natrium/layouts/_default/single.html31
-rw-r--r--website/themes/natrium/layouts/index.html20
-rw-r--r--website/themes/natrium/layouts/partials/footer.html13
-rw-r--r--website/themes/natrium/layouts/partials/head.html31
-rw-r--r--website/themes/natrium/layouts/partials/header.html10
-rw-r--r--website/themes/natrium/layouts/partials/list-item.html6
-rw-r--r--website/themes/natrium/layouts/partials/nav.html14
-rw-r--r--website/themes/natrium/layouts/partials/pagination.html34
-rw-r--r--website/themes/natrium/layouts/rss.xml28
-rw-r--r--website/themes/natrium/layouts/taxonomy/category.html18
-rw-r--r--website/themes/natrium/layouts/taxonomy/category.terms.html22
-rw-r--r--website/themes/natrium/layouts/taxonomy/tag.html18
-rw-r--r--website/themes/natrium/layouts/taxonomy/tag.terms.html31
-rw-r--r--website/themes/natrium/static/css/fonts.css89
-rw-r--r--website/themes/natrium/static/css/main.css536
-rw-r--r--website/themes/natrium/static/fonts/fontawesome-webfont.woffbin0 -> 98024 bytes
-rw-r--r--website/themes/natrium/static/fonts/fontawesome-webfont.woff2bin0 -> 77160 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-700.woffbin0 -> 27848 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-700.woff2bin0 -> 22820 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-700italic.woffbin0 -> 29692 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2bin0 -> 24240 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-italic.woffbin0 -> 29600 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2bin0 -> 24192 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-regular.woffbin0 -> 28412 bytes
-rw-r--r--website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2bin0 -> 23316 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-700.woffbin0 -> 22696 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2bin0 -> 18484 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woffbin0 -> 23024 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2bin0 -> 18856 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woffbin0 -> 22884 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2bin0 -> 18740 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woffbin0 -> 23036 bytes
-rw-r--r--website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2bin0 -> 18816 bytes
-rw-r--r--website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woffbin0 -> 19576 bytes
-rw-r--r--website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2bin0 -> 16028 bytes
-rw-r--r--website/themes/natrium/static/images/logo.pngbin0 -> 15155 bytes
-rw-r--r--website/themes/natrium/theme.toml17
diff --git a/website/themes/natrium/.editorconfig b/website/themes/natrium/.editorconfig
new file mode 100644
index 0000000..696c039
--- /dev/null
+++ b/website/themes/natrium/.editorconfig
@@ -0,0 +1,17 @@
+# editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+indent_size = 2
+indent_style = space
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.{yaml,toml}]
+indent_size = 4
diff --git a/website/themes/natrium/LICENSE.md b/website/themes/natrium/LICENSE.md
new file mode 100644
index 0000000..63d8892
--- /dev/null
+++ b/website/themes/natrium/LICENSE.md
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2018 Tim Krieger
+Copyright (c) 2016 Jonathan Rutheiser (original theme)
+
+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.
diff --git a/website/themes/natrium/README.md b/website/themes/natrium/README.md
new file mode 100644
index 0000000..fbf245e
--- /dev/null
+++ b/website/themes/natrium/README.md
@@ -0,0 +1,65 @@
+# Hugo Natrium
+
+A simple responsive blog theme for [Hugo](https://gohugo.io/) based on [Lithium](https://github.com/jrutheiser/hugo-lithium-theme.git)
+
+## Changes
+
+Natrium includes: taxonomies (categories, tags), static footer, new fonts (Roboto Mono, Font Awesome), local fonts, syntax highlighting, better support for code, img and RSS, pagination, multiple design optimizations, i18n, 404.html...
+
+## History
+
+I learned a lot while playing with the code from Lithium. I'm an absolutly beginner. Please report any issue you recognize.
+
+## Features
+
+- Blog
+- Responsive
+- Privacy (no Google)
+- Taxonomies
+- Syntax highlighting
+- Pagination
+
+## Installation
+
+Run the following inside your Hugo site folder:
+
+```
+$ mkdir themes
+$ cd themes
+$ git clone https://github.com/mobybit/hugo-natrium-theme
+```
+
+## Configuration
+
+Take a look at the sample [config.toml](https://github.com/mobybit/hugo-natrium-theme/blob/master/exampleSite/config.toml)
+file located in the [exampleSite](https://github.com/mobybit/hugo-natrium-theme/blob/master/exampleSite) folder.
+
+## Content Types
+
+### Post
+
+Used for blog posts. Blog posts are listed on the homepage.
+
+Run `hugo new post/<post-name>.md` to create a post.
+
+### Page
+
+Used for site pages.
+
+Run `hugo new page/<page-name>.md` to create a page.
+
+## Syntax highlighting
+
+Natrium is using [Chroma](https://gohugo.io/content-management/syntax-highlighting/) and `pygmentsStyle = "native"` by default. If you would like to use another style you have to adjust the colors in `pre` in main.css.
+
+## License
+
+The code is available under the [MIT License](https://github.com/mobybit/hugo-natrium-theme/blob/master/LICENSE.md).
+
+Natrium is using [Font Awesome](http://fontawesome.io) by Dave Gandy ([SIL OFL 1.1](http://scripts.sil.org/OFL)). Realated files (CSS, LESS, SCSS) are licensed under the [MIT License](http://opensource.org/licenses/mit-license.html).
+
+Other used fonts are [Merriweather](https://github.com/EbenSorkin/Merriweather) by Sorkin Type (Copyright © 2016 The Merriweather Project, [SIL OFL 1.1](http://scripts.sil.org/OFL)), [Lato](http://www.latofonts.com/) by Łukasz Dziedzic (Copyright © 2010-2014 by tyPoland Lukasz Dziedzic, [SIL OFL 1.1](http://scripts.sil.org/OFL)) and [Roboto Mono](https://github.com/google/roboto/) by Christian Robertson (Copyright © 2015 Google Inc., [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)).
+
+Special thanks to [Artem Sidorenko](https://www.sidorenko.io/post/2017/07/nice-tagcloud-with-hugo/) (tag cloud).
+
+The content of the example site is generated with [Metamorphosum](http://metaphorpsum.com/) (Copyright © 2014 Kyle Stetz, [MIT License](https://github.com/kylestetz/metaphorpsum/blob/master/LICENSE.md)).
diff --git a/website/themes/natrium/archetypes/default.md b/website/themes/natrium/archetypes/default.md
new file mode 100644
index 0000000..45676d7
--- /dev/null
+++ b/website/themes/natrium/archetypes/default.md
@@ -0,0 +1,5 @@
++++
+title = "{{ replace .TranslationBaseName "-" " " | title }}"
+date = "{{ dateFormat "2006-01-02" .Date }}"
+draft = true
++++
diff --git a/website/themes/natrium/exampleSite/config.toml b/website/themes/natrium/exampleSite/config.toml
new file mode 100644
index 0000000..cf85b0c
--- /dev/null
+++ b/website/themes/natrium/exampleSite/config.toml
@@ -0,0 +1,41 @@
+baseurl = "https://example.org/"
+languageCode = "en-us"
+title = "Natrium Theme"
+theme = "hugo-natrium-theme"
+preserveTaxonomyNames = true
+rssLimit = 10
+paginate = 10
+pygmentsCodefences = true
+pygmentsStyle = "native"
+
+[taxonomies]
+ category = "categories"
+ tag = "tags"
+
+[permalinks]
+ post = "/:slug/"
+ page = "/:slug/"
+
+[[menu.main]]
+ name = "About"
+ url = "/about/"
+ weight = -110
+
+[[menu.main]]
+ name = "Tags"
+ url = "/tags"
+ weight = -120
+
+[[menu.main]]
+ name = "Categories"
+ url = "/categories"
+ weight = -130
+
+[params]
+ description = ""
+
+ [params.logo]
+ url = "logo.png"
+ width = 50
+ height = 50
+ alt = "Logo"
diff --git a/website/themes/natrium/exampleSite/content/page/about.md b/website/themes/natrium/exampleSite/content/page/about.md
new file mode 100644
index 0000000..2d24b3e
--- /dev/null
+++ b/website/themes/natrium/exampleSite/content/page/about.md
@@ -0,0 +1,6 @@
++++
+title = "About"
+date = "2018-02-09"
++++
+
+We know that an improvement is a themeless diploma. Those coughs are nothing more than distributors. Postiche authorizations show us how poisons can be organisations. The thumb of a tsunami becomes a widest downtown.
diff --git a/website/themes/natrium/exampleSite/content/page/site-notice.md b/website/themes/natrium/exampleSite/content/page/site-notice.md
new file mode 100644
index 0000000..37a0093
--- /dev/null
+++ b/website/themes/natrium/exampleSite/content/page/site-notice.md
@@ -0,0 +1,15 @@
++++
+date = "2018-02-09"
+title = "Site notice"
+slug = "site-notice"
++++
+
+
+### Walruses
+Those drizzles are nothing more than mothers. Dewlapped laborers show us how flowers can be entrances. Nowhere is it disputed that the candle is a banker. The walruses could be said to resemble malar floors.
+
+### Radio
+Those facts are nothing more than velvets. Lambdoid dimes show us how anthonies can be trombones. An intense bookcase is a bookcase of the mind. The literature would have us believe that a bastioned copy is not but a radio.
+
+### Windshields
+A cork is a land from the right perspective. The first unpierced war is, in its own way, a field. Recent controversy aside, a creek is a burn's industry. Applied windshields show us how ideas can be segments.
diff --git a/website/themes/natrium/exampleSite/content/post/extending-this-logic.md b/website/themes/natrium/exampleSite/content/post/extending-this-logic.md
new file mode 100644
index 0000000..26915d3
--- /dev/null
+++ b/website/themes/natrium/exampleSite/content/post/extending-this-logic.md
@@ -0,0 +1,11 @@
++++
+date = "2018-02-09"
+title = "Extending this logic"
+slug = "extending-this-logic"
+categories = [ "Post", "Metaphorsum" ]
+tags = [ "Lamb", "Shell", "Bookcase", "Nothing" ]
++++
+
+The quiets could be said to resemble terete lambs. Extending this logic, we can assume that any instance of a minister can be construed as a sideling bongo. Their leaf was, in this moment, a coccoid [noodle](https://en.wikipedia.org/wiki/Noodle). In modern times a noise is a barge's calendar. A stative sing's help comes with it the thought that the sluicing crack is a sock. It's an undeniable fact, really; a feast sees a half-sister as a chewy grade.
+
+A condition is a shell's pressure. A dress sees a weapon as a plodding april. The date of a notebook becomes an outbound walk. Few can name a grateful fog that isn't a compleat double. A chick of the field is assumed to be an imbued bookcase. Those litters are nothing more than [yards](https://en.wikipedia.org/wiki/Yard).
diff --git a/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md b/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md
new file mode 100644
index 0000000..47bb8b7
--- /dev/null
+++ b/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md
@@ -0,0 +1,13 @@
++++
+date = "2018-02-09"
+title = "The actor is a gander"
+slug = "the-actor-is-a-gander"
+categories = [ "Post", "Metaphorsum" ]
+tags = [ "Actor", "Visitor", "Snowflakes", "Interest" ]
++++
+
+However, a frostless stop is a stream of the mind. The actor is a gander. A garni person without [gorillas](https://en.wikipedia.org/wiki/Gorilla) is truly a vest of scentless plots.
+
+Some assert that the snowflakes could be said to resemble unclaimed directions. The sponge is a boat. Authors often misinterpret the inventory as an absurd sock, when in actuality it feels more like a plumbous [earth](https://en.wikipedia.org/wiki/Soil).
+
+The first enarched tune is, in its own way, a visitor. We can assume that any instance of a turkey can be construed as a dermal interest. Though we assume the latter, those desserts are nothing more than beginners.
diff --git a/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md b/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md
new file mode 100644
index 0000000..b285032
--- /dev/null
+++ b/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md
@@ -0,0 +1,15 @@
++++
+date = "2018-02-09"
+title = "The beach is a push"
+slug = "the-beach-is-a-push"
+categories = [ "Post", "Metaphorsum" ]
+tags = [ "Riddles", "Beach", "Fahrenheit", "Nothing", "Interest" ]
++++
+
+Gainly stops show us how mother-in-laws can be drizzles. Some assert that the `fahrenheit` is a mascara. The crosswise idea reveals itself as a baddish ink to those who look. A grasping interest without kitties is truly a crocus of hopeful nets. The `developments` could be said to resemble farfetched triangles. A mind of the fender is assumed to be a cornute radiator.
+
+```
+In ancient times a whapping napkin's alcohol comes with it the thought that the weldless industry is a quill. A kilogram is a hardware's support. Few can name a hatted trouble that isn't a rotted fowl. Those trapezoids are nothing more than vacations. The beach is a push. A carsick giraffe is an inch of the mind.
+```
+
+Monthly riddles show us how shrimp can be nephews. In recent years, few can name a styloid dryer that isn't a toyless shoe. Their corn was, in this moment, a whoreson opera. Few can name a schmalzy cheetah that isn't a dashing barber. The chiffon alcohol comes from a million hen. What we don't know for sure is whether or not those trips are nothing more than barges.
diff --git a/website/themes/natrium/exampleSite/static/.gitkeep b/website/themes/natrium/exampleSite/static/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/website/themes/natrium/exampleSite/static/.gitkeep
diff --git a/website/themes/natrium/i18n/de.toml b/website/themes/natrium/i18n/de.toml
new file mode 100644
index 0000000..4fffca2
--- /dev/null
+++ b/website/themes/natrium/i18n/de.toml
@@ -0,0 +1,14 @@
+[footerRSS]
+other = "RSS-Feed"
+
+[siteNotice]
+other = "Seitenhinweise"
+
+[categories]
+other = "Kategorien"
+
+[tags]
+other = "Tags"
+
+[errorMessage]
+other = "Hier ist nichts."
diff --git a/website/themes/natrium/i18n/en.toml b/website/themes/natrium/i18n/en.toml
new file mode 100644
index 0000000..d9b5ec1
--- /dev/null
+++ b/website/themes/natrium/i18n/en.toml
@@ -0,0 +1,14 @@
+[footerRSS]
+other = "RSS feed"
+
+[siteNotice]
+other = "Site notice"
+
+[categories]
+other = "Categories"
+
+[tags]
+other = "Tags"
+
+[errorMessage]
+other = "Here is nothing."
diff --git a/website/themes/natrium/i18n/zh.toml b/website/themes/natrium/i18n/zh.toml
new file mode 100644
index 0000000..fac8c96
--- /dev/null
+++ b/website/themes/natrium/i18n/zh.toml
@@ -0,0 +1,14 @@
+[footerRSS]
+other = "RSS订阅"
+
+[siteNotice]
+other = "本站公告"
+
+[categories]
+other = "分类"
+
+[tags]
+other = "标签"
+
+[errorMessage]
+other = "页面不存在."
diff --git a/website/themes/natrium/images/screenshot.png b/website/themes/natrium/images/screenshot.png
new file mode 100644
index 0000000..685991d
--- /dev/null
+++ b/website/themes/natrium/images/screenshot.png
Binary files differ
diff --git a/website/themes/natrium/images/tn.png b/website/themes/natrium/images/tn.png
new file mode 100644
index 0000000..5a5990a
--- /dev/null
+++ b/website/themes/natrium/images/tn.png
Binary files differ
diff --git a/website/themes/natrium/layouts/404.html b/website/themes/natrium/layouts/404.html
new file mode 100644
index 0000000..28489eb
--- /dev/null
+++ b/website/themes/natrium/layouts/404.html
@@ -0,0 +1,17 @@
+{{ partial "header" . }}
+
+ <main class="content">
+ <div>
+ <h1 class="error-page-title">404</h1>
+ </div>
+ <div class="error-page-content">
+ {{ i18n "errorMessage" }}
+ <div>
+ <a href="{{ .Site.BaseURL }}"><i class="fa fa-chevron-up"></i></a>
+ </div>
+ </div>
+ </main>
+
+{{ partial "footer" . }}
+
+
diff --git a/website/themes/natrium/layouts/_default/list.html b/website/themes/natrium/layouts/_default/list.html
new file mode 100644
index 0000000..9353e44
--- /dev/null
+++ b/website/themes/natrium/layouts/_default/list.html
@@ -0,0 +1 @@
+/* Natrium doesn't support list.html. */
diff --git a/website/themes/natrium/layouts/_default/single.html b/website/themes/natrium/layouts/_default/single.html
new file mode 100644
index 0000000..240109d
--- /dev/null
+++ b/website/themes/natrium/layouts/_default/single.html
@@ -0,0 +1,31 @@
+{{ partial "header.html" . }}
+
+<main class="content" role="main">
+ <article class="article">
+ <h1 class="article-title">{{ .Title }}</h1>
+ {{ if eq .Section "post" }}
+ <span class="article-date">{{ .Date.Format "2006-01-02" }}</span>
+ {{ end }}
+
+ <div class="article-content">
+ {{ .Content }}
+ </div>
+
+ <ul class="article-taxonomy">
+ {{ if .Params.categories }}
+ <hr>
+ <li>
+ <i class="fa fa-category"></i>{{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}{{ end }}<a href="{{ "categories/" | relURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
+ </li>
+ {{ end }}
+
+ {{ if .Params.tags }}
+ <li>
+ <i class="fa fa-tags"></i>{{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}{{ end }}<a href="{{ "tags/" | relURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
+ </li>
+ {{ end }}
+ </article>
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/layouts/index.html b/website/themes/natrium/layouts/index.html
new file mode 100644
index 0000000..d71b3fa
--- /dev/null
+++ b/website/themes/natrium/layouts/index.html
@@ -0,0 +1,20 @@
+{{ partial "header.html" . }}
+
+<main class="content">
+
+ <div class="list">
+ {{ range (.Paginate ((where .Data.Pages "Type" "post").GroupByDate "2006")).PageGroups }}
+ <h2 class="list-title">{{ .Key }}</h2>
+ {{ range .Pages }}
+
+ {{ partial "list-item.html" . }}
+
+ {{ end }}
+ {{ end }}
+ </div>
+
+ {{ partial "pagination.html" . }}
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/layouts/partials/footer.html b/website/themes/natrium/layouts/partials/footer.html
new file mode 100644
index 0000000..0230966
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/footer.html
@@ -0,0 +1,13 @@
+ <footer class="footer">
+ <ul class="footer-links">
+ <li>
+ <a href="{{ .Site.RSSLink }}" type="application/rss+xml" target="_blank"><i class="fa fa-rss"></i> {{ i18n "footerRSS" }}</a>
+ </li>
+ <li>
+ <a href="{{ .Site.Params.GitHubURL }}"><i class="fa fa-github"></i> Code</a>
+ </li>
+ </ul>
+ </footer>
+ </div>
+ </body>
+</html>
diff --git a/website/themes/natrium/layouts/partials/head.html b/website/themes/natrium/layouts/partials/head.html
new file mode 100644
index 0000000..b17415e
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/head.html
@@ -0,0 +1,31 @@
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+{{ .Hugo.Generator }}
+
+{{ if eq .URL "/" }}
+<title>{{ .Title }}</title>
+<meta property="og:title" content="{{ .Title }}">
+<meta property="og:type" content="website">
+{{ else }}
+<title>{{ .Title }} - {{ .Site.Title }}</title>
+<meta property="og:title" content="{{ .Title }} - {{ .Site.Title }}">
+{{ end }}
+
+{{ if eq .URL "/" }}
+<meta property="description" content="{{ .Site.Params.description }}">
+{{ else }}
+ {{ if .Description }}
+ <meta property="description" content="{{ .Description }}">
+ {{ end }}
+{{ end }}
+
+{{ if .Keywords }}
+<meta property="keywords" content ="{{ delimit .Keywords ", " }}">
+{{ end }}
+
+{{ if .RSSLink }}
+<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+{{ end }}
+
+<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" media="all">
+<link rel="stylesheet" href="{{ .Site.BaseURL }}css/fonts.css">
diff --git a/website/themes/natrium/layouts/partials/header.html b/website/themes/natrium/layouts/partials/header.html
new file mode 100644
index 0000000..6a3b55c
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/header.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+ <head>
+ {{ partial "head.html" . }}
+ </head>
+ <body>
+ <div class="wrapper">
+ <header class="header">
+ {{ partial "nav.html" . }}
+ </header>
diff --git a/website/themes/natrium/layouts/partials/list-item.html b/website/themes/natrium/layouts/partials/list-item.html
new file mode 100644
index 0000000..245a80d
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/list-item.html
@@ -0,0 +1,6 @@
+ <nav class="list-item">
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <span class="list-item-date">
+ {{ .Date.Format "2006-01-02" }}
+ </span>
+ </nav>
diff --git a/website/themes/natrium/layouts/partials/nav.html b/website/themes/natrium/layouts/partials/nav.html
new file mode 100644
index 0000000..607878c
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/nav.html
@@ -0,0 +1,14 @@
+<nav class="nav">
+ <a href="{{ .Site.BaseURL }}" class="nav-logo">
+ <img src="{{ .Site.BaseURL }}images/{{ .Site.Params.logo.url }}"
+ width="{{ .Site.Params.logo.width }}"
+ height="{{ .Site.Params.logo.height }}"
+ alt="{{ .Site.Params.logo.alt }}">
+ </a>
+
+ <ul class="nav-links">
+ {{ range .Site.Menus.main }}
+ <li><a href="{{ .URL }}">{{ .Name }}</a></li>
+ {{ end }}
+ </ul>
+</nav>
diff --git a/website/themes/natrium/layouts/partials/pagination.html b/website/themes/natrium/layouts/partials/pagination.html
new file mode 100644
index 0000000..d818c18
--- /dev/null
+++ b/website/themes/natrium/layouts/partials/pagination.html
@@ -0,0 +1,34 @@
+{{ $pag := $.Paginator }}
+{{ if gt $pag.TotalPages 1 }}
+
+<ul class="page-links">
+ <li
+ {{ if not $pag.HasPrev }}class="page-links-disabled"{{ end }}>
+ <a href="{{ if $pag.HasPrev }}{{ $pag.Prev.URL }}{{ end }}" aria-label="Previous"><span aria-hidden="true">&lt;&#160;</span></a>
+ </li>
+ {{ $.Scratch.Set "__paginator.ellipsed" false }}
+ {{ range $pag.Pagers }}
+ {{ $right := sub .TotalPages .PageNumber }}
+ {{ $showNumber := or (le .PageNumber 3) (eq $right 0) }}
+ {{ $showNumber := or $showNumber (and (gt .PageNumber (sub $pag.PageNumber 2)) (lt .PageNumber (add $pag.PageNumber 2))) }}
+ {{ if $showNumber }}
+ {{ $.Scratch.Set "__paginator.ellipsed" false }}
+ {{ $.Scratch.Set "__paginator.shouldEllipse" false }}
+ {{ else }}
+ {{ $.Scratch.Set "__paginator.shouldEllipse" (not ($.Scratch.Get "__paginator.ellipsed") ) }}
+ {{ $.Scratch.Set "__paginator.ellipsed" true }}
+ {{ end }}
+ {{ if $showNumber }}
+ <li
+ {{ if eq . $pag }}class="page-links-active"{{ end }}><a href="{{ .URL }}">{{ .PageNumber }}</a>
+ </li>
+ {{ else if ($.Scratch.Get "__paginator.shouldEllipse") }}
+ <li class="page-links-disabled"><span aria-hidden="true">&hellip;</span></li>
+ {{ end }}
+ {{ end }}
+ <li
+ {{ if not $pag.HasNext }}class="page-links-disabled"{{ end }}>
+ <a href="{{ if $pag.HasNext }}{{ $pag.Next.URL }}{{ end }}" aria-label="Next"><span aria-hidden="true">&#160;&gt;</span></a>
+ </li>
+</ul>
+{{ end }}
diff --git a/website/themes/natrium/layouts/rss.xml b/website/themes/natrium/layouts/rss.xml
new file mode 100644
index 0000000..4008f49
--- /dev/null
+++ b/website/themes/natrium/layouts/rss.xml
@@ -0,0 +1,28 @@
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <link>{{ .Permalink }}</link>
+ <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
+ <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
+ <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
+ <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
+ <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
+ <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
+ <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
+ {{ with .OutputFormats.Get "RSS" }}
+ {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
+ {{ end }}
+ {{ range .Data.Pages }}
+ {{ if eq .Section "post" }}
+ <item>
+ <title>{{ .Title }}</title>
+ <link>{{ .Permalink }}</link>
+ <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
+ {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
+ <guid>{{ .Permalink }}</guid>
+ <description>{{ .Summary | html }}</description>
+ </item>
+ {{ end }}
+ {{ end }}
+ </channel>
+</rss>
diff --git a/website/themes/natrium/layouts/taxonomy/category.html b/website/themes/natrium/layouts/taxonomy/category.html
new file mode 100644
index 0000000..d20298a
--- /dev/null
+++ b/website/themes/natrium/layouts/taxonomy/category.html
@@ -0,0 +1,18 @@
+{{ partial "header.html" . }}
+
+<main class="content" role="main">
+
+ <div class="list">
+ <h2 class="list-title">{{ .Title }}</h2>
+ {{ range .Paginator.Pages }}
+
+ {{ partial "list-item.html" . }}
+
+ {{ end }}
+ </div>
+
+ {{ partial "pagination.html" . }}
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/layouts/taxonomy/category.terms.html b/website/themes/natrium/layouts/taxonomy/category.terms.html
new file mode 100644
index 0000000..d5ba7bc
--- /dev/null
+++ b/website/themes/natrium/layouts/taxonomy/category.terms.html
@@ -0,0 +1,22 @@
+{{ partial "header.html" . }}
+
+<main class="content">
+
+ <div class="category">
+ <h2 class="category-title">{{ i18n "categories" }}</h2>
+ {{ $data := .Data }}
+ {{ range $key, $value := .Data.Terms.Alphabetical }}
+ <ul class="category-item">
+ <li>
+ <a href="{{ $.Site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}">{{ $value.Name }}</a>
+ <span class="category-item-count">
+ <sup>({{ $value.Count }})</sup>
+ </span>
+ </li>
+ </ul>
+ {{ end }}
+ </div>
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/layouts/taxonomy/tag.html b/website/themes/natrium/layouts/taxonomy/tag.html
new file mode 100644
index 0000000..08eb524
--- /dev/null
+++ b/website/themes/natrium/layouts/taxonomy/tag.html
@@ -0,0 +1,18 @@
+{{ partial "header.html" . }}
+
+<main class="content" role="main">
+
+ <div class="list">
+ <h2 class="list-title">{{ .Title }}</h2>
+ {{ range .Paginator.Pages }}
+
+ {{ partial "list-item.html" . }}
+
+ {{ end }}
+ </div>
+
+ {{ partial "pagination.html" . }}
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/layouts/taxonomy/tag.terms.html b/website/themes/natrium/layouts/taxonomy/tag.terms.html
new file mode 100644
index 0000000..77a68c7
--- /dev/null
+++ b/website/themes/natrium/layouts/taxonomy/tag.terms.html
@@ -0,0 +1,31 @@
+{{ partial "header.html" . }}
+
+<main class="content">
+
+ <div class="tag-cloud">
+ <h2 class="tag-cloud-title">{{ i18n "tags" }}</h2>
+ {{ if not (eq (len $.Site.Taxonomies.tags) 0) }}
+ {{ $fontUnit := "rem" }}
+ {{ $largestFontSize := 2.5 }}
+ {{ $smallestFontSize := 1.0 }}
+ {{ $fontSpread := sub $largestFontSize $smallestFontSize }}
+ {{ $max := add (len (index $.Site.Taxonomies.tags.ByCount 0).Pages) 1 }}
+ {{ $min := len (index $.Site.Taxonomies.tags.ByCount.Reverse 0).Pages }}
+ {{ $spread := sub $max $min }}
+ {{ $fontStep := div $fontSpread $spread }}
+ <ul class="tag-cloud-item">
+ {{ range $name, $taxonomy := $.Site.Taxonomies.tags }}
+ {{ $currentTagCount := len $taxonomy.Pages }}
+ {{ $currentFontSize := (add $smallestFontSize (mul (sub $currentTagCount $min) $fontStep) ) }}
+ {{ $count := len $taxonomy.Pages }}
+ {{ $weigth := div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }}
+ {{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }}
+ <li><a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" style="font-size:{{$currentFontSize}}{{$fontUnit}}">{{ $name }}</a></li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ </div>
+
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/website/themes/natrium/static/css/fonts.css b/website/themes/natrium/static/css/fonts.css
new file mode 100644
index 0000000..d096b37
--- /dev/null
+++ b/website/themes/natrium/static/css/fonts.css
@@ -0,0 +1,89 @@
+/* roboto-mono-regular - latin */
+@font-face {
+ font-family: 'Roboto Mono';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Roboto Mono'), local('RobotoMono-Regular'),
+ url('../fonts/roboto-mono-v5-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/roboto-mono-v5-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* lato-regular - latin */
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Lato Regular'), local('Lato-Regular'),
+ url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/lato-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* lato-700 - latin */
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Lato Bold'), local('Lato-Bold'),
+ url('../fonts/lato-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/lato-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* lato-italic - latin */
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: local('Lato Italic'), local('Lato-Italic'),
+ url('../fonts/lato-v14-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/lato-v14-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* lato-700italic - latin */
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: local('Lato Bold Italic'), local('Lato-BoldItalic'),
+ url('../fonts/lato-v14-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/lato-v14-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* merriweather-regular - latin */
+@font-face {
+ font-family: 'Merriweather';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Merriweather Regular'), local('Merriweather-Regular'),
+ url('../fonts/merriweather-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/merriweather-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* merriweather-italic - latin */
+@font-face {
+ font-family: 'Merriweather';
+ font-style: italic;
+ font-weight: 400;
+ src: local('Merriweather Italic'), local('Merriweather-Italic'),
+ url('../fonts/merriweather-v19-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/merriweather-v19-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* merriweather-700 - latin */
+@font-face {
+ font-family: 'Merriweather';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Merriweather Bold'), local('Merriweather-Bold'),
+ url('../fonts/merriweather-v19-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/merriweather-v19-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* merriweather-700italic - latin */
+@font-face {
+ font-family: 'Merriweather';
+ font-style: italic;
+ font-weight: 700;
+ src: local('Merriweather Bold Italic'), local('Merriweather-BoldItalic'),
+ url('../fonts/merriweather-v19-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+ url('../fonts/merriweather-v19-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+}
+/* fontawesome */
+@font-face {
+ font-family: 'FontAwesome';
+ src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
+ src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff');
+ font-weight: normal;
+ font-style: normal;
+}
diff --git a/website/themes/natrium/static/css/main.css b/website/themes/natrium/static/css/main.css
new file mode 100644
index 0000000..1ce0f12
--- /dev/null
+++ b/website/themes/natrium/static/css/main.css
@@ -0,0 +1,536 @@
+html,
+body {
+ margin: 0;
+ padding: 0;
+ position: relative;
+}
+
+body {
+ font-family: 'Merriweather', serif;
+ -webkit-hyphens: auto;
+ hyphens: auto;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-family: 'Lato', sans-serif;
+ color: #222;
+}
+
+pre,
+code {
+ font-family: 'Roboto Mono', monospace;
+ font-size: 15px;
+}
+
+code {
+ border-radius: 3px;
+ padding: 1px 3px;
+ background: #f0f0f0;
+ -webkit-hyphens: none;
+ hyphens: none;
+}
+
+pre {
+ overflow-x: auto;
+ padding: 8px 12px;
+ border-radius: 3px;
+ background: #202020;
+ color: #d0d0d0;
+}
+
+pre code {
+ padding: initial;
+ background: transparent;
+}
+
+a:hover,
+a:active {
+ outline: none;
+ background-color: rgba(0,0,0,0);
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
+}
+
+img {
+ display: block;
+ margin: 0 auto;
+ max-width: 100%;
+ height: auto;
+}
+
+blockquote {
+ border-left: 5px solid #ccc;
+ background: #f5f5f5;
+ margin: 20px;
+ padding-left: 10px;
+}
+
+.wrapper {
+ overflow: hidden;
+ position: relative;
+}
+
+.header {
+ padding: 20px 0;
+ position: relative;
+ background: #f5f5f5;
+ border-bottom: 1px solid #eaeaea;
+}
+
+.nav {
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 0 15px;
+ font-family: 'Lato', sans-serif;
+ text-align: right;
+}
+
+.nav-logo {
+ float: left;
+ margin-top: -11px;
+ transition: transform 150ms ease-out;
+}
+
+.nav-logo:hover {
+ transform: scale(1.1);
+}
+
+.nav-logo img {
+ display: block;
+ max-height: 40px;
+ width: auto;
+}
+
+.nav-links {
+ margin: 0;
+ padding: 0;
+ font-size: 14px;
+ list-style: none;
+}
+
+.nav-links li {
+ display: inline-block;
+ margin: 0 0 0 15px;
+}
+
+.nav-links li:first-child {
+ margin-left: 0;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: #444;
+}
+
+.nav-links a:hover {
+ color: #111;
+}
+
+.content {
+ display: block;
+ max-width: 700px;
+ margin: 60px auto 80px;
+ padding: 0 15px;
+ font-size: 16px;
+ line-height: 1.7;
+ color: #555;
+}
+
+.article-title {
+ font-size: 34px;
+ color: #222;
+ margin: 0;
+ line-height: 1.3;
+}
+
+.article-date {
+ font-size: 16px;
+ font-family: 'Lato', sans-serif;
+ color: #ccc;
+}
+
+.article-content p {
+ margin: 15px 0 25px;
+}
+
+.article-content a {
+ text-decoration: none;
+ color: inherit;
+ border-bottom: medium solid #f0f0f0;
+ transition: border-color 600ms;
+}
+
+.article-content a:hover,
+.article-content a:active {
+ border-color: #606060;
+}
+
+.article-content hr {
+ width: 150px;
+ margin: 50px auto;
+ height: 1px;
+ overflow: hidden;
+ border: none;
+ background: #e8e8e8;
+}
+
+.article-taxonomy {
+ list-style: none;
+ padding-left: 0;
+ font-family: 'Lato', sans-serif;
+ color: #404040;
+ font-size: 14px;
+ text-align: left;
+}
+
+.article-taxonomy hr {
+ width: 200px;
+ margin: 5px 0 10px;
+ height: 1px;
+ border: none;
+ background: #e8e8e8;
+}
+
+.article-taxonomy a {
+ display: inline-block;
+ margin: 0 10px 0 0;
+ text-decoration: none;
+ color: inherit;
+ transition: color 300ms;
+}
+
+.article-taxonomy a:hover,
+.article-taxonomy a:active {
+ color: #ccc;
+}
+
+.article-image-large {
+ padding: 2px;
+ border: solid 1px #e6e6e6;
+ opacity: 1;
+ transition: opacity 1s;
+}
+
+.article-image-large:hover,
+.article-image-large:active {
+ opacity: 0.5;
+}
+
+.list,
+.category,
+.tag-cloud {
+ margin: 0;
+ padding: 0;
+ line-height: 1.3em;
+}
+
+.list-title,
+.category-title,
+.tag-cloud-title {
+ font-size: 32px;
+ margin-top: 60px;
+ padding-bottom: 10px;
+}
+
+.list-item {
+ margin: 0 0 20px;
+ padding: 0;
+}
+
+.list-item-date {
+ display: block;
+ padding: 4px 0;
+ font-family: 'Lato', sans-serif;
+ color: #ccc;
+ font-size: 14px;
+}
+
+.list-item a {
+ display: inline-block;
+ box-sizing: border-box;
+ width: auto;
+ max-width: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding: 3px 0;
+ text-decoration: none;
+ font-size: 17px;
+ font-family: 'Lato', sans-serif;
+ font-weight: bold;
+ color: #222;
+ border-bottom: 1px solid #ddd;
+ transition: border-color 300ms;
+}
+
+.list-item a:hover {
+ border-color: #222;
+}
+
+.category-item {
+ display: block;
+ list-style: none;
+ margin: 5px 0 15px;
+ padding: 0;
+}
+
+.category-item a {
+ display: inline-block;
+ padding: 5px 0;
+ text-decoration: none;
+ font-size: 19px;
+ font-family: 'Lato', sans-serif;
+ font-weight: bold;
+ color: #222;
+ transition: color 300ms;
+}
+
+.category-item-count {
+ font-family: 'Lato', sans-serif;
+ margin-right: 15px;
+ color: #ccc;
+ font-size: 14px;
+ font-weight: bold;
+}
+
+.tag-cloud-item {
+ margin: 0;
+ padding: 0;
+}
+
+.tag-cloud-item li {
+ display: inline-block;
+ list-style: none;
+ padding: 0 15px 15px 0;
+}
+
+.tag-cloud-item a {
+ text-decoration: none;
+ font-family: 'Lato', sans-serif;
+ font-weight: bold;
+ color: #222;
+ transition: color 300ms;
+}
+
+.tag-cloud-item a:hover,
+.tag-cloud-item a:active,
+.category-item a:hover,
+.category-item a:active {
+ color: #ccc;
+}
+
+.footer {
+ height: 40px;
+ margin: 0;
+ padding: 0;
+ text-align: center;
+ font-family: 'Lato', sans-serif;
+}
+
+.footer-links {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ color: #ccc;
+ font-size: 14px;
+}
+
+.footer-links li {
+ margin: 0;
+ padding: 0;
+ display: inline-block;
+}
+
+.footer-links a {
+ color: #888;
+ text-decoration: none;
+ transition: color 300ms;
+ margin: 0 5px;
+}
+
+.footer-links a:hover {
+ color: #222;
+}
+
+.footer-links li::before {
+ content: '•';
+ position: relative;
+ left: -2px;
+}
+
+.footer-links li:first-child::before {
+ display: none;
+}
+
+.page-links {
+ margin: 25px 0;
+ padding: 0;
+ text-align: center;
+ font-family: 'Lato', sans-serif;
+ font-size: 16px;
+}
+
+.page-links li {
+ display: inline-block;
+}
+
+.page-links a {
+ text-decoration: none;
+ padding: 0 5px;
+ color: #555;
+ transition: color 300ms;
+}
+
+.page-links a:hover {
+ color: #ccc;
+}
+
+.page-links-active a,
+.page-links-disabled a {
+ text-decoration: none;
+ color: #ccc;
+}
+
+.error-page-title {
+ text-align: center;
+ font-size: 76px;
+}
+
+.error-page-content {
+ text-align: center;
+}
+
+.error-page-content a {
+ text-decoration: none;
+ color: inherit;
+ transition: color 600ms;
+}
+
+.error-page-content a:hover,
+.error-page-content a:active {
+ color: #ccc;
+}
+
+.fa {
+ font-family: 'FontAwesome';
+ font-style: normal;
+}
+
+.fa-rss::before {
+ content: "\f09e";
+}
+
+.fa-chevron-up::before {
+ content: "\f077";
+}
+
+.fa-github::before {
+ content: "\f09b";
+}
+
+.fa-tags::before {
+ content: "\f02c";
+ float: left;
+ padding: 0px 10px 50px 0;
+}
+
+.fa-category::before {
+ content: "\f07c";
+ float: left;
+ padding: 0 10px 0px 0;
+}
+
+@media (min-width: 600px) {
+ code {
+ padding: 2px 4px;
+ }
+
+ pre,
+ code {
+ font-size: 17px;
+ }
+
+ .header {
+ padding: 25px 0;
+ }
+
+ .nav-logo {
+ margin-top: -13px;
+ }
+
+ .nav-logo img {
+ max-height: 50px;
+ }
+
+ .nav-links {
+ font-size: 18px;
+ }
+
+ .nav-links li {
+ margin: 0 0 0 30px;
+ }
+
+ .content {
+ font-size: 19px;
+ line-height: 1.8;
+ margin: 100px auto;
+ }
+
+ .article-title {
+ font-size: 42px;
+ }
+
+ .article-date {
+ font-size: 19px;
+ }
+
+ .article-taxonomy {
+ font-size: 17px;
+ }
+
+ .list-title,
+ .category-title,
+ .tag-cloud-title {
+ font-size: 38px;
+ }
+
+ .list-item a {
+ padding: 5px 0;
+ font-size: 21px;
+ }
+
+ .list-item-date {
+ padding: 5px 0;
+ font-size: 17px;
+ text-align: right;
+ float: right;
+ }
+
+ .category-item {
+ display: inline-block;
+ }
+
+ .category-item a {
+ font-size: 21px;
+ }
+
+ .footer-links {
+ font-size: inherit;
+ }
+
+ .footer-links a {
+ margin: 0 15px;
+ }
+
+ .page-links {
+ font-size: 19px;
+ }
+
+ .error-page-title {
+ font-size: 114px;
+ }
+}
diff --git a/website/themes/natrium/static/fonts/fontawesome-webfont.woff b/website/themes/natrium/static/fonts/fontawesome-webfont.woff
new file mode 100644
index 0000000..400014a
--- /dev/null
+++ b/website/themes/natrium/static/fonts/fontawesome-webfont.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/fontawesome-webfont.woff2 b/website/themes/natrium/static/fonts/fontawesome-webfont.woff2
new file mode 100644
index 0000000..4d13fc6
--- /dev/null
+++ b/website/themes/natrium/static/fonts/fontawesome-webfont.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700.woff b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff
new file mode 100644
index 0000000..1d9d75b
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2
new file mode 100644
index 0000000..d88f1af
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff
new file mode 100644
index 0000000..f79d9a9
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2
new file mode 100644
index 0000000..c351d88
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff
new file mode 100644
index 0000000..169e8cf
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2
new file mode 100644
index 0000000..2688dc6
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff
new file mode 100644
index 0000000..97ab144
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2
new file mode 100644
index 0000000..b14c76c
--- /dev/null
+++ b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff
new file mode 100644
index 0000000..54fd386
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2
new file mode 100644
index 0000000..c10e226
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff
new file mode 100644
index 0000000..a390989
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2
new file mode 100644
index 0000000..0538466
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff
new file mode 100644
index 0000000..b03db73
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2
new file mode 100644
index 0000000..a854315
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff
new file mode 100644
index 0000000..941d8a8
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2
new file mode 100644
index 0000000..e834d42
--- /dev/null
+++ b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2
Binary files differ
diff --git a/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff
new file mode 100644
index 0000000..0ea5db8
--- /dev/null
+++ b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff
Binary files differ
diff --git a/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2 b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2
new file mode 100644
index 0000000..6163de7
--- /dev/null
+++ b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2
Binary files differ
diff --git a/website/themes/natrium/static/images/logo.png b/website/themes/natrium/static/images/logo.png
new file mode 100644
index 0000000..c636fe9
--- /dev/null
+++ b/website/themes/natrium/static/images/logo.png
Binary files differ
diff --git a/website/themes/natrium/theme.toml b/website/themes/natrium/theme.toml
new file mode 100644
index 0000000..5105c3e
--- /dev/null
+++ b/website/themes/natrium/theme.toml
@@ -0,0 +1,17 @@
+name = "Natrium"
+license = "MIT"
+licenselink = "https://github.com/mobybit/hugo-natrium-theme/blob/master/LICENSE.md"
+description = "Natrium minimal theme"
+homepage = "https://github.com/mobybit/hugo-natrium-theme"
+tags = ["blog", "minimal", "personal", "responsive"]
+features = ["blog", "taxonomies", "privacy"]
+min_version = 0.25
+
+[author]
+ name = "Tim Krieger"
+ homepage = "https://blog.mobybit.de"
+
+[original]
+ name = "Jonathan Rutheiser"
+ homepage = "http://jrutheiser.com/"
+ repo = "https://github.com/jrutheiser/hugo-lithium-theme"