From 27d887872a0b89517b26dd149ea670501ccb41d6 Mon Sep 17 00:00:00 2001 From: Alee Date: Tue, 13 Nov 2018 19:26:55 -0500 Subject: silicon linux website template --- .gitignore | 5 ++ 404.html | 18 ++++++ _config.yml | 33 +++++++++++ _includes/footer.html | 3 + _includes/heading.html | 8 +++ _includes/navigator.html | 9 +++ _layouts/post.html | 19 ++++++ _posts/2018-11-13-new-website.md | 5 ++ blog.html | 25 ++++++++ index.html | 27 +++++---- scripts.js | 3 + style.css | 121 ++++++++++++++++++++++++++++++++++++++- 12 files changed, 265 insertions(+), 11 deletions(-) create mode 100644 .gitignore create mode 100644 _config.yml create mode 100644 _includes/footer.html create mode 100644 _includes/heading.html create mode 100644 _includes/navigator.html create mode 100644 _layouts/post.html create mode 100644 _posts/2018-11-13-new-website.md create mode 100644 blog.html create mode 100644 scripts.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fedb231 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +_site +.sass-cache +.jekyll-metadata +Gemfile +Gemfile.lock \ No newline at end of file diff --git a/404.html b/404.html index e69de29..92eb2a5 100644 --- a/404.html +++ b/404.html @@ -0,0 +1,18 @@ +--- +project: Andrew's Website +--- + + + {% include heading.html %} + 404 | Andrew's Website + + + {% include navigator.html %} +

404

+ +

Page not found :(

+

Uh Oh! The requested page could not be found.

+

You may need to go back to the homepage.

+ {% include footer.html %} + + diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..b7c0d4c --- /dev/null +++ b/_config.yml @@ -0,0 +1,33 @@ +# 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. + +# 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: Andrew's Website +email: alee14498@gmail.com +description: >- # this means to ignore newlines until "baseurl:" + My personal website +# baseurl: "" # the subpath of your site, e.g. /blog +url: "http://alee14.ml" # the base hostname & protocol for your site, e.g. http://example.com + +# Build settings +markdown: kramdown +plugins: + - jekyll-feed + +# Exclude from processing. +# The following items will not be processed, by default. Create a custom list +# to override the default setting. +# exclude: +# - Gemfile +# - Gemfile.lock diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..c50c255 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,3 @@ + diff --git a/_includes/heading.html b/_includes/heading.html new file mode 100644 index 0000000..08ac248 --- /dev/null +++ b/_includes/heading.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/_includes/navigator.html b/_includes/navigator.html new file mode 100644 index 0000000..d6fa974 --- /dev/null +++ b/_includes/navigator.html @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..c0c8602 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,19 @@ +--- +--- + + + + {% include heading.html %} + {{ page.title }} | Andrew's Website Blog + + + {% include navigator.html %} + +

{{ page.title }}

+

{{ page.date | date_to_string }} | By: {{ page.author }}

+ + {{ content }} + + {% include footer.html %} + + diff --git a/_posts/2018-11-13-new-website.md b/_posts/2018-11-13-new-website.md new file mode 100644 index 0000000..d491528 --- /dev/null +++ b/_posts/2018-11-13-new-website.md @@ -0,0 +1,5 @@ +--- +layouts: post +author: Alee +--- +Hey there! Welcome to my new website it is still working progress! \ No newline at end of file diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..15cb9f5 --- /dev/null +++ b/blog.html @@ -0,0 +1,25 @@ +--- +project: Andrew's Website +--- + + + + {% include heading.html %} + Andrew's Website Blog + + + {% include navigator.html %} +

Latest Posts

+ + + {% include footer.html %} + + diff --git a/index.html b/index.html index bcb473e..e7e83cf 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,17 @@ - - - Andrew's Website | Home - - - - -

Hello World!

- - +--- +project: Andrew's Website +--- + + + + {% include heading.html %} + Andrew's Website + + + {% include navigator.html %} +

Andrew's Website

+ + + {% include footer.html %} + + diff --git a/scripts.js b/scripts.js new file mode 100644 index 0000000..10d1532 --- /dev/null +++ b/scripts.js @@ -0,0 +1,3 @@ +--- +--- +// This is blank yay... diff --git a/style.css b/style.css index bf65851..fbed2ca 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,124 @@ +@media screen and (max-width: 600px) { + .nav a:not(:first-child) {display: none;} + .nav a.icon { + float: right; + display: block; + } + } + + + @media screen and (max-width: 600px) { + .nav.responsive {position: relative;} + .nav.responsive a.icon { + position: absolute; + right: 0; + top: 0; + } + .nav.responsive a { + float: none; + display: block; + text-align: left; + } + } + body{ - font-family: 'Roboto', sans-serif, Arial; + font-family: 'Roboto', sans-serif; background: #333; + color: white +} +a { + color: white; +} +.iframe { + display: block; +} +.subtitle { + font-size: 40px; + text-align: center; +} + +.answer { + font-style: italic; + padding: 0; +} +.footer { + position: fixed; + left: 0; + bottom: 0; + width: 100%; color: white; + text-align: center; +} + +.title{ + font-size: 50px; + text-align: center; +} + +#title{ + border: solid white 5px; +} + +#navigation{ + padding-top: 0px; + padding-left: 0px; + padding-right: 0px; + padding-bottom: 15px; + margin: -1px; +} + +ul.navbar { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: black; +} + +li.list-blog{ + text-decoration: none; + display: block; +} + +li.logo{ + font-weight: bold; + color: white; +} +li.nav { + float: left; + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +a.nav{ + color: white; + text-decoration: none; +} + +li a:hover { + background-color: gray; +} + +.active { + background-color: #1f8e42; + color: white; +} + +.center { + text-align: center; +} + +.Question { + padding: 0; + +} + +.nav .icon { + display: none; } + + + \ No newline at end of file -- cgit v1.2.3