From 11c0357d56bd2fbbb4458a00366653725c237694 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Mon, 23 Aug 2021 21:43:08 -0400 Subject: [PATCH] Started working on the project structure and design of the site --- src/Gemfile | 1 - src/Gemfile.lock | 9 +++++ src/_config.yml | 62 +++++++---------------------- src/_layouts/default.html | 45 +++++++++++++++++++++ src/_layouts/home.html | 7 ++++ src/_layouts/page.html | 7 ++++ src/_layouts/post.html | 7 ++++ src/about.markdown | 1 - src/assets/scripts/rimmington.js | 6 +++ src/assets/stylesheets/falador.scss | 50 +++++++++++++++++++++++ src/index.markdown | 3 -- 11 files changed, 145 insertions(+), 53 deletions(-) create mode 100644 src/_layouts/default.html create mode 100644 src/_layouts/home.html create mode 100644 src/_layouts/page.html create mode 100644 src/_layouts/post.html create mode 100644 src/assets/scripts/rimmington.js create mode 100644 src/assets/stylesheets/falador.scss diff --git a/src/Gemfile b/src/Gemfile index 6d5ab76..5b0fc9c 100644 --- a/src/Gemfile +++ b/src/Gemfile @@ -27,4 +27,3 @@ end # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] - diff --git a/src/Gemfile.lock b/src/Gemfile.lock index d2f1754..7f9640b 100644 --- a/src/Gemfile.lock +++ b/src/Gemfile.lock @@ -3,12 +3,17 @@ GEM specs: addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.12.2) colorator (1.1.0) concurrent-ruby (1.1.9) em-websocket (0.5.2) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) + execjs (2.8.1) ffi (1.15.3) forwardable-extended (2.6.0) http_parser.rb (0.6.0) @@ -29,6 +34,9 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 2.0) + jekyll-coffeescript (2.0.0) + coffee-script (~> 2.2) + coffee-script-source (~> 1.12) jekyll-feed (0.15.1) jekyll (>= 3.7, < 5.0) jekyll-sass-converter (2.1.0) @@ -70,6 +78,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.2.0) + jekyll-coffeescript jekyll-feed (~> 0.12) minima (~> 2.5) tzinfo (~> 1.2) diff --git a/src/_config.yml b/src/_config.yml index 60e14aa..0b80430 100644 --- a/src/_config.yml +++ b/src/_config.yml @@ -1,55 +1,21 @@ # Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. -# -# If you need help with YAML syntax, here are some quick references for you: -# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml -# https://learnxinyminutes.com/docs/yaml/ -# -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com -description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll +title: Bit Goblin Community Minecraft Server +email: gballantine@bitgoblin.tech +description: >- + Server info for the Bit Goblin community Minecraft server +baseurl: "/" +url: "https://mc.bitgoblin.tech" +permalink: '/:year/:month/:day/:title:output_ext' +links: + bitgoblin: 'https://www.bitgoblin.tech' + youtube_channel: 'https://youtube.com/BitGoblin' + forum: 'https://forum.bitgoblin.tech' # Build settings -theme: minima plugins: - jekyll-feed -# Exclude from processing. -# The following items will not be processed, by default. -# Any item listed under the `exclude:` key here will be automatically added to -# the internal "default list". -# -# Excluded items can be processed by explicitly listing the directories or -# their entries' file path in the `include:` list. -# -# exclude: -# - .sass-cache/ -# - .jekyll-cache/ -# - gemfiles/ -# - Gemfile -# - Gemfile.lock -# - node_modules/ -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ +sass: + sass_dir: assets/styles + style: compressed diff --git a/src/_layouts/default.html b/src/_layouts/default.html new file mode 100644 index 0000000..b4d3f92 --- /dev/null +++ b/src/_layouts/default.html @@ -0,0 +1,45 @@ + + + + + + {{ page.title }} + + + + + + + + + + + +
+
+
+ +
+
+
+ + +
+ {{ content }} +
+ + diff --git a/src/_layouts/home.html b/src/_layouts/home.html new file mode 100644 index 0000000..8f41a4c --- /dev/null +++ b/src/_layouts/home.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +This is the home page. + +{{ content }} diff --git a/src/_layouts/page.html b/src/_layouts/page.html new file mode 100644 index 0000000..ae6d0ea --- /dev/null +++ b/src/_layouts/page.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +This is a page layout. + +{{ content }} diff --git a/src/_layouts/post.html b/src/_layouts/post.html new file mode 100644 index 0000000..3401ef2 --- /dev/null +++ b/src/_layouts/post.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +This is a post layout. + +{{ content }} diff --git a/src/about.markdown b/src/about.markdown index 8b4e0b2..e6e2bcd 100644 --- a/src/about.markdown +++ b/src/about.markdown @@ -1,7 +1,6 @@ --- layout: page title: About -permalink: /about/ --- This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) diff --git a/src/assets/scripts/rimmington.js b/src/assets/scripts/rimmington.js new file mode 100644 index 0000000..afdb87b --- /dev/null +++ b/src/assets/scripts/rimmington.js @@ -0,0 +1,6 @@ +--- +--- + +$(document).ready(function() { + console.log('Test.'); +}); diff --git a/src/assets/stylesheets/falador.scss b/src/assets/stylesheets/falador.scss new file mode 100644 index 0000000..e5a6580 --- /dev/null +++ b/src/assets/stylesheets/falador.scss @@ -0,0 +1,50 @@ +--- +--- + +body{ + padding-top: 100px; + background: #212121; + color: #eee; +} + +#main-navigation{ + position: fixed; + top: 0; + left: 0; + width: 100%; + background: #569045; + box-shadow: 3px 3px 2px rgba(0, 0, 0, .4); + + ul{ + display: inline-block; + list-style: none; + &.left-menu{ + left: 0; + } + &.right-menu{ + margin-left: auto; + margin-right: 0; + } + + li{ + display: inline-block; + } + a{ + color: #212121; + transition: color 300ms ease-in-out; + &:hover{ + color: lighten(#212121, 10%); + } + } + } +} + +#banner{ + position: relative; + z-index: 2; + height: 420px; + background-image: url(http://i.imgur.com/cxd3JtU.png); + background-size: auto; + background-position: center center; + overflow: hidden; +} diff --git a/src/index.markdown b/src/index.markdown index 0671507..e4d427d 100644 --- a/src/index.markdown +++ b/src/index.markdown @@ -1,6 +1,3 @@ --- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - layout: home ---