From 03f2eaa60bec181839eafbfd5047e3587598671e Mon Sep 17 00:00:00 2001 From: Tom Manshreck Date: Fri, 14 Feb 2020 13:15:50 -0500 Subject: [PATCH 01/13] Set theme jekyll-theme-minimal --- docs/_config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/_config.yml diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 000000000..2f7efbeab --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-minimal \ No newline at end of file From 57587f86a2b4a38e5cd425739d83a1edee651b6c Mon Sep 17 00:00:00 2001 From: Tom Manshreck Date: Fri, 14 Feb 2020 13:17:57 -0500 Subject: [PATCH 02/13] Set theme jekyll-theme-slate --- docs/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_config.yml b/docs/_config.yml index 2f7efbeab..c74188174 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-minimal \ No newline at end of file +theme: jekyll-theme-slate \ No newline at end of file From 756d62a2e7a277beef895852e505c2757192fc72 Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 13:22:59 -0500 Subject: [PATCH 03/13] Add test nav bar --- docs/_includes/nav.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/_includes/nav.html diff --git a/docs/_includes/nav.html b/docs/_includes/nav.html new file mode 100644 index 000000000..827259849 --- /dev/null +++ b/docs/_includes/nav.html @@ -0,0 +1,8 @@ +

+ Home | + Admin | + Week 1 | + Week 2 | + Week 3 | + Misc +

From 913c261156fff4f1505ac6a2cfb61c86706351e8 Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 13:33:20 -0500 Subject: [PATCH 04/13] Add test navigation template --- docs/_config.yml | 2 +- docs/_includes/head.html | 9 +++++++++ docs/_layouts/default.html | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 docs/_includes/head.html create mode 100644 docs/_layouts/default.html diff --git a/docs/_config.yml b/docs/_config.yml index c74188174..386c3e38e 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-slate \ No newline at end of file +theme: jekyll-theme-minima diff --git a/docs/_includes/head.html b/docs/_includes/head.html new file mode 100644 index 000000000..a3f80bc27 --- /dev/null +++ b/docs/_includes/head.html @@ -0,0 +1,9 @@ +

+ Home | + Quickstart | + Overview | + Reference | + Tuning Guide | + Design Note | + Platforms Guide +

diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html new file mode 100644 index 000000000..58e141b74 --- /dev/null +++ b/docs/_layouts/default.html @@ -0,0 +1,20 @@ + + + + {%- include head.html -%} + + + + {%- include header.html -%} + +
+
+ {{ content }} +
+
+ + {%- include footer.html -%} + + + + From 18f543a3aed1f289a1f1bccb857649d0f30f6627 Mon Sep 17 00:00:00 2001 From: Tom Manshreck Date: Fri, 14 Feb 2020 13:35:43 -0500 Subject: [PATCH 05/13] Set theme jekyll-theme-minimal --- docs/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_config.yml b/docs/_config.yml index 386c3e38e..fff4ab923 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-minima +theme: jekyll-theme-minimal From 15e20131b11e173191e3dfe29df1752313b7110f Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 13:36:41 -0500 Subject: [PATCH 06/13] Remove unneeded files --- docs/_layouts/default.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 58e141b74..507c40c54 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -5,16 +5,12 @@ - {%- include header.html -%} -
{{ content }}
- {%- include footer.html -%} - From 171d23af06709e0d9b416445cb8802e836fea332 Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 13:47:43 -0500 Subject: [PATCH 07/13] Modify default template --- docs/_layouts/default.html | 67 +++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 9 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 507c40c54..9f24846ea 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -1,16 +1,65 @@ - - - {%- include head.html -%} + + + + + +{% seo %} + + + +
+
+

{{ site.title | default: site.github.repository_name }}

+ + {% if site.logo %} + Logo + {% endif %} -
-
- {{ content }} -
-
+

{{ site.description | default: site.github.project_tagline }}

- + {% if site.github.is_project_page %} +

View the Project on GitHub {{ site.github.repository_nwo }}

+ {% endif %} + + {% if site.github.is_user_page %} +

View My GitHub Profile

+ {% endif %} + {% if site.show_downloads %} + + {% endif %} +
+
+ {%- include head.html -%} + {{ content }} + +
+ +
+ + {% if site.google_analytics %} + + {% endif %} + From b1420ea36d79adf1cf64e8e28175715ccc61fccb Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 14:41:27 -0500 Subject: [PATCH 08/13] Remove wrapper CSS --- docs/_layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 9f24846ea..f470eb5e5 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -12,7 +12,7 @@ -
+

{{ site.title | default: site.github.repository_name }}

From 0b836de67a915a4d8a76bd47975a9d325ba2f10e Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 16:24:21 -0500 Subject: [PATCH 09/13] Tweak CSS --- docs/_sass/jekyll-theme-minimal.scss | 272 +++++++++++++++++++++++++++ 1 file changed, 272 insertions(+) create mode 100644 docs/_sass/jekyll-theme-minimal.scss diff --git a/docs/_sass/jekyll-theme-minimal.scss b/docs/_sass/jekyll-theme-minimal.scss new file mode 100644 index 000000000..6a7c06b69 --- /dev/null +++ b/docs/_sass/jekyll-theme-minimal.scss @@ -0,0 +1,272 @@ +@import "fonts"; +@import "rouge-github"; + +body { + background-color: #fff; + padding:0px; + font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + color:#727272; + font-weight:400; +} + +h1, h2, h3, h4, h5, h6 { + color:#222; + margin:0 0 20px; +} + +p, ul, ol, table, pre, dl { + margin:0 0 20px; +} + +h1, h2, h3 { + line-height:1.1; +} + +h1 { + font-size:28px; +} + +h2 { + color:#393939; +} + +h3, h4, h5, h6 { + color:#494949; +} + +a { + color:#267CB9; + text-decoration:none; +} + +a:hover, a:focus { + color:#069; + font-weight: bold; +} + +a small { + font-size:11px; + color:#777; + margin-top:-0.3em; + display:block; +} + +a:hover small { + color:#777; +} + +.wrapper { + width:860px; + margin:0 auto; +} + +blockquote { + border-left:1px solid #e5e5e5; + margin:0; + padding:0 0 0 20px; + font-style:italic; +} + +code, pre { + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace; + color:#333; +} + +pre { + padding:8px 15px; + background: #f8f8f8; + border-radius:5px; + border:1px solid #e5e5e5; + overflow-x: auto; +} + +table { + width:100%; + border-collapse:collapse; +} + +th, td { + text-align:left; + padding:5px 10px; + border-bottom:1px solid #e5e5e5; +} + +dt { + color:#444; + font-weight:700; +} + +th { + color:#444; +} + +img { + max-width:100%; +} + +header { + width:270px; + float:left; + position:fixed; + -webkit-font-smoothing:subpixel-antialiased; +} + +ul.downloads { + list-style:none; + height:40px; + padding:0; + background: #f4f4f4; + border-radius:5px; + border:1px solid #e0e0e0; + width:270px; +} + +.downloads li { + width:89px; + float:left; + border-right:1px solid #e0e0e0; + height:40px; +} + +.downloads li:first-child a { + border-radius:5px 0 0 5px; +} + +.downloads li:last-child a { + border-radius:0 5px 5px 0; +} + +.downloads a { + line-height:1; + font-size:11px; + color:#676767; + display:block; + text-align:center; + padding-top:6px; + height:34px; +} + +.downloads a:hover, .downloads a:focus { + color:#675C5C; + font-weight:bold; +} + +.downloads ul a:active { + background-color:#f0f0f0; +} + +strong { + color:#222; + font-weight:700; +} + +.downloads li + li + li { + border-right:none; + width:89px; +} + +.downloads a strong { + font-size:14px; + display:block; + color:#222; +} + +section { + width:500px; + float:right; + padding-bottom:50px; +} + +small { + font-size:11px; +} + +hr { + border:0; + background:#e5e5e5; + height:1px; + margin:0 0 20px; +} + +footer { + width:270px; + float:left; + position:fixed; + bottom:50px; + -webkit-font-smoothing:subpixel-antialiased; +} + +@media print, screen and (max-width: 960px) { + + div.wrapper { + width:auto; + margin:0; + } + + header, section, footer { + float:none; + position:static; + width:auto; + } + + header { + padding-right:320px; + } + + section { + border:1px solid #e5e5e5; + border-width:1px 0; + padding:20px 0; + margin:0 0 20px; + } + + header a small { + display:inline; + } + + header ul { + position:absolute; + right:50px; + top:52px; + } +} + +@media print, screen and (max-width: 720px) { + body { + word-wrap:break-word; + } + + header { + padding:0; + } + + header ul, header p.view { + position:static; + } + + pre, code { + word-wrap:normal; + } +} + +@media print, screen and (max-width: 480px) { + body { + padding:15px; + } + + .downloads { + width:99%; + } + + .downloads li, .downloads li + li + li { + width:33%; + } +} + +@media print { + body { + padding:0.4in; + font-size:12pt; + color:#444; + } +} \ No newline at end of file From 681716ac44246ee5ea0124aaa1df31bb31d3eb52 Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 16:28:44 -0500 Subject: [PATCH 10/13] Tweak header CSS --- docs/_includes/nav.html | 8 -------- docs/_sass/jekyll-theme-minimal.scss | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 docs/_includes/nav.html diff --git a/docs/_includes/nav.html b/docs/_includes/nav.html deleted file mode 100644 index 827259849..000000000 --- a/docs/_includes/nav.html +++ /dev/null @@ -1,8 +0,0 @@ -

- Home | - Admin | - Week 1 | - Week 2 | - Week 3 | - Misc -

diff --git a/docs/_sass/jekyll-theme-minimal.scss b/docs/_sass/jekyll-theme-minimal.scss index 6a7c06b69..00cf054ae 100644 --- a/docs/_sass/jekyll-theme-minimal.scss +++ b/docs/_sass/jekyll-theme-minimal.scss @@ -3,7 +3,7 @@ body { background-color: #fff; - padding:0px; + padding:50px; font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color:#727272; font-weight:400; @@ -105,7 +105,7 @@ img { } header { - width:270px; + width:120px; float:left; position:fixed; -webkit-font-smoothing:subpixel-antialiased; @@ -189,7 +189,7 @@ hr { } footer { - width:270px; + width:120px; float:left; position:fixed; bottom:50px; From 34d9130a72111dcc4da5c32c9cebda1de06e397e Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 16:32:16 -0500 Subject: [PATCH 11/13] Remove float right from section --- docs/_sass/jekyll-theme-minimal.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/_sass/jekyll-theme-minimal.scss b/docs/_sass/jekyll-theme-minimal.scss index 00cf054ae..4987e065e 100644 --- a/docs/_sass/jekyll-theme-minimal.scss +++ b/docs/_sass/jekyll-theme-minimal.scss @@ -173,7 +173,6 @@ strong { section { width:500px; - float:right; padding-bottom:50px; } From 58650cd3d17fd143c1d366da2924909957ba8511 Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 16:38:03 -0500 Subject: [PATCH 12/13] Adjust float right from section --- docs/_sass/jekyll-theme-minimal.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/_sass/jekyll-theme-minimal.scss b/docs/_sass/jekyll-theme-minimal.scss index 4987e065e..fabd97936 100644 --- a/docs/_sass/jekyll-theme-minimal.scss +++ b/docs/_sass/jekyll-theme-minimal.scss @@ -172,7 +172,8 @@ strong { } section { - width:500px; + width:720px; + float:right; padding-bottom:50px; } From 990828c40982d07b37229e2137e55f8a834c2bfb Mon Sep 17 00:00:00 2001 From: manshreck Date: Fri, 14 Feb 2020 16:42:52 -0500 Subject: [PATCH 13/13] Adjust width of section --- docs/_sass/jekyll-theme-minimal.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_sass/jekyll-theme-minimal.scss b/docs/_sass/jekyll-theme-minimal.scss index fabd97936..999d83b40 100644 --- a/docs/_sass/jekyll-theme-minimal.scss +++ b/docs/_sass/jekyll-theme-minimal.scss @@ -172,7 +172,7 @@ strong { } section { - width:720px; + width:80%; float:right; padding-bottom:50px; }