From cd5f3053ea0e81ebcef0315609f4bfe2c9798f67 Mon Sep 17 00:00:00 2001 From: MisterSpak Date: Sun, 21 Apr 2019 23:34:17 -0700 Subject: [PATCH 01/30] Update faq.md --- faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq.md b/faq.md index 21ede8f..6d3a991 100644 --- a/faq.md +++ b/faq.md @@ -10,7 +10,7 @@ permalink: /faq/ ### Where is the FAQ? -Well, right here! At least, for frequently asked questions about *The Rebble Alliance*. For frequently asked questions about how to use the Rebble Web Services with your Pebble smartwatch, head to [the setup how-to](/howto) and scroll down. +Well, right here! At least, for frequently asked questions about *The Rebble Alliance*. For frequently asked questions about how to use the Rebble Web Services with your Pebble smartwatch, head to [the setup and troubleshooting how-to](/howto) and scroll down. ### What is Rebble? From 972fda2dd93d2fe4382601302964e7d9faec911d Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Mon, 20 May 2019 09:11:05 -0600 Subject: [PATCH 02/30] Configure for pagination --- Gemfile | 2 +- Gemfile.lock | 293 +++++++++++++++++++++++++++++++++------------------ _config.yml | 7 +- 3 files changed, 196 insertions(+), 106 deletions(-) diff --git a/Gemfile b/Gemfile index 1bb8b4a..c50ae3c 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,5 @@ require 'open-uri' versions = JSON.parse(open('https://pages.github.com/versions.json').read) gem 'github-pages', versions['github-pages'] - +gem 'jekyll-paginate' gem 'jemoji' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 7902f09..30f3e8e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,165 +1,250 @@ GEM remote: https://rubygems.org/ specs: - activesupport (4.2.7) + activesupport (4.2.11.1) i18n (~> 0.7) - json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.4.0) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.11.1) colorator (1.1.0) - ethon (0.10.1) + commonmarker (0.17.13) + ruby-enum (~> 0.5) + concurrent-ruby (1.1.5) + dnsruby (1.61.2) + addressable (~> 2.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + ethon (0.12.0) ffi (>= 1.3.0) + eventmachine (1.2.7) execjs (2.7.0) - faraday (0.10.0) + faraday (0.15.4) multipart-post (>= 1.2, < 3) - ffi (1.9.14) + ffi (1.11.0) forwardable-extended (2.6.0) - gemoji (2.1.0) - github-pages (108) - activesupport (= 4.2.7) - github-pages-health-check (= 1.3.0) - jekyll (= 3.3.1) - jekyll-avatar (= 0.4.2) - jekyll-coffeescript (= 1.0.1) + gemoji (3.0.1) + github-pages (198) + activesupport (= 4.2.11.1) + github-pages-health-check (= 1.16.1) + jekyll (= 3.8.5) + jekyll-avatar (= 0.6.0) + jekyll-coffeescript (= 1.1.1) + jekyll-commonmark-ghpages (= 0.1.5) jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.8.0) - jekyll-gist (= 1.4.0) - jekyll-github-metadata (= 2.2.0) - jekyll-mentions (= 1.2.0) - jekyll-optional-front-matter (= 0.1.2) + jekyll-feed (= 0.11.0) + jekyll-gist (= 1.5.0) + jekyll-github-metadata (= 2.12.1) + jekyll-mentions (= 1.4.1) + jekyll-optional-front-matter (= 0.3.0) jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.0.2) - jekyll-redirect-from (= 0.11.0) - jekyll-relative-links (= 0.2.1) - jekyll-sass-converter (= 1.3.0) - jekyll-seo-tag (= 2.1.0) - jekyll-sitemap (= 0.12.0) + jekyll-readme-index (= 0.2.0) + jekyll-redirect-from (= 0.14.0) + jekyll-relative-links (= 0.6.0) + jekyll-remote-theme (= 0.3.1) + jekyll-sass-converter (= 1.5.2) + jekyll-seo-tag (= 2.5.0) + jekyll-sitemap (= 1.2.0) jekyll-swiss (= 0.4.0) - jekyll-theme-primer (= 0.1.1) - jekyll-titles-from-headings (= 0.1.2) - jemoji (= 0.7.0) - kramdown (= 1.11.1) - liquid (= 3.0.6) - listen (= 3.0.6) + jekyll-theme-architect (= 0.1.1) + jekyll-theme-cayman (= 0.1.1) + jekyll-theme-dinky (= 0.1.1) + jekyll-theme-hacker (= 0.1.1) + jekyll-theme-leap-day (= 0.1.1) + jekyll-theme-merlot (= 0.1.1) + jekyll-theme-midnight (= 0.1.1) + jekyll-theme-minimal (= 0.1.1) + jekyll-theme-modernist (= 0.1.1) + jekyll-theme-primer (= 0.5.3) + jekyll-theme-slate (= 0.1.1) + jekyll-theme-tactile (= 0.1.1) + jekyll-theme-time-machine (= 0.1.1) + jekyll-titles-from-headings (= 0.5.1) + jemoji (= 0.10.2) + kramdown (= 1.17.0) + liquid (= 4.0.0) + listen (= 3.1.5) mercenary (~> 0.3) - minima (= 2.0.0) - rouge (= 1.11.1) + minima (= 2.5.0) + nokogiri (>= 1.8.5, < 2.0) + rouge (= 2.2.1) terminal-table (~> 1.4) - github-pages-health-check (1.3.0) + github-pages-health-check (1.16.1) addressable (~> 2.3) - net-dns (~> 0.8) + dnsruby (~> 1.60) octokit (~> 4.0) - public_suffix (~> 2.0) - typhoeus (~> 0.7) - html-pipeline (2.4.2) + public_suffix (~> 3.0) + typhoeus (~> 1.3) + html-pipeline (2.11.0) activesupport (>= 2) nokogiri (>= 1.4) - i18n (0.7.0) - jekyll (3.3.1) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.5) addressable (~> 2.4) colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 1.1) - kramdown (~> 1.3) - liquid (~> 3.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) mercenary (~> 0.3.3) pathutil (~> 0.9) - rouge (~> 1.7) + rouge (>= 1.7, < 4) safe_yaml (~> 1.0) - jekyll-avatar (0.4.2) + jekyll-avatar (0.6.0) jekyll (~> 3.0) - jekyll-coffeescript (1.0.1) + jekyll-coffeescript (1.1.1) coffee-script (~> 2.2) + coffee-script-source (~> 1.11.1) + jekyll-commonmark (1.3.1) + commonmarker (~> 0.14) + jekyll (>= 3.7, < 5.0) + jekyll-commonmark-ghpages (0.1.5) + commonmarker (~> 0.17.6) + jekyll-commonmark (~> 1) + rouge (~> 2) jekyll-default-layout (0.1.4) jekyll (~> 3.0) - jekyll-feed (0.8.0) + jekyll-feed (0.11.0) jekyll (~> 3.3) - jekyll-gist (1.4.0) + jekyll-gist (1.5.0) octokit (~> 4.2) - jekyll-github-metadata (2.2.0) - jekyll (~> 3.1) + jekyll-github-metadata (2.12.1) + jekyll (~> 3.4) octokit (~> 4.0, != 4.4.0) - jekyll-mentions (1.2.0) - activesupport (~> 4.0) + jekyll-mentions (1.4.1) html-pipeline (~> 2.3) jekyll (~> 3.0) - jekyll-optional-front-matter (0.1.2) + jekyll-optional-front-matter (0.3.0) jekyll (~> 3.0) jekyll-paginate (1.1.0) - jekyll-readme-index (0.0.2) + jekyll-readme-index (0.2.0) jekyll (~> 3.0) - jekyll-redirect-from (0.11.0) - jekyll (>= 2.0) - jekyll-relative-links (0.2.1) + jekyll-redirect-from (0.14.0) jekyll (~> 3.3) - jekyll-sass-converter (1.3.0) - sass (~> 3.2) - jekyll-seo-tag (2.1.0) + jekyll-relative-links (0.6.0) jekyll (~> 3.3) - jekyll-sitemap (0.12.0) + jekyll-remote-theme (0.3.1) + jekyll (~> 3.5) + rubyzip (>= 1.2.1, < 3.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-seo-tag (2.5.0) jekyll (~> 3.3) - jekyll-swiss (0.4.0) - jekyll-theme-primer (0.1.1) + jekyll-sitemap (1.2.0) jekyll (~> 3.3) - jekyll-titles-from-headings (0.1.2) + jekyll-swiss (0.4.0) + jekyll-theme-architect (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-cayman (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-dinky (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-hacker (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-leap-day (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-merlot (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-midnight (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-minimal (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-modernist (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-primer (0.5.3) + jekyll (~> 3.5) + jekyll-github-metadata (~> 2.9) + jekyll-seo-tag (~> 2.0) + jekyll-theme-slate (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-tactile (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-time-machine (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-titles-from-headings (0.5.1) jekyll (~> 3.3) - jekyll-watch (1.5.0) - listen (~> 3.0, < 3.1) - jemoji (0.7.0) - activesupport (~> 4.0) - gemoji (~> 2.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + jemoji (0.10.2) + gemoji (~> 3.0) html-pipeline (~> 2.2) - jekyll (>= 3.0) - json (1.8.3) - kramdown (1.11.1) - liquid (3.0.6) - listen (3.0.6) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9.7) + jekyll (~> 3.0) + kramdown (1.17.0) + liquid (4.0.0) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) mercenary (0.3.6) - mini_portile2 (2.1.0) - minima (2.0.0) - minitest (5.10.1) - multipart-post (2.0.0) - net-dns (0.8.0) - nokogiri (1.6.8.1) - mini_portile2 (~> 2.1.0) - octokit (4.6.2) + mini_portile2 (2.4.0) + minima (2.5.0) + jekyll (~> 3.5) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + minitest (5.11.3) + multipart-post (2.1.1) + nokogiri (1.10.3) + mini_portile2 (~> 2.4.0) + octokit (4.14.0) sawyer (~> 0.8.0, >= 0.5.3) - pathutil (0.14.0) + pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (2.0.4) - rb-fsevent (0.9.8) - rb-inotify (0.9.7) - ffi (>= 0.5.0) - rouge (1.11.1) - safe_yaml (1.0.4) - sass (3.4.22) - sawyer (0.8.1) - addressable (>= 2.3.5, < 2.6) - faraday (~> 0.8, < 1.0) - terminal-table (1.7.3) - unicode-display_width (~> 1.1.1) - thread_safe (0.3.5) - typhoeus (0.8.0) - ethon (>= 0.8.0) - tzinfo (1.2.2) + public_suffix (3.0.3) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + rouge (2.2.1) + ruby-enum (0.7.2) + i18n + ruby_dep (1.5.0) + rubyzip (1.2.2) + safe_yaml (1.0.5) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.8.2) + addressable (>= 2.3.5) + faraday (> 0.8, < 2.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thread_safe (0.3.6) + typhoeus (1.3.1) + ethon (>= 0.9.0) + tzinfo (1.2.5) thread_safe (~> 0.1) - unicode-display_width (1.1.2) + unicode-display_width (1.6.0) PLATFORMS ruby DEPENDENCIES - github-pages (= 108) + github-pages (= 198) + jekyll-paginate jemoji - json BUNDLED WITH - 1.13.6 + 2.0.1 diff --git a/_config.yml b/_config.yml index 26c2d07..2afe46e 100644 --- a/_config.yml +++ b/_config.yml @@ -23,11 +23,16 @@ github_username: pebble-dev #soundcloud_username: TODO #miiverse_username: TODO +# Blog pagination settings +paginate: 5 +paginate_path: "/blog/:num/" + # Build settings markdown: kramdown kramdown: input: GFM -gems: +plugins: +- jekyll-paginate - jemoji From dbd86adc2a64291a1cdb353836403e3056bacea9 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Mon, 20 May 2019 09:11:11 -0600 Subject: [PATCH 03/30] Add basic blog page --- blog/index.html | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 blog/index.html diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..060b97b --- /dev/null +++ b/blog/index.html @@ -0,0 +1,55 @@ +--- +layout: default +title: "Blog" +--- +
+ {% for post in paginator.posts %} +
+
+ +

{{ post.title }}

+ {{ post.excerpt }} +
+
+ {% endfor %} +
+{% if site.posts == 0 %} +
+
+

There's nothing here (yet...)

+

+ In the meantime, check out the + Discord Server or subscribe to the mailing list: +

+ {% include mailinglist.html %} +
+
+ +{% endif %} + + +{% if paginator.total_pages > 1 %} + +{% endif %} \ No newline at end of file From 19a2b9b1033d68ecf2d4c7dbde7dcbfe34faf46d Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Tue, 21 May 2019 13:47:09 -0600 Subject: [PATCH 04/30] Style pagination --- blog/index.html | 24 +++++++++++++++--------- css/common.css | 46 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 10 deletions(-) diff --git a/blog/index.html b/blog/index.html index 060b97b..abb745e 100644 --- a/blog/index.html +++ b/blog/index.html @@ -29,27 +29,33 @@

{{ post.title }}

{% if paginator.total_pages > 1 %} - + + {% endif %} \ No newline at end of file diff --git a/css/common.css b/css/common.css index 260216e..8d2bbf5 100644 --- a/css/common.css +++ b/css/common.css @@ -400,10 +400,54 @@ hr { border: 1px solid #dbdadb; } +/* Pagination styles */ + /* --- Error page styles --- */ .pet-rock-pebble { margin-left: auto; margin-right: auto; display: block; max-width: 98%; -} \ No newline at end of file +} + +.pagination { + display: flex; + padding-left: 0; + list-style: none; + margin-left: auto; + margin-right: auto; + margin-bottom: 20px; + width: fit-content; + } + + .page-link { + position: relative; + display: block; + padding: .5rem .75rem; + margin-left: -1px; + line-height: 1.25; + color: #686868; + text-decoration: none; + font-size: 20px; + /*border: $pagination-border-width solid $pagination-border-color;*/ + + /*&:focus { + z-index: 3; + outline: $pagination-focus-outline; + box-shadow: $pagination-focus-box-shadow; + }*/ + } + +.page-link.disabled { + color: #cacaca; + } +.page-link.active { + color: #D40; +} + +a.page-link:hover { + z-index: 2; + color: #222; + text-decoration: none; + /*border-color: $pagination-hover-border-color;*/ +} \ No newline at end of file From 0c951062eb0e735e756f37a2edb29f918ffcc09c Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Tue, 21 May 2019 14:04:48 -0600 Subject: [PATCH 05/30] Add blog to menu --- _data/index.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_data/index.yml b/_data/index.yml index d00d352..6eea268 100644 --- a/_data/index.yml +++ b/_data/index.yml @@ -1,6 +1,9 @@ - display: "home" permalink: "/" +- display: "blog" + permalink: "/blog/" + - display: "howto" permalink: "/howto/" From 70c3d976536f60761b517cd31c03018384c26621 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Tue, 21 May 2019 14:05:12 -0600 Subject: [PATCH 06/30] Clean css --- css/common.css | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/css/common.css b/css/common.css index 8d2bbf5..74ef70b 100644 --- a/css/common.css +++ b/css/common.css @@ -400,16 +400,7 @@ hr { border: 1px solid #dbdadb; } -/* Pagination styles */ - -/* --- Error page styles --- */ -.pet-rock-pebble { - margin-left: auto; - margin-right: auto; - display: block; - max-width: 98%; -} - +/* --- Pagination styles --- */ .pagination { display: flex; padding-left: 0; @@ -429,13 +420,6 @@ hr { color: #686868; text-decoration: none; font-size: 20px; - /*border: $pagination-border-width solid $pagination-border-color;*/ - - /*&:focus { - z-index: 3; - outline: $pagination-focus-outline; - box-shadow: $pagination-focus-box-shadow; - }*/ } .page-link.disabled { @@ -448,6 +432,12 @@ hr { a.page-link:hover { z-index: 2; color: #222; - text-decoration: none; - /*border-color: $pagination-hover-border-color;*/ -} \ No newline at end of file +} + +/* --- Error page styles --- */ +.pet-rock-pebble { + margin-left: auto; + margin-right: auto; + display: block; + max-width: 98%; +} \ No newline at end of file From 6fc79f4473572834f6c3a8bf8b5f1092a439717c Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Wed, 22 May 2019 22:10:17 -0600 Subject: [PATCH 07/30] Move to scsss --- Gemfile.lock | 292 ++++++++++++++++++---------- _config.yml | 4 + _scss/buttons.scss | 31 +++ _scss/error.scss | 7 + _scss/fonts.scss | 37 ++++ _scss/footer.scss | 14 ++ _scss/header.scss | 57 ++++++ _scss/home.scss | 38 ++++ _scss/logo.scss | 37 ++++ _scss/mailing-list.scss | 30 +++ _scss/navbar.scss | 27 +++ _scss/section.scss | 175 +++++++++++++++++ _scss/text.scss | 48 +++++ _scss/variables.scss | 29 +++ css/common.css | 409 ---------------------------------------- css/common.scss | 15 ++ 16 files changed, 737 insertions(+), 513 deletions(-) create mode 100644 _scss/buttons.scss create mode 100644 _scss/error.scss create mode 100644 _scss/fonts.scss create mode 100644 _scss/footer.scss create mode 100644 _scss/header.scss create mode 100644 _scss/home.scss create mode 100644 _scss/logo.scss create mode 100644 _scss/mailing-list.scss create mode 100644 _scss/navbar.scss create mode 100644 _scss/section.scss create mode 100644 _scss/text.scss create mode 100644 _scss/variables.scss delete mode 100644 css/common.css create mode 100644 css/common.scss diff --git a/Gemfile.lock b/Gemfile.lock index 7902f09..351addf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,165 +1,249 @@ GEM remote: https://rubygems.org/ specs: - activesupport (4.2.7) + activesupport (4.2.11.1) i18n (~> 0.7) - json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.4.0) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.11.1) colorator (1.1.0) - ethon (0.10.1) + commonmarker (0.17.13) + ruby-enum (~> 0.5) + concurrent-ruby (1.1.5) + dnsruby (1.61.2) + addressable (~> 2.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + ethon (0.12.0) ffi (>= 1.3.0) + eventmachine (1.2.7) execjs (2.7.0) - faraday (0.10.0) + faraday (0.15.4) multipart-post (>= 1.2, < 3) - ffi (1.9.14) + ffi (1.11.1) forwardable-extended (2.6.0) - gemoji (2.1.0) - github-pages (108) - activesupport (= 4.2.7) - github-pages-health-check (= 1.3.0) - jekyll (= 3.3.1) - jekyll-avatar (= 0.4.2) - jekyll-coffeescript (= 1.0.1) + gemoji (3.0.1) + github-pages (198) + activesupport (= 4.2.11.1) + github-pages-health-check (= 1.16.1) + jekyll (= 3.8.5) + jekyll-avatar (= 0.6.0) + jekyll-coffeescript (= 1.1.1) + jekyll-commonmark-ghpages (= 0.1.5) jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.8.0) - jekyll-gist (= 1.4.0) - jekyll-github-metadata (= 2.2.0) - jekyll-mentions (= 1.2.0) - jekyll-optional-front-matter (= 0.1.2) + jekyll-feed (= 0.11.0) + jekyll-gist (= 1.5.0) + jekyll-github-metadata (= 2.12.1) + jekyll-mentions (= 1.4.1) + jekyll-optional-front-matter (= 0.3.0) jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.0.2) - jekyll-redirect-from (= 0.11.0) - jekyll-relative-links (= 0.2.1) - jekyll-sass-converter (= 1.3.0) - jekyll-seo-tag (= 2.1.0) - jekyll-sitemap (= 0.12.0) + jekyll-readme-index (= 0.2.0) + jekyll-redirect-from (= 0.14.0) + jekyll-relative-links (= 0.6.0) + jekyll-remote-theme (= 0.3.1) + jekyll-sass-converter (= 1.5.2) + jekyll-seo-tag (= 2.5.0) + jekyll-sitemap (= 1.2.0) jekyll-swiss (= 0.4.0) - jekyll-theme-primer (= 0.1.1) - jekyll-titles-from-headings (= 0.1.2) - jemoji (= 0.7.0) - kramdown (= 1.11.1) - liquid (= 3.0.6) - listen (= 3.0.6) + jekyll-theme-architect (= 0.1.1) + jekyll-theme-cayman (= 0.1.1) + jekyll-theme-dinky (= 0.1.1) + jekyll-theme-hacker (= 0.1.1) + jekyll-theme-leap-day (= 0.1.1) + jekyll-theme-merlot (= 0.1.1) + jekyll-theme-midnight (= 0.1.1) + jekyll-theme-minimal (= 0.1.1) + jekyll-theme-modernist (= 0.1.1) + jekyll-theme-primer (= 0.5.3) + jekyll-theme-slate (= 0.1.1) + jekyll-theme-tactile (= 0.1.1) + jekyll-theme-time-machine (= 0.1.1) + jekyll-titles-from-headings (= 0.5.1) + jemoji (= 0.10.2) + kramdown (= 1.17.0) + liquid (= 4.0.0) + listen (= 3.1.5) mercenary (~> 0.3) - minima (= 2.0.0) - rouge (= 1.11.1) + minima (= 2.5.0) + nokogiri (>= 1.8.5, < 2.0) + rouge (= 2.2.1) terminal-table (~> 1.4) - github-pages-health-check (1.3.0) + github-pages-health-check (1.16.1) addressable (~> 2.3) - net-dns (~> 0.8) + dnsruby (~> 1.60) octokit (~> 4.0) - public_suffix (~> 2.0) - typhoeus (~> 0.7) - html-pipeline (2.4.2) + public_suffix (~> 3.0) + typhoeus (~> 1.3) + html-pipeline (2.11.0) activesupport (>= 2) nokogiri (>= 1.4) - i18n (0.7.0) - jekyll (3.3.1) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.5) addressable (~> 2.4) colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 1.1) - kramdown (~> 1.3) - liquid (~> 3.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) mercenary (~> 0.3.3) pathutil (~> 0.9) - rouge (~> 1.7) + rouge (>= 1.7, < 4) safe_yaml (~> 1.0) - jekyll-avatar (0.4.2) + jekyll-avatar (0.6.0) jekyll (~> 3.0) - jekyll-coffeescript (1.0.1) + jekyll-coffeescript (1.1.1) coffee-script (~> 2.2) + coffee-script-source (~> 1.11.1) + jekyll-commonmark (1.3.1) + commonmarker (~> 0.14) + jekyll (>= 3.7, < 5.0) + jekyll-commonmark-ghpages (0.1.5) + commonmarker (~> 0.17.6) + jekyll-commonmark (~> 1) + rouge (~> 2) jekyll-default-layout (0.1.4) jekyll (~> 3.0) - jekyll-feed (0.8.0) + jekyll-feed (0.11.0) jekyll (~> 3.3) - jekyll-gist (1.4.0) + jekyll-gist (1.5.0) octokit (~> 4.2) - jekyll-github-metadata (2.2.0) - jekyll (~> 3.1) + jekyll-github-metadata (2.12.1) + jekyll (~> 3.4) octokit (~> 4.0, != 4.4.0) - jekyll-mentions (1.2.0) - activesupport (~> 4.0) + jekyll-mentions (1.4.1) html-pipeline (~> 2.3) jekyll (~> 3.0) - jekyll-optional-front-matter (0.1.2) + jekyll-optional-front-matter (0.3.0) jekyll (~> 3.0) jekyll-paginate (1.1.0) - jekyll-readme-index (0.0.2) + jekyll-readme-index (0.2.0) jekyll (~> 3.0) - jekyll-redirect-from (0.11.0) - jekyll (>= 2.0) - jekyll-relative-links (0.2.1) + jekyll-redirect-from (0.14.0) jekyll (~> 3.3) - jekyll-sass-converter (1.3.0) - sass (~> 3.2) - jekyll-seo-tag (2.1.0) + jekyll-relative-links (0.6.0) jekyll (~> 3.3) - jekyll-sitemap (0.12.0) + jekyll-remote-theme (0.3.1) + jekyll (~> 3.5) + rubyzip (>= 1.2.1, < 3.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-seo-tag (2.5.0) jekyll (~> 3.3) - jekyll-swiss (0.4.0) - jekyll-theme-primer (0.1.1) + jekyll-sitemap (1.2.0) jekyll (~> 3.3) - jekyll-titles-from-headings (0.1.2) + jekyll-swiss (0.4.0) + jekyll-theme-architect (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-cayman (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-dinky (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-hacker (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-leap-day (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-merlot (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-midnight (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-minimal (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-modernist (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-primer (0.5.3) + jekyll (~> 3.5) + jekyll-github-metadata (~> 2.9) + jekyll-seo-tag (~> 2.0) + jekyll-theme-slate (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-tactile (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-time-machine (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-titles-from-headings (0.5.1) jekyll (~> 3.3) - jekyll-watch (1.5.0) - listen (~> 3.0, < 3.1) - jemoji (0.7.0) - activesupport (~> 4.0) - gemoji (~> 2.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + jemoji (0.10.2) + gemoji (~> 3.0) html-pipeline (~> 2.2) - jekyll (>= 3.0) - json (1.8.3) - kramdown (1.11.1) - liquid (3.0.6) - listen (3.0.6) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9.7) + jekyll (~> 3.0) + kramdown (1.17.0) + liquid (4.0.0) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) mercenary (0.3.6) - mini_portile2 (2.1.0) - minima (2.0.0) - minitest (5.10.1) - multipart-post (2.0.0) - net-dns (0.8.0) - nokogiri (1.6.8.1) - mini_portile2 (~> 2.1.0) - octokit (4.6.2) + mini_portile2 (2.4.0) + minima (2.5.0) + jekyll (~> 3.5) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + minitest (5.11.3) + multipart-post (2.1.1) + nokogiri (1.10.3) + mini_portile2 (~> 2.4.0) + octokit (4.14.0) sawyer (~> 0.8.0, >= 0.5.3) - pathutil (0.14.0) + pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (2.0.4) - rb-fsevent (0.9.8) - rb-inotify (0.9.7) - ffi (>= 0.5.0) - rouge (1.11.1) - safe_yaml (1.0.4) - sass (3.4.22) - sawyer (0.8.1) - addressable (>= 2.3.5, < 2.6) - faraday (~> 0.8, < 1.0) - terminal-table (1.7.3) - unicode-display_width (~> 1.1.1) - thread_safe (0.3.5) - typhoeus (0.8.0) - ethon (>= 0.8.0) - tzinfo (1.2.2) + public_suffix (3.0.3) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + rouge (2.2.1) + ruby-enum (0.7.2) + i18n + ruby_dep (1.5.0) + rubyzip (1.2.2) + safe_yaml (1.0.5) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.8.2) + addressable (>= 2.3.5) + faraday (> 0.8, < 2.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thread_safe (0.3.6) + typhoeus (1.3.1) + ethon (>= 0.9.0) + tzinfo (1.2.5) thread_safe (~> 0.1) - unicode-display_width (1.1.2) + unicode-display_width (1.6.0) PLATFORMS ruby DEPENDENCIES - github-pages (= 108) + github-pages (= 198) jemoji - json BUNDLED WITH - 1.13.6 + 1.17.2 diff --git a/_config.yml b/_config.yml index 26c2d07..bdd25fd 100644 --- a/_config.yml +++ b/_config.yml @@ -29,5 +29,9 @@ markdown: kramdown kramdown: input: GFM +sass: + sass_dir: _scss + style: compressed + gems: - jemoji diff --git a/_scss/buttons.scss b/_scss/buttons.scss new file mode 100644 index 0000000..e695eeb --- /dev/null +++ b/_scss/buttons.scss @@ -0,0 +1,31 @@ +/* -- Button styles -- */ +.button { + height: 30px; + max-width: 300px; + box-shadow: 0 2px 4px 0 rgba(0,0,0,.25); + margin-left: auto; + margin-right: auto; + margin-bottom: 20px; + padding: 10px; + display: block; +} +a.button { + color: $color_4; + text-decoration: none; + font-weight: 500; + text-transform: uppercase; + background-color: $background_color_3; + text-align: center; +} +button.orange { + background-color: $pebble-color; +} +.button.orange { + background-color: $pebble-color; +} +button.gray { + background-color: $background_color_5; +} +.button.gray { + background-color: $background_color_5; +} \ No newline at end of file diff --git a/_scss/error.scss b/_scss/error.scss new file mode 100644 index 0000000..79917c9 --- /dev/null +++ b/_scss/error.scss @@ -0,0 +1,7 @@ +/* --- Error page styles --- */ +.pet-rock-pebble { + margin-left: auto; + margin-right: auto; + display: block; + max-width: 98%; +} \ No newline at end of file diff --git a/_scss/fonts.scss b/_scss/fonts.scss new file mode 100644 index 0000000..64b0f97 --- /dev/null +++ b/_scss/fonts.scss @@ -0,0 +1,37 @@ +@font-face { + font-family: Lato; + font-weight: normal; + src: url(../fonts/lato/Lato-Regular.ttf) +} + +@font-face { + font-family: Lato; + font-weight: normal; + font-style: italic; + src: url(../fonts/lato/Lato-Italic.ttf) +} + +@font-face { + font-family: Lato; + font-weight: bold; + src: url(../fonts/lato/Lato-Bold.ttf) +} + +@font-face { + font-family: Lato; + font-weight: bold; + font-style: italic; + src: url(../fonts/lato/Lato-BoldItalic.ttf) +} + +@font-face { + font-family: SourceCodePro; + font-weight: normal; + src: url(../fonts/source-code-pro/SourceCodePro-Regular.ttf) +} + +@font-face { + font-family: SourceCodePro; + font-weight: bold; + src: url(../fonts/source-code-pro/SourceCodePro-Bold.ttf) +} \ No newline at end of file diff --git a/_scss/footer.scss b/_scss/footer.scss new file mode 100644 index 0000000..6893bb9 --- /dev/null +++ b/_scss/footer.scss @@ -0,0 +1,14 @@ +/* --- Common footer styles --- */ +footer { + background-color: $background-color; + display: flex; + flex-flow: column; + padding-left: 15px; + padding-right: 15px; + padding-bottom: 2rem; + margin: -1rem 0 0; + align-items: center; + text-align: center; + justify-content: center; + position: relative; +} \ No newline at end of file diff --git a/_scss/header.scss b/_scss/header.scss new file mode 100644 index 0000000..c5ed2a2 --- /dev/null +++ b/_scss/header.scss @@ -0,0 +1,57 @@ +/* --- Common header styles --- */ +header { + background-color: $header-color; + padding: 3rem 2em 15em; + margin-bottom: calc(-17em + 3rem); + text-align: center; + font-size: 1em; + .sitename { + font-size: 3em; + vertical-align: middle; + margin: 0 0.1em; + text-transform: lowercase; + color: $header-title-color; + } + .separator { + font-size: 3em; + vertical-align: middle; + margin: 0 0.1em; + text-transform: lowercase; + color: $color_3; + } + .pagename { + font-size: 3em; + vertical-align: middle; + margin: 0 0.1em; + text-transform: lowercase; + color: $header-title-color; + } + .headertext { + display: inline-block; + width: 36rem; + max-width: calc(100vw - 15rem); + margin: 0 1rem; + } + a { + color: $color_2; + text-decoration: none; + } +} + +@media (max-width: 900px) { + header { + text-align: left; + .headertext { + width: auto; + max-width: none; + } + .rebble-logo-spacer { + display: none; + } + } +} +@media (max-width: 700px) { + header { + font-size: 2.6vw; + } +} \ No newline at end of file diff --git a/_scss/home.scss b/_scss/home.scss new file mode 100644 index 0000000..31c97ef --- /dev/null +++ b/_scss/home.scss @@ -0,0 +1,38 @@ +/* --- Home page styles -- */ +.home-container { + >.intro { + position: relative; + >.bg { + background-color: $header-color; + height: calc(100% - 60px); + max-height: calc(100% - 60px); + z-index: 0; + width: 100vw; + top: 0; + left: 0; + position: absolute; + } + >.content { + z-index: 10; + position: relative; + display: block; + margin: 0 auto 2rem; + padding: 15px; + max-width: 46rem; + width: 80vw; + box-sizing: border-box; + user-select: text; + -moz-user-select: text; + -webkit-user-select: text; + } + } + .title { + color: $color_8; + } + .summary { + color: $color_9; + } + .button { + margin-left: 0; + } +} \ No newline at end of file diff --git a/_scss/logo.scss b/_scss/logo.scss new file mode 100644 index 0000000..93e3c45 --- /dev/null +++ b/_scss/logo.scss @@ -0,0 +1,37 @@ +/* --- Logo styles --- */ + +.rebble-logo-light { + display: inline-block; + width: 0.7em; + height: 1em; + vertical-align: middle; + background: url('../images/rebble-light.svg'); + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} +.rebble-logo-dark { + display: inline-block; + width: 0.7em; + height: 1em; + vertical-align: middle; + background: url('../images/rebble-dark.svg'); + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} +.rebble-logo-spacer { + display: inline-block; + width: 0.7em; + height: 1em; + vertical-align: middle; +} +.rebble-logo-dark.large-icon { + font-size: 6em; +} +.rebble-logo-light.large-icon { + font-size: 6em; +} +.rebble-logo-spacer.large-icon { + font-size: 6em; +} \ No newline at end of file diff --git a/_scss/mailing-list.scss b/_scss/mailing-list.scss new file mode 100644 index 0000000..945abf5 --- /dev/null +++ b/_scss/mailing-list.scss @@ -0,0 +1,30 @@ +/* --- Mailing list registration --- */ +div.email-signup { + text-align: center; + margin: 1rem 0 .5rem; + input[type="email"] { + margin: 0; + padding: 0.6rem; + line-height: normal; + font-size: 0.8em; + border-radius: 0; + border: 1px solid #777; + border-right: none; + border-top-left-radius: 0.2em; + border-bottom-left-radius: 0.2em; + } + input[type="submit"] { + margin: 0; + padding: 0.6rem; + line-height: normal; + font-size: 0.8em; + border-radius: 0; + background: #D40; + cursor: pointer; + color: $color_4; + border: 1px solid #910; + border-top-right-radius: 0.2em; + border-bottom-right-radius: 0.2em; + -webkit-appearance: none; + } +} \ No newline at end of file diff --git a/_scss/navbar.scss b/_scss/navbar.scss new file mode 100644 index 0000000..a12441e --- /dev/null +++ b/_scss/navbar.scss @@ -0,0 +1,27 @@ +/* --- Navbar (aka Index) --- */ +#index { + list-style: none; + display: block; + text-align: center; + margin: 0 auto 2rem; + padding: 0; + max-width: 36rem; + li { + display: inline-block; + text-transform: uppercase; + a { + text-decoration: none; + padding: .75em .75em; + color: $color_1; + } + a.selected { + text-shadow: 0 0 1px black; + border-bottom: 3px solid #FFF; + } + } +} +@media (max-width: 700px) { + #index { + font-size: 0.8em; + } +} \ No newline at end of file diff --git a/_scss/section.scss b/_scss/section.scss new file mode 100644 index 0000000..54b5342 --- /dev/null +++ b/_scss/section.scss @@ -0,0 +1,175 @@ +/* --- Section styles --- */ +section { + display: block; + margin: 0 auto 2rem; + padding: 15px; + max-width: 46rem; + width: 100vw; + box-sizing: border-box; + background: $section-background-color; + box-shadow: $section-box-shadow; + overflow: hidden; + user-select: text; + -moz-user-select: text; + -webkit-user-select: text; + >ul.people { + list-style: none; + padding-left: 0; + li { + div.person { + display: flex; + align-items: center; + margin: 0 -1.5rem; + img { + border-radius: 50%; + height: 6em; + width: 6em; + flex-shrink: 0; + flex-grow: 0; + margin: 0 1.5em; + box-shadow: 0 0 1rem -.6rem black; + } + } + &:nth-child(2n) { + div.person { + flex-direction: row-reverse; + } + p { + text-align: right; + margin-left: 2rem; + } + .bio { + &:before { + right: 6rem; + left: auto; + } + } + } + &:nth-child(2n+1) { + p { + margin-right: 2rem; + } + } + &+li { + padding-top: .5rem; + } + .bio { + margin: 2rem -3rem 1.5rem; + padding: 1.5rem 3rem; + box-sizing: border-box; + background: #444; + position: relative; + color: $color_4; + opacity: 1; + transition: margin .2s ease, padding .2s ease, opacity .2s ease; + article { + overflow: hidden; + max-height: 50rem; + transition: max-height .2s ease; + } + &:before { + position: absolute; + top: -.5rem; + left: 6rem; + content: ""; + border-bottom: .5rem solid #444; + border-left: .5rem solid transparent; + border-right: .5rem solid transparent; + transition: opacity .2s ease; + } + a { + color: $color_6; + text-decoration: underline; + } + } + .expando-toggle { + font-size: 80%; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + display: block; + cursor: pointer; + } + } + li.collapsed { + .bio { + margin: 0 -3rem; + padding: 0 3rem; + max-height: 0; + opacity: 0; + article { + max-height: 0; + } + } + } + } +} +.post { + display: block; + margin: 0 auto 2rem; + padding: 15px; + max-width: 46rem; + width: 100vw; + box-sizing: border-box; + background: $section-background-color; + box-shadow: $section-box-shadow; + overflow: hidden; + user-select: text; + -moz-user-select: text; + -webkit-user-select: text; + h2 { + text-align: center; + } +} +.text-content { + >h2 { + a { + color: $color_5; + text-decoration: none; + text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff; + background-image: linear-gradient(to bottom, #888, #888); + background-size: auto 2px; + background-repeat: repeat-x; + background-position: center 95%; + } + } + >.metadata { + color: $color_3; + text-align: right; + margin: 0; + } + ul { + padding-left: 2em; + ul { + padding-left: 1em; + } + } + ol { + padding-left: 2em; + ol { + padding-left: 1em; + } + } + code { + font-family: $code-font; + background: #DDD; + padding: 0.1em 0.4em; + border-radius: 0.2em; + } +} +a { + color: $color_5; + text-decoration: underline; +} +hr { + border: 1px solid #dbdadb; +} + +@media (min-width: 700px) { + section { + padding: 2rem 3rem; + } + .post { + padding: 2rem 3rem; + } +} diff --git a/_scss/text.scss b/_scss/text.scss new file mode 100644 index 0000000..b3f54ca --- /dev/null +++ b/_scss/text.scss @@ -0,0 +1,48 @@ +/* --- General text styles --- */ +body { + margin: 0; + background-color: $background-color; + font-family: $main-font; + font-size: 18px; + line-height: 1.6em; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; +} +h1 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + color: $heading-color; +} +h2 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + font-size: 2em; + color: $heading-color; +} +h3 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + color: $heading-color; +} +h4 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + color: $heading-color; +} +h5 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + color: $heading-color; +} +h6 { + margin-top: 0; + line-height: 1.8em; + margin-bottom: .4em; + color: $heading-color; +} \ No newline at end of file diff --git a/_scss/variables.scss b/_scss/variables.scss new file mode 100644 index 0000000..a323b7b --- /dev/null +++ b/_scss/variables.scss @@ -0,0 +1,29 @@ +/* --- Rebble site style variables --- */ + +/* -- Colors -- */ +$pebble-color: #ff4700; +$header-color: #373a3c; +$background-color: #F4F3F4; +$section-background-color: #fff; + +$background_color_3: #383a3c; +$background_color_5: #666666; + +$header-title-color: #FFF; + +$color_1: #FFF; +$color_2: inherit; +$color_3: #888; +$color_4: white; +$color_5: #444; +$color_6: #DDD; +$heading-color: #222; +$color_8: #fff; +$color_9: rgb(223, 223, 223); + +/* --- Fonts --- */ +$main-font: Lato, Helvetica, Helvetica Neue, Arial, sans-serif; +$code-font: SourceCodePro, sans-serif; + +/* --- Effects --- */ +$section-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); \ No newline at end of file diff --git a/css/common.css b/css/common.css deleted file mode 100644 index 260216e..0000000 --- a/css/common.css +++ /dev/null @@ -1,409 +0,0 @@ -@font-face { - font-family: Lato; - font-weight: normal; - src: url(../fonts/lato/Lato-Regular.ttf) -} - -@font-face { - font-family: Lato; - font-weight: normal; - font-style: italic; - src: url(../fonts/lato/Lato-Italic.ttf) -} - -@font-face { - font-family: Lato; - font-weight: bold; - src: url(../fonts/lato/Lato-Bold.ttf) -} - -@font-face { - font-family: Lato; - font-weight: bold; - font-style: italic; - src: url(../fonts/lato/Lato-BoldItalic.ttf) -} - -@font-face { - font-family: SourceCodePro; - font-weight: normal; - src: url(../fonts/source-code-pro/SourceCodePro-Regular.ttf) -} - -@font-face { - font-family: SourceCodePro; - font-weight: bold; - src: url(../fonts/source-code-pro/SourceCodePro-Bold.ttf) -} - -body { - margin: 0; - background-color: #F4F3F4; - font-family: Lato, Helvetica, Helvetica Neue, Arial, sans-serif; - font-size: 18px; - line-height: 1.6em; - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; -} - -h1, h2, h3, h4, h5, h6 { - margin-top: 0; - line-height: 1.8em; - margin-bottom: .4em; -} - -/* --- Common Header Styles --- */ - -header { - background-color: #373a3c; - padding: 3rem 2em 15em; - margin-bottom: calc(-17em + 3rem); - text-align: center; - font-size: 1em; -} - -header .sitename, header .separator, header .pagename { - font-size: 3em; - vertical-align: middle; - margin: 0 0.1em; - text-transform: lowercase; -} - -header .headertext { - display: inline-block; - width: 36rem; - max-width: calc(100vw - 15rem); - margin: 0 1rem; -} - -@media (max-width: 900px) { - header { - text-align: left; - } - header .headertext { - width: auto; - max-width: none; - } - header .rebble-logo-spacer { - display: none; - } -} - -@media (max-width: 700px) { - header { - font-size: 2.6vw; - } -} - -header .sitename, header .pagename { - color: #FFF; -} - -header a { - color: inherit; - text-decoration: none; -} - -header .separator { - color: #888; -} - -/* --- Common Footer Styles --- */ - -footer { - background-color: #F4F3F4; - display: flex; - flex-flow: column; - padding-left: 15px; - padding-right: 15px; - padding-bottom: 2rem; - margin: -1rem 0 0; - align-items: center; - text-align: center; - justify-content: center; - position: relative; -} - -/* --- Mailing list registration --- */ - -div.email-signup { - text-align: center; - margin: 1rem 0 .5rem; -} - -div.email-signup input[type="email"], -div.email-signup input[type="submit"] { - margin: 0; - padding: 0.6rem; - line-height: normal; - font-size: 0.8em; - border-radius: 0; -} - -div.email-signup input[type="email"] { - border: 1px solid #777; - border-right: none; - border-top-left-radius: 0.2em; - border-bottom-left-radius: 0.2em; -} - -div.email-signup input[type="submit"] { - background: #D40; - cursor: pointer; - color: white; - border: 1px solid #910; - border-top-right-radius: 0.2em; - border-bottom-right-radius: 0.2em; - -webkit-appearance: none; -} - -/* --- Index --- */ - -#index { - list-style: none; - display: block; - text-align: center; - margin: 0 auto 2rem; - padding: 0; - max-width: 36rem; -} - -@media (max-width: 700px) { - #index { - font-size: 0.8em; - } -} - -#index li { - display: inline-block; - text-transform: uppercase; -} - -#index li a { - text-decoration: none; - padding: .75em .75em; - color: #FFF; -} - -#index li a.selected { - text-shadow: 0 0 1px black; - border-bottom: 3px solid #FFF; -} - -/* --- Logo --- */ - -.rebble-logo-light, .rebble-logo-dark, .rebble-logo-spacer { - display: inline-block; - width: 0.7em; - height: 1em; - vertical-align: middle; -} - -.rebble-logo-light { - background: url('../images/rebble-light.svg'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} - -.rebble-logo-dark { - background: url('../images/rebble-dark.svg'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} - -.rebble-logo-dark.large-icon, -.rebble-logo-light.large-icon, -.rebble-logo-spacer.large-icon { - font-size: 6em; -} - -/* --- Ultratron --- */ - -#ultratron { - height: 24rem; -} - -/* --- Section styles --- */ - -section, .post { - display: block; - margin: 0 auto 2rem; - padding: 15px; - max-width: 46rem; - width: 100vw; - box-sizing: border-box; - background: #fff; - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - overflow: hidden; - user-select: text; - -moz-user-select: text; - -webkit-user-select: text; -} - -@media (min-width: 700px) { - section, .post { - padding: 2rem 3rem; - } -} - -h2 { - font-size: 2em; -} - -.post h2 { - text-align: center; -} - -.text-content > h2 a { - color: #444; - text-decoration: none; - text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff; - background-image: linear-gradient(to bottom, #888, #888); - background-size: auto 2px; - background-repeat: repeat-x; - background-position: center 95%; -} - -.text-content > .metadata { - color: #888; - text-align: right; - margin: 0; -} - -.text-content ul, .text-content ol { - padding-left: 2em; -} - -.text-content ol ol, -.text-content ul ul { - padding-left: 1em; -} - -a { - color: #444; - text-decoration: underline; -} - -.text-content code { - font-family: SourceCodePro, sans-serif; - background: #DDD; - padding: 0.1em 0.4em; - border-radius: 0.2em; -} - -section > ul.people { - list-style: none; - padding-left: 0; -} - -section > ul.people li div.person { - display: flex; - align-items: center; - margin: 0 -1.5rem; -} - -section > ul.people li:nth-child(2n) div.person { - flex-direction: row-reverse; -} - -section > ul.people li:nth-child(2n) p { - text-align: right; - margin-left: 2rem; -} - -section > ul.people li:nth-child(2n+1) p { - margin-right: 2rem; -} - -section > ul.people li + li { - padding-top: .5rem; -} - -section > ul.people li div.person img { - border-radius: 50%; - height: 6em; - width: 6em; - flex-shrink: 0; - flex-grow: 0; - margin: 0 1.5em; - box-shadow: 0 0 1rem -.6rem black; -} - -section > ul.people li .bio { - margin: 2rem -3rem 1.5rem; - padding: 1.5rem 3rem; - box-sizing: border-box; - background: #444; - position: relative; - color: white; - opacity: 1; - transition: margin .2s ease, padding .2s ease, opacity .2s ease; -} - -section > ul.people li.collapsed .bio { - margin: 0 -3rem; - padding: 0 3rem; - max-height: 0; - opacity: 0; -} - -section > ul.people li .bio article { - overflow: hidden; - max-height: 50rem; - transition: max-height .2s ease; -} - -section > ul.people li.collapsed .bio article { - max-height: 0; -} - -section > ul.people li .bio:before { - position: absolute; - top: -.5rem; - left: 6rem; - content: ""; - border-bottom: .5rem solid #444; - border-left: .5rem solid transparent; - border-right: .5rem solid transparent; - transition: opacity .2s ease; -} - -section > ul.people li:nth-child(2n) .bio:before { - right: 6rem; - left: auto; -} - -section > ul.people li .bio a { - color: #DDD; - text-decoration: underline; -} - -section > ul.people li .expando-toggle { - font-size: 80%; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - display: block; - cursor: pointer; -} - -/* --- General text styles --- */ - -h1, h2, h3, h4, h5, h6 { - color: #222; -} - -hr { - border: 1px solid #dbdadb; -} - -/* --- Error page styles --- */ -.pet-rock-pebble { - margin-left: auto; - margin-right: auto; - display: block; - max-width: 98%; -} \ No newline at end of file diff --git a/css/common.scss b/css/common.scss new file mode 100644 index 0000000..c15424b --- /dev/null +++ b/css/common.scss @@ -0,0 +1,15 @@ +--- +# Rebble site styles +--- + +@import 'variables'; +@import 'fonts'; +@import 'text'; +@import 'header'; +@import 'navbar'; +@import 'footer'; +@import 'section'; +@import 'mailing-list'; +@import 'buttons'; +@import 'home'; +@import 'error'; From eb602c541cc0d165747d1dee9d6c1921bcc2e368 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Wed, 22 May 2019 22:10:43 -0600 Subject: [PATCH 08/30] Add base home page --- index.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 899d752..cc13b34 100755 --- a/index.html +++ b/index.html @@ -5,16 +5,31 @@ permalink: / --- +
+
+
+

Bring life back to your Pebble

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse vehicula, purus vitae vulputate varius, ipsum orci maximus erat, nec tempor massa purus id purus. Nullam ligula augue, ultricies id sollicitudin quis, dictum sit amet leo.

+ Join Rebble +
+
+ +
+
+ +
- {% for post in site.posts limit:5 %} + {% for post in site.posts limit:3 %}

{{ post.title }}

{{ post.excerpt }}
+ Read More
{% endfor %} + Read Blog
{% if site.posts == 0 %}
From e708d9a508657be0016a57d94ca43e6570015394 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Wed, 22 May 2019 22:10:59 -0600 Subject: [PATCH 09/30] Add excerpt to latest posts --- _posts/2018-01-22-rebble-community-update-4.md | 2 +- _posts/2018-02-15-rebble-web-services.md | 2 +- _posts/2018-06-13-get-ready-to-rebble.md | 2 +- _posts/2018-07-01-rebble-era.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_posts/2018-01-22-rebble-community-update-4.md b/_posts/2018-01-22-rebble-community-update-4.md index 2ab70ed..47fa838 100644 --- a/_posts/2018-01-22-rebble-community-update-4.md +++ b/_posts/2018-01-22-rebble-community-update-4.md @@ -6,7 +6,7 @@ date: 2018-01-22 11:42:42 --- Welcome to the first *Rebble Community Update* of 2018! :heart: :rocket: One of [my](https://twitter.com/IShJR) most important roles in the Rebble project is *Lead Emoji Sprinkler*, which requires fastidious monitoring of the [Rebble Discord](http://discord.gg/aRUAYFN) to ensure that all comments indicating progress or good will are met with a swift :rocket: or :heart: respectively - and lately the emoji have been flowing liberally as the firmware team's progress continues to :rocket: thanks to the prodigious output of new and old [contributors](https://github.com/ginge/FreeRTOS-Pebble/graphs/contributors) alike. Daren't delay divulging details of the downright deluge of development deeds! As always, if you'd like to add something, [send us a tweet](https://twitter.com/pebble_dev), or better still, [submit a pull request](https://github.com/pebble-dev/pebble-dev.github.io/pulls)! :bowtie: - + about: > TODO diff --git a/_posts/2018-01-22-rebble-community-update-4.md b/_posts/2018-01-22-rebble-community-update-4.md index 47fa838..6622759 100644 --- a/_posts/2018-01-22-rebble-community-update-4.md +++ b/_posts/2018-01-22-rebble-community-update-4.md @@ -6,7 +6,7 @@ date: 2018-01-22 11:42:42 --- Welcome to the first *Rebble Community Update* of 2018! :heart: :rocket: One of [my](https://twitter.com/IShJR) most important roles in the Rebble project is *Lead Emoji Sprinkler*, which requires fastidious monitoring of the [Rebble Discord](http://discord.gg/aRUAYFN) to ensure that all comments indicating progress or good will are met with a swift :rocket: or :heart: respectively - and lately the emoji have been flowing liberally as the firmware team's progress continues to :rocket: thanks to the prodigious output of new and old [contributors](https://github.com/ginge/FreeRTOS-Pebble/graphs/contributors) alike. Daren't delay divulging details of the downright deluge of development deeds! As always, if you'd like to add something, [send us a tweet](https://twitter.com/pebble_dev), or better still, [submit a pull request](https://github.com/pebble-dev/pebble-dev.github.io/pulls)! :bowtie: - ## Firmware ### Contributing diff --git a/_posts/2018-02-15-rebble-web-services.md b/_posts/2018-02-15-rebble-web-services.md index ec5ce26..1ae8685 100644 --- a/_posts/2018-02-15-rebble-web-services.md +++ b/_posts/2018-02-15-rebble-web-services.md @@ -9,7 +9,7 @@ Hey there! [Katharine Berry](https://twitter.com/KatharineBerry) here. As you ma by now, Fitbit will be shutting down all Pebble services at the end of June of this year. After that, if nothing were to be done, then no services that require a Pebble server would work any more — which includes the appstore, weather, dictation, some parts of timeline, iOS SMS/email actions, the CloudPebble IDE, and more. - The observant among you might also notice that none of these things have been mentioned in a community update in over a year. Fortunately, we have the makings of a plan: the Rebble Web Services. In this post, we have a few things to cover. First, I'll talk about what we diff --git a/_posts/2018-06-13-get-ready-to-rebble.md b/_posts/2018-06-13-get-ready-to-rebble.md index 7a550cb..6ff8f9c 100644 --- a/_posts/2018-06-13-get-ready-to-rebble.md +++ b/_posts/2018-06-13-get-ready-to-rebble.md @@ -12,7 +12,7 @@ We've all been very busy, so we haven't had much time to blog lately. However, we're still on the case, and before we go any further, we have something important for you to do! - ## Rebble Accounts The Rebble account system is up and running, and now is the time for you to diff --git a/_posts/2018-07-01-rebble-era.md b/_posts/2018-07-01-rebble-era.md index 8f19d57..bacce8d 100644 --- a/_posts/2018-07-01-rebble-era.md +++ b/_posts/2018-07-01-rebble-era.md @@ -6,7 +6,7 @@ date: 2018-07-01 14:14:14 --- It's a new day. It's a new month (:ok_hand: :punch:). But most importantly, it's a new era! :rocket: It was over a year and half ago that [Rebble first put its stake in the ground](https://rebble.io/2016/12/09/rebble-pebble-reborn.html) as the unofficial spearhead organization for continuing the advancement of the Pebble platform in the absence of *Pebble Technology Corp.* Re-reading that first blog post, a lot of the same feelings of fear, anxiety, resilience, and hope have been expressed in recent days as we make another transition - this time from *Pebble* web services to **Rebble Web Services**! What does that mean? Why is it necessary? When is it happening?! What do I need to do to participate??! Read on, and all will be explained! :bowtie: - ## Why RWS? [Katharine](https://twitter.com/KatharineBerry) gave an [extensive overview of affected services and their impact in an earlier blog post](https://rebble.io/2018/02/15/rebble-web-services.html), so please peruse her detailed enumeration for complete insight, but the TL;DR is that Pebble's current functionality relies on a fairly extensive collection of online services, all of which were slated to be disabled after June 30th. The particularly astute reader may observe that June 30th, 2018 is quite a bit more recent than the December 7th, 2016 announcement that Pebble had ceased operations - this is primarily due to the largesse of Fitbit, who were kind enough to [extend services an extra six months](https://dev.fitbit.com/blog/2018-01-24-pebble-support/) beyond the already generous year given to help Pebble users transition. We try to mention this regularly, but we are immensely grateful to Fitbit for helping support the Pebble ecosystem at their own expense for all of this time. :blue_heart: Even with this gracious extension, it was still a race against the clock to provide a drop-in replacement for the existing services, for which we had no source code and little flexibility in order to maintain compatibility with existing apps and hardware. From 27db3bb80bd51fffa69f56c9072a133bdbbc7806 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 06:29:53 -0600 Subject: [PATCH 18/30] Update _data/home.yml Co-Authored-By: Ish Ot Jr. --- _data/home.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/home.yml b/_data/home.yml index ea4d984..9306bda 100644 --- a/_data/home.yml +++ b/_data/home.yml @@ -1,2 +1,2 @@ heading: Bring life back to your Pebble -about: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse vehicula, purus vitae vulputate varius, ipsum orci maximus erat, nec tempor massa purus id purus. Nullam ligula augue, ultricies id sollicitudin quis, dictum sit amet leo. \ No newline at end of file +about: On December 7th, 2016, Pebble announced that they were ceasing operations. Two days later, on December 9th, 2016, the Rebble web site went live, announcing our intention to "maintain and advance Pebble functionality, in the absence of Pebble Technology Corp." We have fulfilled much of this goal via Rebble Web Services, which restores most of the functionality that the Pebble community knows and loves. Read about our journey in the blog, find detailed instructions in our HOWTO, or simply... From 7055f82056665c8c308815f776d2d7703c6f576a Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 06:30:05 -0600 Subject: [PATCH 19/30] Update index.html Co-Authored-By: Ish Ot Jr. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index e53ae69..9064fb1 100755 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

{{ post.title }}

Read More {% endfor %} - Read Blog + View more blog posts {% if site.posts == 0 %}
From c9260779aca34a44c9f9dca5d4410f96cabd201c Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 06:37:35 -0600 Subject: [PATCH 20/30] Fix color of elements in new home page --- _scss/home.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_scss/home.scss b/_scss/home.scss index 4608d8a..eb61bbe 100644 --- a/_scss/home.scss +++ b/_scss/home.scss @@ -31,6 +31,9 @@ } .summary { color: $light-secondary-text-color; + a { + color: $light-link-color; + } } .button { margin-left: 0; From d7fc01f0316d8678c8628c1e80c0d3754cd938b1 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 10:14:04 -0600 Subject: [PATCH 21/30] Version css files --- _includes/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index ef42d19..9ec4834 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,8 +5,8 @@ - - + + From 499e9c822b24f817c95d42981e97baac2e40fcb5 Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 10:14:21 -0600 Subject: [PATCH 22/30] Add permalink to blog --- blog/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog/index.html b/blog/index.html index 31c9de4..3b27dcd 100644 --- a/blog/index.html +++ b/blog/index.html @@ -1,6 +1,8 @@ --- layout: default title: "Blog" + +permalink: /blog/ --- + {% endfor %} From 76dacecb4d1f9b9dca056d945aceacd1ce6c2cdf Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 10:32:12 -0600 Subject: [PATCH 23/30] Missing logo import --- css/common.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/css/common.scss b/css/common.scss index 91064ae..9b5498d 100644 --- a/css/common.scss +++ b/css/common.scss @@ -6,6 +6,7 @@ @import 'fonts'; @import 'text'; @import 'header'; +@import 'logo'; @import 'navbar'; @import 'footer'; @import 'section'; From dbe56a4dfbc6d4fdad7a0e068452d5e2c5e033fc Mon Sep 17 00:00:00 2001 From: Stefano Gerli Date: Fri, 31 May 2019 11:05:45 -0600 Subject: [PATCH 24/30] Fix pagination and partially fix selected page --- _includes/siteindex.html | 2 +- blog/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/siteindex.html b/_includes/siteindex.html index 2054528..e2bbd8f 100644 --- a/_includes/siteindex.html +++ b/_includes/siteindex.html @@ -1,7 +1,7 @@