From 1c6f4de003a8926dabc47b081e3b2e83277115cf Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 29 Feb 2020 19:36:37 +1000 Subject: [PATCH] basic structure --- .gitignore | 3 ++ Gemfile | 8 ++++++ Gemfile.lock | 65 +++++++++++++++++++++++++++++++++++++++++++ _layouts/default.html | 14 ++++++++++ index-sample.html | 4 +++ style.css | 48 ++++++++++++++++++++++++++++++++ 6 files changed, 142 insertions(+) create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 _layouts/default.html create mode 100644 index-sample.html create mode 100644 style.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0b0ccaf --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +index.html +_site/ +.jekyll-cache/ diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..3fc5b02 --- /dev/null +++ b/Gemfile @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } + +# gem "rails" +gem "jekyll" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..360c56d --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,65 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + colorator (1.1.0) + concurrent-ruby (1.1.6) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.12.2) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (1.8.2) + concurrent-ruby (~> 1.0) + jekyll (4.0.0) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (>= 0.9.5, < 2) + jekyll-sass-converter (~> 2.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (~> 3.0) + safe_yaml (~> 1.0) + terminal-table (~> 1.8) + jekyll-sass-converter (2.1.0) + sassc (> 2.0.1, < 3.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.1.0) + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.2.1) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.3.6) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (4.0.3) + rb-fsevent (0.10.3) + rb-inotify (0.10.1) + ffi (~> 1.0) + rouge (3.16.0) + safe_yaml (1.0.5) + sassc (2.2.1) + ffi (~> 1.9) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.6.1) + +PLATFORMS + ruby + +DEPENDENCIES + jekyll + +BUNDLED WITH + 2.1.4 diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..b298878 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,14 @@ + + + + + + {{ page.title }} + + + + +

{{ page.title }}

+ + + diff --git a/index-sample.html b/index-sample.html new file mode 100644 index 0000000..159f77f --- /dev/null +++ b/index-sample.html @@ -0,0 +1,4 @@ +--- +layout: default +title: New Tab +--- diff --git a/style.css b/style.css new file mode 100644 index 0000000..06fa063 --- /dev/null +++ b/style.css @@ -0,0 +1,48 @@ +body { + font-family: "Roboto", sans-serif; + display: flex; + flex-direction: column; + min-height: 100vh; + margin: 0; +} +body div { + flex-grow: 1; +} +html { + background: #fafafa; +} + +h1 { + font-family: "Open Sans", "Roboto", sans-serif; + text-align: center; + font-size:4em; + font-weight: 200; +} + +p, footer, ul { + width: 80%; + margin: 20px auto; + line-height: 1.3em; +} +p, ul { + font-size: 120%; +} +li { + margin-top: 3px; +} +ul { + list-style-type: "– "; +} + +a { + color: mediumpurple; + text-decoration: none; +} + +footer { + text-align: center; + color: grey; + font-style: italic; + margin: 20px auto; + box-sizing: content-box; +}