From 22935f4f4febc9c25ab358f0c559e256a67adde4 Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 31 Mar 2019 20:35:41 +0200 Subject: Initial commit --- .gitattributes | 2 + .travis.yml | 18 +++ LICENSE | 20 +++ README.md | 149 +++++++++++++++++++++ archetypes/default.md | 2 + assets/scss/stip.scss | 9 ++ assets/scss/stip/_base.scss | 64 +++++++++ assets/scss/stip/_layout.scss | 33 +++++ assets/scss/stip/_variables.scss | 16 +++ exampleSite/config.toml | 28 ++++ exampleSite/content/.gitkeep | 0 i18n/de.toml | 2 + i18n/en.toml | 2 + i18n/fr.toml | 2 + i18n/nl.toml | 2 + images/screenshot.png | Bin 0 -> 1112592 bytes images/tn.png | Bin 0 -> 436007 bytes layouts/404.html | 0 layouts/_default/baseof.html | 8 ++ layouts/index.html | 40 ++++++ layouts/partials/footer.html | 3 + layouts/partials/head.html | 37 +++++ layouts/partials/header.html | 0 layouts/partials/introduction.html | 2 + ...p.scss_11dec6d354e63d78237f08052de7276c.content | 80 +++++++++++ ...stip.scss_11dec6d354e63d78237f08052de7276c.json | 1 + ...p.scss_d4f8b6498aaf27d34862c7e8a62b88f3.content | 1 + ...stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.json | 1 + static/android-chrome-192x192.png | Bin 0 -> 9327 bytes static/android-chrome-512x512.png | Bin 0 -> 30634 bytes static/apple-touch-icon.png | Bin 0 -> 8409 bytes static/favicon-16x16.png | Bin 0 -> 365 bytes static/favicon-32x32.png | Bin 0 -> 705 bytes static/favicon.ico | Bin 0 -> 15406 bytes static/images/background.jpg | Bin 0 -> 926212 bytes static/images/portrait.jpg | Bin 0 -> 30262 bytes static/site.webmanifest | 19 +++ theme.toml | 15 +++ 38 files changed, 556 insertions(+) create mode 100644 .gitattributes create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 assets/scss/stip.scss create mode 100644 assets/scss/stip/_base.scss create mode 100644 assets/scss/stip/_layout.scss create mode 100644 assets/scss/stip/_variables.scss create mode 100644 exampleSite/config.toml create mode 100644 exampleSite/content/.gitkeep create mode 100644 i18n/de.toml create mode 100644 i18n/en.toml create mode 100644 i18n/fr.toml create mode 100644 i18n/nl.toml create mode 100644 images/screenshot.png create mode 100644 images/tn.png create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/introduction.html create mode 100644 resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.content create mode 100644 resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.json create mode 100644 resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.content create mode 100644 resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.json create mode 100644 static/android-chrome-192x192.png create mode 100644 static/android-chrome-512x512.png create mode 100644 static/apple-touch-icon.png create mode 100644 static/favicon-16x16.png create mode 100644 static/favicon-32x32.png create mode 100644 static/favicon.ico create mode 100644 static/images/background.jpg create mode 100644 static/images/portrait.jpg create mode 100644 static/site.webmanifest create mode 100644 theme.toml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f10d3a2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +resources/** -diff -merge +resources/** linguist-generated=true \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..90db982 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +env: + - HUGO_VERSION="0.50" + - HUGO_VERSION="0.51" + - HUGO_VERSION="0.52" + - HUGO_VERSION="0.53" + - HUGO_VERSION="0.54.0" + +install: + - wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz + - tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz + - mv hugo ~/bin/ + - hugo version + - gem install html-proofer + +script: + - cd exampleSite + - hugo -t stip-hugo --themesDir ../.. + - htmlproofer public --check-html --disable-external diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dd0fc00 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2019 Emiel Hollander + +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/README.md b/README.md new file mode 100644 index 0000000..f2ada2e --- /dev/null +++ b/README.md @@ -0,0 +1,149 @@ +# Stip + +[![Build Status](https://travis-ci.com/EmielH/stip-hugo.svg?branch=master)](https://travis-ci.com/EmielH/stip-hugo) + +Stip is a single-page Hugo theme for personal introductions. Add a portrait, an introduction, several links, and you're set. The theme was inspired by Material Design's tap target design pattern. [An implementation of this design pattern](https://sjwall.github.io/MaterialTapTargetPrompt/). + +![Stip screenshot](https://raw.githubusercontent.com/EmielH/stip-hugo/master/images/screenshot.png) + +## Installation + +### 1. Install the theme + +If your site is also under version control using git, the easiest way to install this theme is to add it as a submodule. If you have not created a git repo for your project yet, you need to run `git init` beforehand. Inside the folder of your Hugo site, run the following command. + +``` +git submodule add https://github.com/EmielH/stip-hugo.git themes/stip +``` + +Alternatively, you can clone the theme into your project. + +``` +git clone https://github.com/EmielH/stip-hugo.git themes/stip +``` + +### 2. Configure Hugo + +Add the following line to `config.toml` to tell Hugo to use the theme. + +``` +theme = "stip" +``` + +Alternatively, you can tell Hugo to use the theme with the `server` command. + +``` +hugo server -t stip +``` + +_[Hugo setup guide](https//gohugo.io/overview/installing/)_ + +### Update the theme + +If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder. + +``` +git submodule update --remote --rebase +``` + +If you have cloned the theme, you can run `git pull` inside the theme folder. + +## Configuration + +### Images + +Put your own portrait in `/static/images/portrait.jpg` of your own site, and/or put your own background in `/static/images/background.jpg` of your own site and Hugo wil automatically use those images instead of the standard one. It's not necessary to alter the theme. + +### Introduction + +Put your own introduction text in `/layouts/partials/introduction.html` of your own site and Hugo wil automatically use that introduction instead of the standard one. It's not necessary to alter the theme. + +### Name and bio + +Stip will use the name and bio of the author that has been configured in the `Author` section of your site's `config.toml`. Add the lines below to your `config.toml` to configure these. + +``` +[Author] + name = "Jane Doe" + bio = "Professional coffee drinker" +``` + +### Links + +You can put your own links below the introduction text, for example to link to your social media accounts or to include your e-mail address. These links use icons from FontAwesome. The links can be configured in the `params` section of your site's `config.toml`. This is an example configuration for a link to Github: + +``` +[params] + [[params.links]] + icon = "github" + title = "Github" + url = "https://github.com/" +``` + +Stip by default allows you to choose an icon from [the brands set](https://fontawesome.com/icons?d=gallery&s=brands&m=free). Put the name of the icon in the `icon` parameter. This set is the default set because these links will mostly be used for links to social media. + +It is possible to use an icon from [the solid set](https://fontawesome.com/icons?d=gallery&s=solid&m=free). To do this, specify the icon set, like this: + +``` + [[params.links]] + iconset = "fas" + icon = "envelope" + title = "E-mail" + url = "mailto:mail@example.org" +``` + +### Internationalisation (i18n) + +Stip supports using other languages than English. Language files for the texts Stip uses are provided in the `i18n` directory. The default language is English. To switch languages, add the key `defaultContentLanguage` to your `config.toml` file. For example: + +``` +defaultContentLanguage = "nl" +``` + +To translate texts your site uses, add an `i18n` folder to your site. + +Feel free to submit pull requests for other translations of Stip's texts. + +_[Hugo documentation for multilingual sites](//gohugo.io/content-management/multilingual/)_ + +### Colors + +You can alter the colors of your website using configuration options. Add the following to the `[params]` section of your `config.toml` for an alternate color scheme: + +``` +[params.colors] + background = "#000000" + circle = "#3942ba" + foreground = "#c7d0fc" + hover = "#cd6cf7" +``` + +* `background`: Th background color of the site. Note that this color usually will not be visible because of the background image. +* `circle`: The background color of the large circle. +* `foreground`: The color of the text and the border of the portrait. +* `hover`: The color of the hover of links. + +> **Warning: When using Hugo Basic, you need to perform additional steps to make custom colors work.** +> +> If you get the following error message while building your site, you're using Hugo Basic: +> +> `error: failed to transform resource: TOCSS: failed to transform "style.stip.scss" (text/x-scss): this feature is not available in your current Hugo version` +> +> The SCSS needs to be transpiled for your custom colours, which is something Hugo Basic cannot do. For the standard colours, the transpiled SCSS comes with the theme. +> +> If you're stuck with Hugo Basic, e.g. because your Hugo site is generated on a server that only has Hugo Basic installed, you can get custom colours to work by performing the following steps. +> +> 1. Install Hugo Extended on your local machine. +> 2. Generate your site locally by running `hugo` on your local machine. +> 3. Commit the generated `resources` folder to the root folder of your site. This folder can be found inside the `public` folder after running `hugo`. +> +> Hugo Basic will then use this `resources` folder to find the transpiled SCSS. + +## Acknowledgments + +Stock portrait photo obtained [here](https://www.pexels.com/photo/woman-holding-disposable-cup-712513/). +Stock background photo obtained [here](https://www.pexels.com/photo/trees-grass-lawn-park-2336/). + +## License + +See [LICENSE](https://github.com/EmielH/stip-hugo/blob/master/LICENSE). 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/assets/scss/stip.scss b/assets/scss/stip.scss new file mode 100644 index 0000000..bdce358 --- /dev/null +++ b/assets/scss/stip.scss @@ -0,0 +1,9 @@ +// Colours +$color-background: {{ .Site.Params.colors.background | default "#fff" }}; +$color-circle: {{ .Site.Params.colors.circle | default "#164972" }}; +$color-foreground: {{ .Site.Params.colors.foreground | default "#fff" }}; +$color-hover: {{ .Site.Params.colors.hover | default "#88fcf0" }}; + +@import 'stip/variables'; +@import 'stip/base'; +@import 'stip/layout'; diff --git a/assets/scss/stip/_base.scss b/assets/scss/stip/_base.scss new file mode 100644 index 0000000..09ec497 --- /dev/null +++ b/assets/scss/stip/_base.scss @@ -0,0 +1,64 @@ +html, +body { + color: $color-foreground; + margin: 0; + padding: 1rem; +} + +html { + font-family: $sans-serif; + font-size: 16px; + overflow-y: auto; +} + +body { + background-color: $color-background; + background: url('/images/background.jpg'); + background-repeat: no-repeat; + background-attachment: fixed; +} + +a { + @include transition(color .2s ease-out); + color: $color-foreground; + + &:hover { + color: $color-hover; + } +} + +h1 { + font-size: 9rem; + font-weight: 100; + + @media screen and (max-width: $break-large) { + font-size: 6rem; + } +} + +h2 { + font-size: 3rem; + font-weight: 100; +} + +p { + font-family: $serif; + font-weight: 300; + line-height: 1.7; +} + +img.portrait { + border-radius: 50%; + border: $portrait-border-width solid $color-foreground; + width: $portrait-size; + height: $portrait-size; +} + +.portrait-container { + border-radius: 50%; + border: 65vw solid $color-circle; + margin: -63vw; + height: $portrait-size + 2 * $portrait-border-width; + width: $portrait-size + 2 * $portrait-border-width; + +} \ No newline at end of file diff --git a/assets/scss/stip/_layout.scss b/assets/scss/stip/_layout.scss new file mode 100644 index 0000000..ab360bf --- /dev/null +++ b/assets/scss/stip/_layout.scss @@ -0,0 +1,33 @@ +main { + display: flex; + flex-direction: row; + + @media screen and (max-width: $break-large) { + flex-direction: column; + } +} + +.content { + margin-left: 1rem; + max-width: 50vw; + + @media screen and (max-width: $break-large) { + margin-left: 0; + max-width: 100vw; + } + + .links { + margin-top: 2.5rem; + font-size: 1.5rem; + + a { + margin-right: 0.5rem; + text-decoration: none; + } + } +} + +.footer { + margin-top: 3rem; + font-size: 0.75rem; +} diff --git a/assets/scss/stip/_variables.scss b/assets/scss/stip/_variables.scss new file mode 100644 index 0000000..17a39d7 --- /dev/null +++ b/assets/scss/stip/_variables.scss @@ -0,0 +1,16 @@ +// Fonts +$sans-serif: 'Roboto', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; +$serif: 'Lora', 'Times', 'Times New Roman', serif; + +// Responsive breaks +$break-large: 980px; + +// Portrait size +$portrait-size: 300px; +$portrait-border-width: 20px; + +@mixin transition($args...) { + -webkit-transition: $args; + -moz-transition: $args; + transition: $args; +} diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..2ad129c --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,28 @@ +baseURL = "https://example.com/" +languageCode = "en" +defaultContentLanguage = "en" +title = "Stip" +theme = "stip" + +[Author] + name = "Jane Doe" + bio = "Professional coffee drinker" + +[params] + + [[params.links]] + iconset = "fas" + icon = "envelope" + title = "E-mail" + url = "mailto:mail@example.org" + + [[params.links]] + icon = "github" + title = "Github" + url = "https://github.com/" + + [[params.links]] + icon = "twitter" + title = "Twitter" + url = "https://twitter.com/" + \ No newline at end of file diff --git a/exampleSite/content/.gitkeep b/exampleSite/content/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/i18n/de.toml b/i18n/de.toml new file mode 100644 index 0000000..70544df --- /dev/null +++ b/i18n/de.toml @@ -0,0 +1,2 @@ +[generator] +other = "Gemacht mit Hugo mit dem Thema Stip." diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..94327c4 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,2 @@ +[generator] +other = "Made with Hugo using the Stip theme." diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..ab8f55f --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,2 @@ +[generator] +other = "Fabriqué avec Hugo en utilisant le thème Stip." diff --git a/i18n/nl.toml b/i18n/nl.toml new file mode 100644 index 0000000..c47f458 --- /dev/null +++ b/i18n/nl.toml @@ -0,0 +1,2 @@ +[generator] +other = "Gemaakt met Hugo en thema Stip." \ No newline at end of file diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..ea784bf Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..513013a Binary files /dev/null and b/images/tn.png differ diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..7015d25 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,8 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} + {{- block "main" . }}{{- end }} + + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..694eae5 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,40 @@ +{{ define "main" }} + +
+
+ Portrait +
+ +
+

{{ .Site.Author.name | default "Stip" }}

+

{{ .Site.Author.bio | default "Hugo theme to introduce yourself" }}

+

{{- partial "introduction.html" . -}}

+ + + + {{- partial "footer.html" . -}} +
+ + +
+ +{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..3ddc4a8 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..da2be99 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,37 @@ + + + + {{- if eq .URL "/" }} + + {{- else if .Description }} + + {{- end }} + + + {{- if eq .URL "/" }} + {{ .Site.Title }} + {{- else }} + {{ .Title }} · {{ .Site.Title }} + {{- end }} + + + + {{- $inServerMode := .Site.IsServer }} + {{- $cssTarget := "css/style.css" }} + {{- $cssOptions := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }} + {{- $style := resources.Get "scss/stip.scss" | resources.ExecuteAsTemplate "style.hallo.scss" . | toCSS $cssOptions }} + + + + + + + + + + + + + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/introduction.html b/layouts/partials/introduction.html new file mode 100644 index 0000000..feb6823 --- /dev/null +++ b/layouts/partials/introduction.html @@ -0,0 +1,2 @@ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque porta accumsan ex, eu auctor lacus condimentum ut. Suspendisse ut leo convallis risus fermentum blandit. Nam efficitur dui eros, nec fermentum lorem blandit at. Fusce tempus euismod arcu sed finibus. \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.content b/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.content new file mode 100644 index 0000000..05ee94b --- /dev/null +++ b/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.content @@ -0,0 +1,80 @@ +html, +body { + color: #c7d0fc; + margin: 0; + padding: 1rem; } + +html { + font-family: "Roboto", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 16px; + overflow-y: auto; } + +body { + background-color: #000000; + background: url("/images/background.jpg"); + background-repeat: no-repeat; + background-attachment: fixed; } + +a { + -webkit-transition: color 0.2s ease-out; + -moz-transition: color 0.2s ease-out; + transition: color 0.2s ease-out; + color: #c7d0fc; } + a:hover { + color: #cd6cf7; } + +h1 { + font-size: 9rem; + font-weight: 100; } + @media screen and (max-width: 980px) { + h1 { + font-size: 6rem; } } + +h2 { + font-size: 3rem; + font-weight: 100; } + +p { + font-family: "Lora", "Times", "Times New Roman", serif; + font-weight: 300; + line-height: 1.7; } + +img.portrait { + border-radius: 50%; + border: 20px solid #c7d0fc; + width: 300px; + height: 300px; } + +.portrait-container { + border-radius: 50%; + border: 65vw solid #3942ba; + margin: -63vw; + height: 340px; + width: 340px; } + +main { + display: flex; + flex-direction: row; } + @media screen and (max-width: 980px) { + main { + flex-direction: column; } } + +.content { + margin-left: 1rem; + max-width: 50vw; } + @media screen and (max-width: 980px) { + .content { + margin-left: 0; + max-width: 100vw; } } + .content .links { + margin-top: 2.5rem; + font-size: 1.5rem; } + .content .links a { + margin-right: 0.5rem; + text-decoration: none; } + +.footer { + margin-top: 3rem; + font-size: 0.75rem; } + +/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.json b/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.json new file mode 100644 index 0000000..28c014b --- /dev/null +++ b/resources/_gen/assets/scss/scss/stip.scss_11dec6d354e63d78237f08052de7276c.json @@ -0,0 +1 @@ +{"Target":"css/style.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.content b/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.content new file mode 100644 index 0000000..1bb3674 --- /dev/null +++ b/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.content @@ -0,0 +1 @@ +html,body{color:#fff;margin:0;padding:1rem}html{font-family:"Roboto","Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;font-size:16px;overflow-y:auto}body{background-color:#fff;background:url("/images/background.jpg");background-repeat:no-repeat;background-attachment:fixed}a{-webkit-transition:color 0.2s ease-out;-moz-transition:color 0.2s ease-out;transition:color 0.2s ease-out;color:#fff}a:hover{color:#88fcf0}h1{font-size:9rem;font-weight:100}@media screen and (max-width: 980px){h1{font-size:6rem}}h2{font-size:3rem;font-weight:100}p{font-family:"Lora","Times","Times New Roman",serif;font-weight:300;line-height:1.7}img.portrait{border-radius:50%;border:20px solid #fff;width:300px;height:300px}.portrait-container{border-radius:50%;border:65vw solid #164972;margin:-63vw;height:340px;width:340px}main{display:flex;flex-direction:row}@media screen and (max-width: 980px){main{flex-direction:column}}.content{margin-left:1rem;max-width:50vw}@media screen and (max-width: 980px){.content{margin-left:0;max-width:100vw}}.content .links{margin-top:2.5rem;font-size:1.5rem}.content .links a{margin-right:0.5rem;text-decoration:none}.footer{margin-top:3rem;font-size:0.75rem} diff --git a/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.json b/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.json new file mode 100644 index 0000000..28c014b --- /dev/null +++ b/resources/_gen/assets/scss/scss/stip.scss_d4f8b6498aaf27d34862c7e8a62b88f3.json @@ -0,0 +1 @@ +{"Target":"css/style.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..afe5556 Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png new file mode 100644 index 0000000..93472ea Binary files /dev/null and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..c2b63cb Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..e46548a Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..747c82c Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..6bff888 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/images/background.jpg b/static/images/background.jpg new file mode 100644 index 0000000..e90e49f Binary files /dev/null and b/static/images/background.jpg differ diff --git a/static/images/portrait.jpg b/static/images/portrait.jpg new file mode 100644 index 0000000..21f0756 Binary files /dev/null and b/static/images/portrait.jpg differ diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..901bd0c --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..158c535 --- /dev/null +++ b/theme.toml @@ -0,0 +1,15 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "Stip" +license = "MIT" +licenselink = "https://github.com/EmielH/stip-hugo/blob/master/LICENSE" +description = "Stip is a single-page Hugo theme to introduce yourself." +homepage = "https://github.com/EmielH/stip-hugo" +tags = ["minimal", "clean", "responsive", "simple", "personal", "starter", "single page", "onepage", "Font Awesome", "landing page"] +features = [] +min_version = "0.50" + +[author] + name = "Emiel Hollander" + homepage = "https://www.emielhollander.nl" -- cgit v1.2.3