From a78380049fca7eb6de32d60898463943731cae77 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 21 May 2018 13:21:26 +0200 Subject: Vendor heavily modified theme --- .gitmodules | 6 - themes/after-dark | 1 - themes/ananke | 1 - themes/hugo-classic | 1 - themes/hugo-classic/LICENSE.md | 18 ++ themes/hugo-classic/README.md | 73 +++++++ themes/hugo-classic/archetypes/default.md | 4 + themes/hugo-classic/exampleSite/config.toml | 33 +++ themes/hugo-classic/exampleSite/content/_index.md | 28 +++ .../content/post/2012-01-23-juicy-code.md | 30 +++ .../content/post/2012-04-23-hacker-with-horn.md | 25 +++ .../post/2015-07-23-command-line-awesomeness.md | 14 ++ .../content/post/2016-02-14-markdown-guide.md | 171 +++++++++++++++ .../exampleSite/static/css/theme-override.css | 1 + themes/hugo-classic/images/partywizard.gif | Bin 0 -> 23511 bytes themes/hugo-classic/images/screenshot.png | Bin 0 -> 240374 bytes themes/hugo-classic/images/tn.png | Bin 0 -> 130371 bytes themes/hugo-classic/layouts/404.html | 5 + themes/hugo-classic/layouts/_default/list.html | 18 ++ themes/hugo-classic/layouts/_default/single.html | 23 ++ themes/hugo-classic/layouts/_default/terms.html | 16 ++ .../hugo-classic/layouts/partials/foot_custom.html | 25 +++ themes/hugo-classic/layouts/partials/footer.html | 13 ++ .../hugo-classic/layouts/partials/head_custom.html | 33 +++ themes/hugo-classic/layouts/partials/header.html | 16 ++ themes/hugo-classic/static/css/fonts.css | 7 + themes/hugo-classic/static/css/style.css | 241 +++++++++++++++++++++ themes/hugo-classic/theme.toml | 17 ++ 28 files changed, 811 insertions(+), 9 deletions(-) delete mode 160000 themes/after-dark delete mode 160000 themes/ananke delete mode 160000 themes/hugo-classic create mode 100644 themes/hugo-classic/LICENSE.md create mode 100644 themes/hugo-classic/README.md create mode 100644 themes/hugo-classic/archetypes/default.md create mode 100644 themes/hugo-classic/exampleSite/config.toml create mode 100644 themes/hugo-classic/exampleSite/content/_index.md create mode 100644 themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md create mode 100644 themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md create mode 100644 themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md create mode 100644 themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md create mode 100644 themes/hugo-classic/exampleSite/static/css/theme-override.css create mode 100644 themes/hugo-classic/images/partywizard.gif create mode 100644 themes/hugo-classic/images/screenshot.png create mode 100644 themes/hugo-classic/images/tn.png create mode 100644 themes/hugo-classic/layouts/404.html create mode 100644 themes/hugo-classic/layouts/_default/list.html create mode 100644 themes/hugo-classic/layouts/_default/single.html create mode 100644 themes/hugo-classic/layouts/_default/terms.html create mode 100644 themes/hugo-classic/layouts/partials/foot_custom.html create mode 100644 themes/hugo-classic/layouts/partials/footer.html create mode 100644 themes/hugo-classic/layouts/partials/head_custom.html create mode 100644 themes/hugo-classic/layouts/partials/header.html create mode 100644 themes/hugo-classic/static/css/fonts.css create mode 100644 themes/hugo-classic/static/css/style.css create mode 100644 themes/hugo-classic/theme.toml diff --git a/.gitmodules b/.gitmodules index 76fbb00..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +0,0 @@ -[submodule "themes/after-dark"] - path = themes/after-dark - url = https://github.com/comfusion/after-dark -[submodule "themes/ananke"] - path = themes/ananke - url = https://github.com/budparr/gohugo-theme-ananke.git diff --git a/themes/after-dark b/themes/after-dark deleted file mode 160000 index 7b4ddbf..0000000 --- a/themes/after-dark +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b4ddbf697db366c53fb3279aefa8bf36daad991 diff --git a/themes/ananke b/themes/ananke deleted file mode 160000 index 41727a6..0000000 --- a/themes/ananke +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 41727a62e2afa9cdb1c828ddeafc2928d5566c3b diff --git a/themes/hugo-classic b/themes/hugo-classic deleted file mode 160000 index e28d1cb..0000000 --- a/themes/hugo-classic +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e28d1cb6083bbe0be304650ec1122b4be7862a97 diff --git a/themes/hugo-classic/LICENSE.md b/themes/hugo-classic/LICENSE.md new file mode 100644 index 0000000..c7d9150 --- /dev/null +++ b/themes/hugo-classic/LICENSE.md @@ -0,0 +1,18 @@ +The MIT License (MIT) + +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/themes/hugo-classic/README.md b/themes/hugo-classic/README.md new file mode 100644 index 0000000..5135313 --- /dev/null +++ b/themes/hugo-classic/README.md @@ -0,0 +1,73 @@ +# Hugo.io - Classic Theme + +Classic is forked from the **XMin** theme, written by [Yihui Xie](https://yihui.name). I made a fresh remix of it for my [personal blog](https://goodroot.ca). It provides some simplifications, `highlight.js` for syntax highlighting, emoji support, and slick fonts. + +### Instructions + +1: Install Hugo. + +``` +brew install hugo +``` + +2: Create a new site. + +``` +hugo new site classic +``` + +3: Change to themes dir. + +``` +cd classic/themes +``` + +4: Clone the repo + +``` +git clone git@github.com:goodroot/hugo-classic.git +``` + +5: Copy the contents of the `exampleSite` directory into {dir}/classic. + +6: Enjoy and customize to your hearts content! + +### New Posts + +To make new posts, simply use the command line: + +``` +hugo new post/good-to-great.md +``` + +### Header Colour + +To adjust the header colour, head to `static/css/style.css` and change... + +``` +header { + background: #613DC1; +} +``` + +... `background:` to any colour value you'd like! + +For header font: + +``` +header a { + color: #fff; +} +``` + +Change `color:` to a nice matching colour. + +#### Screenshot + +![Screenshot of Hugo Classic](https://github.com/goodroot/hugo-classic/raw/master/images/screenshot.png) + +## Blog Posts + +hugo-classic has appeared in... + +[15 Hugo Framework blog themes](https://terrty.net/2018/15-hugo-framework-blog-themes/) by [paskal](https://github.com/paskal) diff --git a/themes/hugo-classic/archetypes/default.md b/themes/hugo-classic/archetypes/default.md new file mode 100644 index 0000000..fb98e92 --- /dev/null +++ b/themes/hugo-classic/archetypes/default.md @@ -0,0 +1,4 @@ +--- +title: '' +date: '' +--- diff --git a/themes/hugo-classic/exampleSite/config.toml b/themes/hugo-classic/exampleSite/config.toml new file mode 100644 index 0000000..f5ff3dd --- /dev/null +++ b/themes/hugo-classic/exampleSite/config.toml @@ -0,0 +1,33 @@ +baseurl = "/" +languageCode = "en-us" +title = "Classic" +theme = "hugo-classic" +googleAnalytics = "" +ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"] +preserveTaxonomyNames = true +enableEmoji = true +footnotereturnlinkcontents = "↩" + +[permalinks] + post = "/post/:year/:month/:day/:slug/" + +[[menu.main]] + name = "Home" + url = "/" + weight = 1 +[[menu.main]] + name = "Categories" + url = "/categories/" + weight = 2 +[[menu.main]] + name = "Tags" + url = "/tags/" + weight = 3 +[[menu.feed]] + name = "Subscribe" + url = "/index.xml" + +[params] + description = "A simple, minimal blog for those who love text." + footer = "Open-Source | [Github](https://github.com/goodroot/hugo-classic) | [Twitter](https://twitter.com/thegoodroot)" + custom_css = ["css/theme-override.css"] diff --git a/themes/hugo-classic/exampleSite/content/_index.md b/themes/hugo-classic/exampleSite/content/_index.md new file mode 100644 index 0000000..32af099 --- /dev/null +++ b/themes/hugo-classic/exampleSite/content/_index.md @@ -0,0 +1,28 @@ +--- +title: Home +--- + +[Github repo](https://github.com/goodroot/hugo-classic) + +# Hugo.io - Classic + +### For text focused goodness + +About twenty years ago Jobs and Wozniak, the founders of Apple, came up with the very strange idea of selling information processing machines for use in the home. The business took off, and its founders made a lot of money and received the credit they deserved for being daring visionaries. But around the same time, Bill Gates and Paul Allen came up with an idea even stranger and more fantastical: **selling computer operating systems**. This was much weirder than the idea of Jobs and Wozniak. + +~~~ruby +def with_value_from_database(value) + self.class.from_database(name, value, type) +end + +def with_cast_value(value) + self.class.with_cast_value(name, value, type) +end +end +~~~ + +A computer at least had some sort of physical reality to it. It came in a box, you could open it up and plug it in and watch lights blink. An operating system had no tangible incarnation at all. It arrived on a disk, of course, but the disk was, in effect, nothing more than the box that the OS came in. + +
+ +### Blog diff --git a/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md b/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md new file mode 100644 index 0000000..4614e74 --- /dev/null +++ b/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md @@ -0,0 +1,30 @@ +--- +title: Juicy Code +author: Open Source +date: '2012-01-23' +categories: + - Code +tags: + - Juicy +slug: juicy-code +--- + +Check out this JUICY! code: + +~~~ruby +def with_value_from_database(value) + self.class.from_database(name, value, type) +end + +def with_cast_value(value) + self.class.with_cast_value(name, value, type) +end + +def with_type(type) + if changed_in_place? + with_value_from_user(value).with_type(type) + else + self.class.new(name, value_before_type_cast, type, original_attribute) + end +end +~~~ diff --git a/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md b/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md new file mode 100644 index 0000000..8511d11 --- /dev/null +++ b/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md @@ -0,0 +1,25 @@ +--- +title: Hacker with Bullhorn +author: Open-Source +date: '2012-04-23' +categories: + - Bullhorn + - Example +slug: hacker-with-horn +--- + +Hacker with bullhorn: "Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!" + +Prospective station wagon buyer: "I know what you say is true...but...er...I don't know how to maintain a tank!" + +Bullhorn: "You don't know how to maintain a station wagon either!" + +Buyer: "But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music." + +Bullhorn: "But if you accept one of our free tanks we will send volunteers to your house to fix it for free while you sleep!" + +Buyer: "Stay away from my house, you freak!" + +Bullhorn: "But..." + +Buyer: "Can't you see that everyone is buying station wagons?" diff --git a/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md b/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md new file mode 100644 index 0000000..6914648 --- /dev/null +++ b/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md @@ -0,0 +1,14 @@ +--- +title: "Command Line Awesomeness" +date: '2012-03-12' +categories: + - Blog +tags: + - HTML +--- + +This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams. + +> When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind's eye: "The brawny left-hander steps out of the batter's box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate." and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions. + +This is exactly how the World Wide Web works: the HTML files are the pithy description on the paper tape, and your Web browser is Ronald Reagan. The same is true of Graphical User Interfaces in general. diff --git a/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md b/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md new file mode 100644 index 0000000..fc64964 --- /dev/null +++ b/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md @@ -0,0 +1,171 @@ +--- +title: Markdown Guide +author: Open Source +date: '2014-03-14' +categories: + - Example +tags: + - Markdown +--- + +An h1 header +============ + +Paragraphs are separated by a blank line. + +2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists +look like: + + * this one + * that one + * the other one + +Note that --- not considering the asterisk --- the actual text +content starts at 4-columns in. + +> Block quotes are +> written like so. +> +> They can span multiple paragraphs, +> if you like. + +Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all +in chapters 12--14"). Three dots ... will be converted to an ellipsis. +Unicode is supported. ☺ + + + +An h2 header +------------ + +Here's a numbered list: + + 1. first item + 2. second item + 3. third item + +Note again how the actual text starts at 4 columns in (4 characters +from the left side). Here's a code sample: + + # Let me re-iterate ... + for i in 1 .. 10 { do-something(i) } + +As you probably guessed, indented 4 spaces. By the way, instead of +indenting the block, you can use delimited blocks, if you like: + +~~~ +define foobar() { + print "Welcome to flavor country!"; +} +~~~ + +(which makes copying & pasting easier). You can optionally mark the +delimited block for Pandoc to syntax highlight it: + +~~~python +import time +# Quick, count to ten! +for i in range(10): + # (but not *too* quick) + time.sleep(0.5) + print i +~~~ + + + +### An h3 header ### + +Now a nested list: + + 1. First, get these ingredients: + + * carrots + * celery + * lentils + + 2. Boil some water. + + 3. Dump everything in the pot and follow + this algorithm: + + find wooden spoon + uncover pot + stir + cover pot + balance wooden spoon precariously on pot handle + wait 10 minutes + goto first step (or shut off burner when done) + + Do not bump wooden spoon or it will fall. + +Notice again how text always lines up on 4-space indents (including +that last line which continues item 3 above). + +Here's a link to [a website](http://foo.bar), to a [local +doc](local-doc.html), and to a [section heading in the current +doc](#an-h2-header). Here's a footnote [^1]. + +[^1]: Footnote text goes here. + +Tables can look like this: + +size material color +---- ------------ ------------ +9 leather brown +10 hemp canvas natural +11 glass transparent + +Table: Shoes, their sizes, and what they're made of + +(The above is the caption for the table.) Pandoc also supports +multi-line tables: + +-------- ----------------------- +keyword text +-------- ----------------------- +red Sunsets, apples, and + other red or reddish + things. + +green Leaves, grass, frogs + and other things it's + not easy being. +-------- ----------------------- + +A horizontal rule follows. + +*** + +Here's a definition list: + +apples + : Good for making applesauce. +oranges + : Citrus! +tomatoes + : There's no "e" in tomatoe. + +Again, text is indented 4 spaces. (Put a blank line between each +term/definition pair to spread things out more.) + +Here's a "line block": + +| Line one +| Line too +| Line tree + +and images can be specified like so: + +![example image](example-image.jpg "An exemplary image") + +Inline math equations go in like so: $\omega = d\phi / dt$. Display +math should get its own line and be put in in double-dollarsigns: + +$$I = \int \rho R^{2} dV$$ + +And note that you can backslash-escape any punctuation characters +which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc. + +#### Images auto center: + +![Party](http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185) diff --git a/themes/hugo-classic/exampleSite/static/css/theme-override.css b/themes/hugo-classic/exampleSite/static/css/theme-override.css new file mode 100644 index 0000000..c761e7f --- /dev/null +++ b/themes/hugo-classic/exampleSite/static/css/theme-override.css @@ -0,0 +1 @@ +footer { font-size: 90%; font-family: monospace; } diff --git a/themes/hugo-classic/images/partywizard.gif b/themes/hugo-classic/images/partywizard.gif new file mode 100644 index 0000000..1c1d813 Binary files /dev/null and b/themes/hugo-classic/images/partywizard.gif differ diff --git a/themes/hugo-classic/images/screenshot.png b/themes/hugo-classic/images/screenshot.png new file mode 100644 index 0000000..56f82ac Binary files /dev/null and b/themes/hugo-classic/images/screenshot.png differ diff --git a/themes/hugo-classic/images/tn.png b/themes/hugo-classic/images/tn.png new file mode 100644 index 0000000..f58c780 Binary files /dev/null and b/themes/hugo-classic/images/tn.png differ diff --git a/themes/hugo-classic/layouts/404.html b/themes/hugo-classic/layouts/404.html new file mode 100644 index 0000000..c2e4e40 --- /dev/null +++ b/themes/hugo-classic/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 NOT FOUND + +{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/list.html b/themes/hugo-classic/layouts/_default/list.html new file mode 100644 index 0000000..41d9d89 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/list.html @@ -0,0 +1,18 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +

{{ .Title }}

+{{ end }} + +{{ .Content }} + + + +{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/single.html b/themes/hugo-classic/layouts/_default/single.html new file mode 100644 index 0000000..b3b5570 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/single.html @@ -0,0 +1,23 @@ +{{ partial "header.html" . }} +
+

{{ .Title }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if .Params.date }}

{{ .Date.Format "2006/01/02" }}

{{ end }} +

+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +

+
+ +{{ if .Params.toc }} +{{ .TableOfContents }} +{{ end }} + +
+{{ .Content }} +
+ +{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/terms.html b/themes/hugo-classic/layouts/_default/terms.html new file mode 100644 index 0000000..4f6f544 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/terms.html @@ -0,0 +1,16 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/partials/foot_custom.html b/themes/hugo-classic/layouts/partials/foot_custom.html new file mode 100644 index 0000000..3d9fb1d --- /dev/null +++ b/themes/hugo-classic/layouts/partials/foot_custom.html @@ -0,0 +1,25 @@ + + diff --git a/themes/hugo-classic/layouts/partials/footer.html b/themes/hugo-classic/layouts/partials/footer.html new file mode 100644 index 0000000..932d541 --- /dev/null +++ b/themes/hugo-classic/layouts/partials/footer.html @@ -0,0 +1,13 @@ + + + diff --git a/themes/hugo-classic/layouts/partials/head_custom.html b/themes/hugo-classic/layouts/partials/head_custom.html new file mode 100644 index 0000000..6520ca0 --- /dev/null +++ b/themes/hugo-classic/layouts/partials/head_custom.html @@ -0,0 +1,33 @@ +
+ + + + + + +
diff --git a/themes/hugo-classic/layouts/partials/header.html b/themes/hugo-classic/layouts/partials/header.html new file mode 100644 index 0000000..6ef9a69 --- /dev/null +++ b/themes/hugo-classic/layouts/partials/header.html @@ -0,0 +1,16 @@ + + + + + + {{ .Title }} | {{ .Site.Title }} + + + {{ range .Site.Params.custom_css -}} + + {{- end }} + {{ partial "head_custom.html" . }} + + + +
diff --git a/themes/hugo-classic/static/css/fonts.css b/themes/hugo-classic/static/css/fonts.css new file mode 100644 index 0000000..c851143 --- /dev/null +++ b/themes/hugo-classic/static/css/fonts.css @@ -0,0 +1,7 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Avenir Next', Avenir, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; +} +code { + font-family: "Lucida Console", Monaco, monospace; + font-size: 85%; +} diff --git a/themes/hugo-classic/static/css/style.css b/themes/hugo-classic/static/css/style.css new file mode 100644 index 0000000..f82647f --- /dev/null +++ b/themes/hugo-classic/static/css/style.css @@ -0,0 +1,241 @@ +/* @import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Source+Serif+Pro'); */ +/* @import url('https://fonts.googleapis.com/css?family=Fredoka+One|Source+Serif+Pro'); */ +@import url('https://fonts.googleapis.com/css?family=Baloo|Source+Serif+Pro'); +@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono'); + +body { + max-width: 800px; + margin: auto; + padding: .2em; + line-height: 20pt; + font-size: 12pt; +} + +/* Table of Contents, if wanted + +Add to yaml: + +output: +blogdown::html_page: +toc: true + + */ + +#TableOfContents, #TOC { + border: 1px solid #eee; +} + +/* Header and Footer */ +.menu li { display: inline-block; } +.article-meta, .menu a { + text-decoration: none; + background: #ff99cc; + color: #FFF; + padding: 5px; + text-shadow: 0px 1px 1px #fe3ea0; +} + + +.article-meta h1, .article-meta h2 { + margin-top: 1em; + color: white; +} + + +.terms { font-size: .9em; } +.menu, .article-meta, footer { text-align: center; } +.title { font-size: 1.1em; } +footer a { text-decoration: none; } + +.pull-left { + float: left +} +.pull-right { + float: right +} + +a { + color: #ff6bb6; + text-decoration: none; +} + +a:hover { + background: #83cbe3; + color: white; +} + +/* Adjust background at your leisure! */ +header { + position: relative; + width: 100%; + height: 1.75rem; + font-size: .875rem; + background: #83cbe3; + font-family: 'Baloo', sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 2em; + font-family: 'Baloo', sans-serif; + /* color: #ff99cc; */ + color: #ff6bb6; +} + +li { + padding-bottom: 1em; +} + +header ul, +header ol { + margin: 0; + padding: 0; + list-style: none +} +header nav { + padding: 0 0.5rem +} + +header a { + color: #fff; + line-height: 1.75rem; + padding: 0 0.5rem +} +header a:hover, +header .current a { + color: #fff +} + +/* Code Boxes */ +pre { + border: 1px solid #ddd; + box-shadow: 5px 5px 5px #eee; + background: #f8f8f8; + padding: 1em; + overflow-x: auto; +} +code { background: #f9f9f9; } +pre code { background: none; } + +/* Images, tables, misc. */ +img, iframe, video { max-width: 100%; } +main { + text-align: justify; + word-wrap: break-word; + font-family: "Source Serif Pro", "Times New Roman", serif; + color: #555; + hyphens: auto; +} + +/* Caution! duplicate this rule below. */ +::selection { + background: #83cbe3; + color: white; +} + +::-moz-selection { + background: #83cbe3; + color: white; +} + +/* Caution! duplicate this rule below. */ +figcaption::selection { + background: #ff99cc; + color: white; +} + +figcaption::-moz-selection { + background: #ff99cc; + color: white; +} + +/* Caution! duplicate this rule below. */ +a::-moz-selection { + background: #ff99cc; + color: white; +} + +a::selection { + background: #ff99cc; + color: white; +} + +blockquote { + background: #f9f9f9; + border-left: 5px solid #ccc; + padding: 3px 1em 3px; +} + +table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; +} +table thead th { border-bottom: 1px solid #ddd; } +th, td { padding: 5px; } +tr:nth-child(even) { background: #eee } + +/* Inline code markup */ +tt.literal { + font-family: 'Ubuntu Mono', monospace; + background: #e2f3f8; + color: #164d60; + font-weight: bold; + font-size: 10pt; + padding: 2px; + border-radius: 0.3em; +} + +figure.side-by-side { + width: 49%; + min-width: 15em; + display: inline-block; + margin: 0 0 0 0; + padding: 0 40px 0 0; + vertical-align: top; + box-sizing: border-box; +} + +figure figure.side-by-side:nth-of-type(2) { + padding: 0; +} + +figure img, figure video { + display: block; + margin-left: auto; + margin-right: auto; + width: 100%; +} + +figcaption a { + background: white; + color: #83cbe3; +} + +figcaption a:hover { + background: #ff6bb6; +} + +figcaption { + display: block; + line-height: 16pt; + background: #83cbe3; + color: white; + font-family: 'Baloo', sans-serif; + padding: 1em; + border-radius: 0 0 0.5em 0.5em; +} + +figure { + margin-top: 3em; + margin-bottom: 3em; +} + +#license-info img { + vertical-align: middle; +} + +#license-info { + color: #aaa; + font-size: 10pt; + font-family: "Source Serif Pro", "Times New Roman", serif; +} diff --git a/themes/hugo-classic/theme.toml b/themes/hugo-classic/theme.toml new file mode 100644 index 0000000..9ca39f4 --- /dev/null +++ b/themes/hugo-classic/theme.toml @@ -0,0 +1,17 @@ +name = "Hugo - Classic" +license = "MIT" +licenselink = "https://github.com/goodroot/hugo-classic/blob/master/LICENSE.md" +description = "A minimal blog theme, for those who love text. Based off the eXtremely minimal theme by Yihui Xui." +homepage = "https://goodroot.ca" +tags = ["minimal", "blog", "personal", "simple", "clean", "starter", "minimalist"] +features = ["blog"] +min_version = "0.18" + +[author] + name = "Kellen Evan Person" + homepage = "https://goodroot.ca" + +[original] + author = "Yihui Xui" + homepage = "https://xmin.yihui.name/" + repo = "https://github.com/yihui/hugo-xmin" -- cgit