From b754d12fd9f141f7fe78cadc0bf7dd5c8c27c335 Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Sun, 2 Aug 2020 22:00:57 +0200 Subject: Update demo website --- README.md | 4 ++-- assets/sass/researcher.scss | 11 ----------- assets/sass/typography.scss | 11 +++++++++++ exampleSite/content/about.md | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index acd0b67..10c8ff7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Researcher -A simple monospaced resume theme for Hugo. It was ported from -the Jekyll theme [ankitsultana/researcher](https://github.com/ankitsultana/researcher). +A simple monospaced resume theme for Hugo. It was ported from Jekyll theme +[ankitsultana/researcher](https://github.com/ankitsultana/researcher). ## Screenshot ![thumbnail](https://github.com/ojroques/hugo-researcher/blob/master/images/tn.png) diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss index 8acca57..6f99375 100644 --- a/assets/sass/researcher.scss +++ b/assets/sass/researcher.scss @@ -6,17 +6,6 @@ font-family: "Inconsolata"; line-height: normal; } -h1, h2, h3, h4, h5, h6 { - font-size: medium; - font-weight: bold; - line-height: normal; - margin: 1.2rem 0 0.8rem 0; -} -@for $i from 1 through 4 { - h#{$i} { - font-size: 1.2rem + 0.2 * (4 - $i); - } -} .container { max-width: $max-width; } diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss index 24fe28d..565cc56 100644 --- a/assets/sass/typography.scss +++ b/assets/sass/typography.scss @@ -16,6 +16,17 @@ code { color: $green; } + h1, h2, h3, h4, h5, h6 { + font-size: medium; + font-weight: bold; + line-height: normal; + margin: 1.2rem 0 0.8rem 0; + } + @for $i from 1 through 4 { + h#{$i} { + font-size: 1.2rem + 0.2 * (4 - $i); + } + } img { display: block; margin: $margin-y auto; diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index d3c778d..187c530 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -6,7 +6,7 @@ title = "About" {{< figure class="avatar" src="/avatar.jpg" >}} -This is a jekyll based resume template. You can find the full source code on [GitHub](https://github.com/ojroques/researcher). +This is a Hugo based resume template. You can find the full source code on [GitHub](https://github.com/ojroques/hugo-researcher). ## Research Interest -- cgit v1.2.3