From 113550eb8a963973c6172efd08a44e52114d7880 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Wed, 2 Nov 2016 23:10:49 -0400 Subject: [PATCH] Initial commit --- .gitignore | 1 + .gitmodules | 6 + README.md | 29 ++ archetypes/default.md | 2 + build.sh | 37 ++ layouts/404.html | 6 + layouts/_default/list.html | 19 + layouts/_default/single.html | 9 + layouts/index.html | 7 + layouts/pages/single.html | 12 + layouts/partials/footer.html | 12 + layouts/partials/header.html | 61 +++ layouts/post/single.html | 12 + layouts/post/summary.html | 16 + modules/evil-icons | 1 + modules/normalize-scss | 1 + scss/main.scss | 792 +++++++++++++++++++++++++++++++++++ static/css/main.css | 1 + static/images/email.svg | 1 + static/images/facebook.svg | 1 + static/images/github.svg | 1 + static/images/linkedin.svg | 1 + static/images/twitter.svg | 1 + theme.toml | 11 + 24 files changed, 1040 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100755 build.sh create mode 100644 layouts/404.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/pages/single.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/post/single.html create mode 100644 layouts/post/summary.html create mode 160000 modules/evil-icons create mode 160000 modules/normalize-scss create mode 100644 scss/main.scss create mode 100644 static/css/main.css create mode 120000 static/images/email.svg create mode 120000 static/images/facebook.svg create mode 120000 static/images/github.svg create mode 120000 static/images/linkedin.svg create mode 120000 static/images/twitter.svg create mode 100644 theme.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5df1b9b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.sass-cache diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5acd0f2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "modules/evil-icons"] + path = modules/evil-icons + url = https://github.com/outpunk/evil-icons.git +[submodule "modules/normalize-scss"] + path = modules/normalize-scss + url = https://github.com/JohnAlbin/normalize-scss.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..0eabf82 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# light-hugo + +This a responsive hugo theme using [normalize.css](https://github.com/necolas/normalize.css/) ([sass](https://github.com/JohnAlbin/normalize-scss)). It is material in nature and very bare boned. +No javascript is used. Just straight up HTML and CSS. + +## Page support + +There is support for the following types... + +* Posts +* Pages + +The posts will be treated as blogs and pages will be treated with a similar fashion. There is a GitHub css theme used for the markdown generated for posts and pages from [markdown styles](https://github.com/mixu/markdown-styles). + +## Config +The following config options are available for displaying custom content... + +```toml +title = "Tony Blyler" + +[Params] +description = "Programmer, deal with it" +logo = "/images/logo.png" +email = "tblyler@example.com" +github = "tblyler" +facebook = "example" +twitter = "tonyblyler" +linkedin = "tblyler" +``` diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..fadee8c --- /dev/null +++ b/build.sh @@ -0,0 +1,37 @@ +#!/bin/bash +if ! which sass &> /dev/null; then + echo 'sass is missing from PATH' 1>&2 + exit 1 +fi + +if ! which awk &> /dev/null; then + echo 'awk is missing from PATH' 1>&2 + exit 1 +fi + +SASS_VERSION=$(sass --version | awk '{ print $2}' | tr '.' ' ') +SASS_MAJOR=$(echo "${SASS_VERSION}" | awk '{ print $1 }') +SASS_MINOR=$(echo "${SASS_VERSION}" | awk '{ print $2 }') + +if [ ${SASS_MAJOR} -lt 3 ] || ([ ${SASS_MAJOR} -eq 3 ] && [ ${SASS_MINOR} -lt 4 ]); then + echo 'sass version must be >= 3.4' 1>&2 + echo "version ${SASS_VERSION} installed" 1>&2 + exit 1 +fi + +if [ "${1}" = "watch" ]; then + sass --sourcemap=none --watch ./scss:./static/css + exit $? +fi + +echo 'Compiling sass' +sass --sourcemap=none --style compressed --update ./scss:./static/css + +RETURN=$? + +if [ $RETURN -ne 0 ]; then + echo 'Failure' 1>&2 + exit $RETURN +fi + +echo 'Success' diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..4acf980 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,6 @@ +{{ partial "header.html" . }} +

404

+

+ Sorry, this page does not exist. +

+{{ partial "footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..8ed782f --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,19 @@ +{{ partial "header.html" . }} + {{ range .Data.Pages.GroupByDate "2006" }} +
+
+

{{ .Key }}

+ {{ range .Pages }} +

+ + {{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }} + +

+ + {{ end }} +
+
+ {{ end }} +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..95c225b --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,9 @@ +{{ partial "header.html" . }} +
+
+ {{ if .Title }}

{{ .Title }}

{{ end }} + + {{ .Content }} +
+
+{{ partial "footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..4be8db8 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,7 @@ +{{ partial "header.html" . }} + {{ range first 10 .Data.Pages }} + {{ if eq .Type "post" }} + {{ .Render "summary" }} + {{ end }} + {{ end }} +{{ partial "footer.html" . }} diff --git a/layouts/pages/single.html b/layouts/pages/single.html new file mode 100644 index 0000000..6537425 --- /dev/null +++ b/layouts/pages/single.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} +
+
+ {{ if .Title }} +

{{ .Title }}

+ {{ end }} +
+ {{ .Content }} +
+
+
+{{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..6890120 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,12 @@ + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..b86bdcb --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,61 @@ + + + + + + {{ .Title }} · {{ .Site.Title }} + + + {{ if .RSSlink }} + + {{ end }} + + + + + {{ if .Site.Params.logo }} + + {{ end }} + {{ if .Site.Title }} +

{{ .Site.Title }}

+ {{ end }} +
+
+ {{ if .Site.Params.email }} + + Email + + {{ end }} + {{ if .Site.Params.github }} + + GitHub + + {{ end }} + {{ if .Site.Params.facebook }} + + Facebook + + {{ end }} + {{ if .Site.Params.twitter }} + + Twitter + + {{ end }} + {{ if .Site.Params.linkedin }} + + LinkedIn + + {{ end }} +
+ {{ if .Site.Params.description }} +

{{ .Site.Params.description }}

+ {{ end }} + diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..74970ef --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} +
+
+

{{ .Title }}

+ +
+ {{ .TableOfContents }} + {{ .Content }} +
+
+
+{{ partial "footer.html" . }} diff --git a/layouts/post/summary.html b/layouts/post/summary.html new file mode 100644 index 0000000..6506244 --- /dev/null +++ b/layouts/post/summary.html @@ -0,0 +1,16 @@ +
+ +
diff --git a/modules/evil-icons b/modules/evil-icons new file mode 160000 index 0000000..88ca222 --- /dev/null +++ b/modules/evil-icons @@ -0,0 +1 @@ +Subproject commit 88ca2226be15706756cd5fbc9d0e125c4437df97 diff --git a/modules/normalize-scss b/modules/normalize-scss new file mode 160000 index 0000000..865e437 --- /dev/null +++ b/modules/normalize-scss @@ -0,0 +1 @@ +Subproject commit 865e43749361e3b9812e816f4d61afbf5372121c diff --git a/scss/main.scss b/scss/main.scss new file mode 100644 index 0000000..2d0e9c2 --- /dev/null +++ b/scss/main.scss @@ -0,0 +1,792 @@ +@import "../modules/normalize-scss/sass/normalize/import-now"; + +$container-color: darken(white, 5); +$bg-color: darken(white, 10); + +// creates a material-design-esque container +@mixin container { + width: 95%; + margin: 2% auto; + background-color: $container-color; + box-shadow: 0px 0px 20px black; + border-radius: 5px; +} + +body { + background-color: $bg-color; + text-align: center; +} + +// transitiion the opacity in and out on image link hovers +a:hover { + opacity: 0.5; +} + +#title { + color: black; + text-decoration: none; + + h1:hover { + @extend a:hover; + } +} + +#logo { + margin-top: 1%; +} + +#social { + // these images are always SVG + img { + height: 3%; + width: 3%; + } +} + +.links { + word-spacing: 1em; + padding-bottom: 1%; + + a { + color: black; + text-decoration: none; + font-weight: bold; + } +} + +.listBody { + @include container; + display: table; + width: auto; +} + +.list { + margin: 1%; + padding: 1%; + + h3 a { + text-decoration: none; + color: black; + } +} + +.postBody { + @include container; +} + +.post-meta { + color: lighten(black, 50); + margin-bottom: 1%; +} + +.post { + margin: 1%; + padding: 1%; + text-align: left; + + header { + h1 a { + color: black; + text-decoration: none; + } + } + + .summary { + padding-top: 1%; + line-height: 1.6; + } +} + +.content { + padding-top: 1%; + overflow: hidden; + line-height: 1.6; + word-wrap: break-word; + + a { + background: transparent; + } + + a:active, + a:hover { + outline: 0; + } + + strong { + font-weight: bold; + } + + h1 { + font-size: 2em; + margin: 0.67em 0; + } + + img { + border: 0; + } + + hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; + } + + pre { + overflow: auto; + } + + code, + kbd, + pre { + font-family: monospace, monospace; + font-size: 1em; + } + + input { + color: inherit; + font: inherit; + margin: 0; + } + + html input[disabled] { + cursor: default; + } + + input { + line-height: normal; + } + + input[type="checkbox"] { + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; + } + + table { + border-collapse: collapse; + border-spacing: 0; + } + + td, + th { + padding: 0; + } + + * { + -moz-box-sizing: border-box; + box-sizing: border-box; + } + + input { + font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; + } + + a { + color: #4183c4; + text-decoration: none; + } + + a:hover, + a:focus, + a:active { + text-decoration: underline; + } + + hr { + height: 0; + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid #ddd; + } + + hr:before { + display: table; + content: ""; + } + + hr:after { + display: table; + clear: both; + content: ""; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + margin-top: 15px; + margin-bottom: 15px; + line-height: 1.1; + } + + h1 { + font-size: 30px; + } + + h2 { + font-size: 21px; + } + + h3 { + font-size: 16px; + } + + h4 { + font-size: 14px; + } + + h5 { + font-size: 12px; + } + + h6 { + font-size: 11px; + } + + blockquote { + margin: 0; + } + + ul, + ol { + padding: 0; + margin-top: 0; + margin-bottom: 0; + } + + ol ol, + ul ol { + list-style-type: lower-roman; + } + + ul ul ol, + ul ol ol, + ol ul ol, + ol ol ol { + list-style-type: lower-alpha; + } + + dd { + margin-left: 0; + } + + code { + font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + } + + pre { + margin-top: 0; + margin-bottom: 0; + font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + } + + kbd { + background-color: #e7e7e7; + background-image: -webkit-linear-gradient(#fefefe, #e7e7e7); + background-image: linear-gradient(#fefefe, #e7e7e7); + background-repeat: repeat-x; + border-radius: 2px; + border: 1px solid #cfcfcf; + color: #000; + padding: 3px 5px; + line-height: 10px; + font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; + display: inline-block; + } + + .markdown-body>*:first-child { + margin-top: 0 !important; + } + + .markdown-body>*:last-child { + margin-bottom: 0 !important; + } + + .anchor { + position: absolute; + top: 0; + bottom: 0; + left: 0; + display: block; + padding-right: 6px; + padding-left: 30px; + margin-left: -30px; + } + + .anchor:focus { + outline: none; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + position: relative; + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + line-height: 1.4; + } + + h1 .octicon-link, + h2 .octicon-link, + h3 .octicon-link, + h4 .octicon-link, + h5 .octicon-link, + h6 .octicon-link { + display: none; + color: #000; + vertical-align: middle; + } + + h1:hover .anchor, + h2:hover .anchor, + h3:hover .anchor, + h4:hover .anchor, + h5:hover .anchor, + h6:hover .anchor { + height: 1em; + padding-left: 8px; + margin-left: -30px; + line-height: 1; + text-decoration: none; + } + + h1:hover .anchor .octicon-link, + h2:hover .anchor .octicon-link, + h3:hover .anchor .octicon-link, + h4:hover .anchor .octicon-link, + h5:hover .anchor .octicon-link, + h6:hover .anchor .octicon-link { + display: inline-block; + } + + h1 { + padding-bottom: 0.3em; + font-size: 2.25em; + line-height: 1.2; + border-bottom: 1px solid #eee; + } + + h2 { + padding-bottom: 0.3em; + font-size: 1.75em; + line-height: 1.225; + border-bottom: 1px solid #eee; + } + + h3 { + font-size: 1.5em; + line-height: 1.43; + } + + h4 { + font-size: 1.25em; + } + + h5 { + font-size: 1em; + } + + h6 { + font-size: 1em; + color: #777; + } + + p, + blockquote, + ul, + ol, + dl, + table, + pre { + margin-top: 0; + margin-bottom: 16px; + } + + hr { + height: 4px; + padding: 0; + margin: 16px 0; + background-color: #e7e7e7; + border: 0 none; + } + + ul, + ol { + padding-left: 2em; + } + + ul ul, + ul ol, + ol ol, + ol ul { + margin-top: 0; + margin-bottom: 0; + } + + li>p { + margin-top: 16px; + } + + dl { + padding: 0; + } + + dl dt { + padding: 0; + margin-top: 16px; + font-size: 1em; + font-style: italic; + font-weight: bold; + } + + dl dd { + padding: 0 16px; + margin-bottom: 16px; + } + + blockquote { + padding: 0 15px; + color: #777; + border-left: 4px solid #ddd; + } + + blockquote>:first-child { + margin-top: 0; + } + + blockquote>:last-child { + margin-bottom: 0; + } + + table { + display: block; + width: 100%; + overflow: auto; + word-break: normal; + word-break: keep-all; + } + + table th { + font-weight: bold; + } + + table th, + table td { + padding: 6px 13px; + border: 1px solid #ddd; + } + + table tr { + background-color: #fff; + border-top: 1px solid #ccc; + } + + table tr:nth-child(2n) { + background-color: #f8f8f8; + } + + img { + max-width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + + code { + padding: 0; + padding-top: 0.2em; + padding-bottom: 0.2em; + margin: 0; + font-size: 85%; + background-color: rgba(0,0,0,0.04); + border-radius: 3px; + } + + code:before, + code:after { + letter-spacing: -0.2em; + content: "\00a0"; + } + + pre>code { + padding: 0; + margin: 0; + font-size: 100%; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; + } + + .highlight { + margin-bottom: 16px; + } + + .highlight pre, + pre { + padding: 16px; + overflow: auto; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border-radius: 3px; + } + + .highlight pre { + margin-bottom: 0; + word-break: normal; + } + + pre { + word-wrap: normal; + } + + pre code { + display: inline; + max-width: initial; + padding: 0; + margin: 0; + overflow: initial; + line-height: inherit; + word-wrap: normal; + background-color: transparent; + border: 0; + } + + pre code:before, + pre code:after { + content: normal; + } + + .highlight { + background: #fff; + } + + .highlight .mf, + .highlight .mh, + .highlight .mi, + .highlight .mo, + .highlight .il, + .highlight .m { + color: #945277; + } + + .highlight .s, + .highlight .sb, + .highlight .sc, + .highlight .sd, + .highlight .s2, + .highlight .se, + .highlight .sh, + .highlight .si, + .highlight .sx, + .highlight .s1 { + color: #df5000; + } + + .highlight .kc, + .highlight .kd, + .highlight .kn, + .highlight .kp, + .highlight .kr, + .highlight .kt, + .highlight .k, + .highlight .o { + font-weight: bold; + } + + .highlight .kt { + color: #458; + } + + .highlight .c, + .highlight .cm, + .highlight .c1 { + color: #998; + font-style: italic; + } + + .highlight .cp, + .highlight .cs { + color: #999; + font-weight: bold; + } + + .highlight .cs { + font-style: italic; + } + + .highlight .n { + color: #333; + } + + .highlight .na, + .highlight .nv, + .highlight .vc, + .highlight .vg, + .highlight .vi { + color: #008080; + } + + .highlight .nb { + color: #0086B3; + } + + .highlight .nc { + color: #458; + font-weight: bold; + } + + .highlight .no { + color: #094e99; + } + + .highlight .ni { + color: #800080; + } + + .highlight .ne { + color: #990000; + font-weight: bold; + } + + .highlight .nf { + color: #945277; + font-weight: bold; + } + + .highlight .nn { + color: #555; + } + + .highlight .nt { + color: #000080; + } + + .highlight .err { + color: #a61717; + background-color: #e3d2d2; + } + + .highlight .gd { + color: #000; + background-color: #fdd; + } + + .highlight .gd .x { + color: #000; + background-color: #faa; + } + + .highlight .ge { + font-style: italic; + } + + .highlight .gr { + color: #aa0000; + } + + .highlight .gh { + color: #999; + } + + .highlight .gi { + color: #000; + background-color: #dfd; + } + + .highlight .gi .x { + color: #000; + background-color: #afa; + } + + .highlight .go { + color: #888; + } + + .highlight .gp { + color: #555; + } + + .highlight .gs { + font-weight: bold; + } + + .highlight .gu { + color: #800080; + font-weight: bold; + } + + .highlight .gt { + color: #aa0000; + } + + .highlight .ow { + font-weight: bold; + } + + .highlight .w { + color: #bbb; + } + + .highlight .sr { + color: #017936; + } + + .highlight .ss { + color: #8b467f; + } + + .highlight .bp { + color: #999; + } + + .highlight .gc { + color: #999; + background-color: #EAF2F5; + } + + .octicon { + font: normal normal 16px octicons-anchor; + line-height: 1; + display: inline-block; + text-decoration: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + + .octicon-link:before { + content: '\f05c'; + } + + .task-list-item { + list-style-type: none; + } + + .task-list-item+.task-list-item { + margin-top: 3px; + } + + .task-list-item input { + float: left; + margin: 0.3em 0 0.25em -1.6em; + vertical-align: middle; + } + + @media (min-width: 43.75em) { + body { + padding: 30px; + } + } +} diff --git a/static/css/main.css b/static/css/main.css new file mode 100644 index 0000000..ac0b27e --- /dev/null +++ b/static/css/main.css @@ -0,0 +1 @@ +/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}main{display:block}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover,#title h1:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}input{overflow:visible}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{box-sizing:border-box;display:table;max-width:100%;padding:0;color:inherit;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}details{display:block}summary{display:list-item}menu{display:block}canvas{display:inline-block}template{display:none}[hidden]{display:none}body{background-color:#e6e6e6;text-align:center}a:hover,#title h1:hover{opacity:0.5}#title{color:black;text-decoration:none}#logo{margin-top:1%}#social img{height:3%;width:3%}.links{word-spacing:1em;padding-bottom:1%}.links a{color:black;text-decoration:none;font-weight:bold}.listBody{width:95%;margin:2% auto;background-color:#f2f2f2;box-shadow:0px 0px 20px black;border-radius:5px;display:table;width:auto}.list{margin:1%;padding:1%}.list h3 a{text-decoration:none;color:black}.postBody{width:95%;margin:2% auto;background-color:#f2f2f2;box-shadow:0px 0px 20px black;border-radius:5px}.post-meta{color:gray;margin-bottom:1%}.post{margin:1%;padding:1%;text-align:left}.post header h1 a{color:black;text-decoration:none}.post .summary{padding-top:1%;line-height:1.6}.content{padding-top:1%;overflow:hidden;line-height:1.6;word-wrap:break-word}.content a{background:transparent}.content a:active,.content a:hover,.content #title h1:hover,#title .content h1:hover{outline:0}.content strong{font-weight:bold}.content h1{font-size:2em;margin:0.67em 0}.content img{border:0}.content hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.content pre{overflow:auto}.content code,.content kbd,.content pre{font-family:monospace, monospace;font-size:1em}.content input{color:inherit;font:inherit;margin:0}.content html input[disabled]{cursor:default}.content input{line-height:normal}.content input[type="checkbox"]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}.content table{border-collapse:collapse;border-spacing:0}.content td,.content th{padding:0}.content *{-moz-box-sizing:border-box;box-sizing:border-box}.content input{font:13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"}.content a{color:#4183c4;text-decoration:none}.content a:hover,.content #title h1:hover,#title .content h1:hover,.content a:focus,.content a:active{text-decoration:underline}.content hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #ddd}.content hr:before{display:table;content:""}.content hr:after{display:table;clear:both;content:""}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{margin-top:15px;margin-bottom:15px;line-height:1.1}.content h1{font-size:30px}.content h2{font-size:21px}.content h3{font-size:16px}.content h4{font-size:14px}.content h5{font-size:12px}.content h6{font-size:11px}.content blockquote{margin:0}.content ul,.content ol{padding:0;margin-top:0;margin-bottom:0}.content ol ol,.content ul ol{list-style-type:lower-roman}.content ul ul ol,.content ul ol ol,.content ol ul ol,.content ol ol ol{list-style-type:lower-alpha}.content dd{margin-left:0}.content code{font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace}.content pre{margin-top:0;margin-bottom:0;font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace}.content kbd{background-color:#e7e7e7;background-image:-webkit-linear-gradient(#fefefe, #e7e7e7);background-image:linear-gradient(#fefefe, #e7e7e7);background-repeat:repeat-x;border-radius:2px;border:1px solid #cfcfcf;color:#000;padding:3px 5px;line-height:10px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;display:inline-block}.content .markdown-body>*:first-child{margin-top:0 !important}.content .markdown-body>*:last-child{margin-bottom:0 !important}.content .anchor{position:absolute;top:0;bottom:0;left:0;display:block;padding-right:6px;padding-left:30px;margin-left:-30px}.content .anchor:focus{outline:none}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:bold;line-height:1.4}.content h1 .octicon-link,.content h2 .octicon-link,.content h3 .octicon-link,.content h4 .octicon-link,.content h5 .octicon-link,.content h6 .octicon-link{display:none;color:#000;vertical-align:middle}.content h1:hover .anchor,.content h2:hover .anchor,.content h3:hover .anchor,.content h4:hover .anchor,.content h5:hover .anchor,.content h6:hover .anchor{height:1em;padding-left:8px;margin-left:-30px;line-height:1;text-decoration:none}.content h1:hover .anchor .octicon-link,.content h2:hover .anchor .octicon-link,.content h3:hover .anchor .octicon-link,.content h4:hover .anchor .octicon-link,.content h5:hover .anchor .octicon-link,.content h6:hover .anchor .octicon-link{display:inline-block}.content h1{padding-bottom:0.3em;font-size:2.25em;line-height:1.2;border-bottom:1px solid #eee}.content h2{padding-bottom:0.3em;font-size:1.75em;line-height:1.225;border-bottom:1px solid #eee}.content h3{font-size:1.5em;line-height:1.43}.content h4{font-size:1.25em}.content h5{font-size:1em}.content h6{font-size:1em;color:#777}.content p,.content blockquote,.content ul,.content ol,.content dl,.content table,.content pre{margin-top:0;margin-bottom:16px}.content hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0 none}.content ul,.content ol{padding-left:2em}.content ul ul,.content ul ol,.content ol ol,.content ol ul{margin-top:0;margin-bottom:0}.content li>p{margin-top:16px}.content dl{padding:0}.content dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}.content dl dd{padding:0 16px;margin-bottom:16px}.content blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.content blockquote>:first-child{margin-top:0}.content blockquote>:last-child{margin-bottom:0}.content table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.content table th{font-weight:bold}.content table th,.content table td{padding:6px 13px;border:1px solid #ddd}.content table tr{background-color:#fff;border-top:1px solid #ccc}.content table tr:nth-child(2n){background-color:#f8f8f8}.content img{max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box}.content code{padding:0;padding-top:0.2em;padding-bottom:0.2em;margin:0;font-size:85%;background-color:rgba(0,0,0,0.04);border-radius:3px}.content code:before,.content code:after{letter-spacing:-0.2em;content:"\00a0"}.content pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.content .highlight{margin-bottom:16px}.content .highlight pre,.content pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.content .highlight pre{margin-bottom:0;word-break:normal}.content pre{word-wrap:normal}.content pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.content pre code:before,.content pre code:after{content:normal}.content .highlight{background:#fff}.content .highlight .mf,.content .highlight .mh,.content .highlight .mi,.content .highlight .mo,.content .highlight .il,.content .highlight .m{color:#945277}.content .highlight .s,.content .highlight .sb,.content .highlight .sc,.content .highlight .sd,.content .highlight .s2,.content .highlight .se,.content .highlight .sh,.content .highlight .si,.content .highlight .sx,.content .highlight .s1{color:#df5000}.content .highlight .kc,.content .highlight .kd,.content .highlight .kn,.content .highlight .kp,.content .highlight .kr,.content .highlight .kt,.content .highlight .k,.content .highlight .o{font-weight:bold}.content .highlight .kt{color:#458}.content .highlight .c,.content .highlight .cm,.content .highlight .c1{color:#998;font-style:italic}.content .highlight .cp,.content .highlight .cs{color:#999;font-weight:bold}.content .highlight .cs{font-style:italic}.content .highlight .n{color:#333}.content .highlight .na,.content .highlight .nv,.content .highlight .vc,.content .highlight .vg,.content .highlight .vi{color:#008080}.content .highlight .nb{color:#0086B3}.content .highlight .nc{color:#458;font-weight:bold}.content .highlight .no{color:#094e99}.content .highlight .ni{color:#800080}.content .highlight .ne{color:#990000;font-weight:bold}.content .highlight .nf{color:#945277;font-weight:bold}.content .highlight .nn{color:#555}.content .highlight .nt{color:#000080}.content .highlight .err{color:#a61717;background-color:#e3d2d2}.content .highlight .gd{color:#000;background-color:#fdd}.content .highlight .gd .x{color:#000;background-color:#faa}.content .highlight .ge{font-style:italic}.content .highlight .gr{color:#aa0000}.content .highlight .gh{color:#999}.content .highlight .gi{color:#000;background-color:#dfd}.content .highlight .gi .x{color:#000;background-color:#afa}.content .highlight .go{color:#888}.content .highlight .gp{color:#555}.content .highlight .gs{font-weight:bold}.content .highlight .gu{color:#800080;font-weight:bold}.content .highlight .gt{color:#aa0000}.content .highlight .ow{font-weight:bold}.content .highlight .w{color:#bbb}.content .highlight .sr{color:#017936}.content .highlight .ss{color:#8b467f}.content .highlight .bp{color:#999}.content .highlight .gc{color:#999;background-color:#EAF2F5}.content .octicon{font:normal normal 16px octicons-anchor;line-height:1;display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.content .octicon-link:before{content:'\f05c'}.content .task-list-item{list-style-type:none}.content .task-list-item+.task-list-item{margin-top:3px}.content .task-list-item input{float:left;margin:0.3em 0 0.25em -1.6em;vertical-align:middle}@media (min-width: 43.75em){.content body{padding:30px}} diff --git a/static/images/email.svg b/static/images/email.svg new file mode 120000 index 0000000..2f451a2 --- /dev/null +++ b/static/images/email.svg @@ -0,0 +1 @@ +../../modules/evil-icons/assets/icons/ei-envelope.svg \ No newline at end of file diff --git a/static/images/facebook.svg b/static/images/facebook.svg new file mode 120000 index 0000000..a641c2d --- /dev/null +++ b/static/images/facebook.svg @@ -0,0 +1 @@ +../../modules/evil-icons/assets/icons/ei-sc-facebook.svg \ No newline at end of file diff --git a/static/images/github.svg b/static/images/github.svg new file mode 120000 index 0000000..4b9936d --- /dev/null +++ b/static/images/github.svg @@ -0,0 +1 @@ +../../modules/evil-icons/assets/icons/ei-sc-github.svg \ No newline at end of file diff --git a/static/images/linkedin.svg b/static/images/linkedin.svg new file mode 120000 index 0000000..85e981c --- /dev/null +++ b/static/images/linkedin.svg @@ -0,0 +1 @@ +../../modules/evil-icons/assets/icons/ei-sc-linkedin.svg \ No newline at end of file diff --git a/static/images/twitter.svg b/static/images/twitter.svg new file mode 120000 index 0000000..9fc3a02 --- /dev/null +++ b/static/images/twitter.svg @@ -0,0 +1 @@ +../../modules/evil-icons/assets/icons/ei-sc-twitter.svg \ No newline at end of file diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..b734700 --- /dev/null +++ b/theme.toml @@ -0,0 +1,11 @@ +name = "light-hugo" +license = "MPL2" +licenselink = "https://github.com/tblyler/hugo-nojs/blob/master/LICENSE" +description = "CSS and HTML only blog/pages focused on content." +homepage = "https://github.com/tblyler/hugo-nojs" +tags = ["Responsive", "nojs", "Minimal", "normalize", "Light", "White"] +features = ["blog", "pages"] + +[author] + name = "Tony Blyler" + homepage = "https://tonyblyler.com"