From b6f51d90c69e01db67e61a9c200deef2780cc4c2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 27 Apr 2017 11:41:02 -0400 Subject: mess with the footer --- Makefile | 2 +- bin/pagerender | 2 ++ lib/footer.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/template.erb | 13 +------------ src/style.scss | 14 +++++++++++++- 5 files changed, 66 insertions(+), 14 deletions(-) create mode 100644 lib/footer.md diff --git a/Makefile b/Makefile index a22048d..d5cd91b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ all: $(html.out) all: out/style.css all: out/header-path.svg -pagerender.deps = bin/pagerender lib/pandoc.rb lib/template.erb +pagerender.deps = bin/pagerender lib/pandoc.rb lib/template.erb lib/footer.md out/%: src/%.m4 mkdir -p -- $(@D) diff --git a/bin/pagerender b/bin/pagerender index a4ce6a1..b7d3730 100755 --- a/bin/pagerender +++ b/bin/pagerender @@ -39,6 +39,8 @@ else abort end +@footer = Pandoc::load('markdown', File.read('lib/footer.md')).to('html5') + erb = ERB.new(File.read(template)); erb.filename = template erb.run() diff --git a/lib/footer.md b/lib/footer.md new file mode 100644 index 0000000..dc739ed --- /dev/null +++ b/lib/footer.md @@ -0,0 +1,49 @@ +
+ +### [Sponsors](/sponsors.html) + +Platinum tier + +- [Caterpillar](http://www.cat.com/en_US.html) +- [Purdue FIRST Programs](http://www.purduefirst.org/) + +Gold Tier + +- [Schilli](http://schilli.com/) +- [Southwire](http://www.southwire.com/) +- E4 Performance +- [Indiana Space Grant Consortium (INSGC)](https://engineering.purdue.edu/INSGC) + +
+ +
+ +### [Sponsors (cont.)](/sponsors.html) + +Silver tier + +- [Wabash National](http://www.wabashnational.com/) +- [TBIRD](http://tbirddesign.com/) +- [Cotton Threads Shirt Company](https://www.etsy.com/shop/CottonThreadsShirtCO) +- [Lafayette Quality Products Inc.](http://www.lqp-mfg.com/) +- [The Kelly Group](http://www.thekelly-group.com/) +- [Small Parts, Inc.](http://www.smallpartsinc.com/) +- [Ivy Tech](https://www.ivytech.edu/) +- [Matrix Technologies Incorporated](http://matrixti.com/) + +Bronze tier + +- [see all sponsors...](/sponsors.html) + +
+ +
+ +### About + +- FRC team 4272 is based out of + [McCutcheon High School](http://mhs.tsc.k12.in.us/) in Lafayette, + IN. +- [Website Source Code](https://git.team4272.com/www.git) + +
diff --git a/lib/template.erb b/lib/template.erb index 61d605d..9ae8d5d 100644 --- a/lib/template.erb +++ b/lib/template.erb @@ -42,18 +42,7 @@ <%= @body %> diff --git a/src/style.scss b/src/style.scss index 9861fb0..0d9bff2 100644 --- a/src/style.scss +++ b/src/style.scss @@ -94,13 +94,25 @@ body > footer { div { float: left; margin: 0 0.5em; + max-width: 33%; } h3 { font-size: 1.1em; border-bottom: solid 1px #555555; } + p { + margin-bottom: 0; + } ul { - list-style: none; padding: 0; + margin: 0; + list-style: none; + li { + padding-left: 1em; + &::before { + margin-left: -1em; + content: "- "; + } + } } } -- cgit v1.2.3