Skip to content

Commit

Permalink
green theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rphunt committed Feb 1, 2020
1 parent 31f9890 commit 496a718
Show file tree
Hide file tree
Showing 20 changed files with 342 additions and 272 deletions.
28 changes: 14 additions & 14 deletions dist/adding-collections-with-javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<nav class="tableofcontents">
<h1><a href=".">Eleventy Walk Through</a></h1>
<ul>
<li><a href="intro.html">Intros to Eleventy and This Guide</a>
<li class="pagename"><a href="intro.html">Intros to Eleventy and This Guide</a>
<ul>
<li><a href="intro.html#introeleventy">Intro to Eleventy</a></li>
<li><a href="intro.html#introguide">Intro to This Guide</a></li>
</ul>
</li>
<li><a href="start.html">Start</a></li>
<li><a href="local-server.html">Local Server</a>
<li class="pagename"><a href="start.html">Start</a></li>
<li class="pagename"><a href="local-server.html">Local Server</a>
</li>
<li><a href="basic-data-and-templating-using-liquid.html">Basic Data and Templating Using Liquid</a>
<li class="pagename"><a href="basic-data-and-templating-using-liquid.html">Basic Data and Templating Using Liquid</a>
<ul>
<li><a href="basic-data-and-templating-using-liquid.html#whitespace">Whitespace (Line Breaks)</a></li>
</ul>
</li>
<li><a href="template-files.html">Template Files</a>
<li class="pagename"><a href="template-files.html">Template Files</a>
<ul>
<li><a href="template-files.html#markdown">Markdown</a></li>
<li><a href="template-files.html#layouts">Layouts</a></li>
Expand All @@ -37,36 +37,36 @@ <h1><a href=".">Eleventy Walk Through</a></h1>
<li><a href="template-files.html#eleventydates">Eleventy and Date Values</a></li>
</ul>
</li>
<li><a href="partials-and-include.html">Partials and Include</a>
<li class="pagename"><a href="partials-and-include.html">Partials and Include</a>
<ul>
<li><a href="partials-and-include.html#usinginclude">Using Include</a></li>
<li><a href="partials-and-include.html#frontmatterpartials">Using Front Matter With Partials</a></li>
</ul>
</li>
<li><a href="global-data-files.html">Global Data Files</a>
<li class="pagename"><a href="global-data-files.html">Global Data Files</a>
<ul>
<li><a href="global-data-files.html#globaldatainpage">Using Global Data in a Page</a></li>
<li><a href="global-data-files.html#globaldatasubfolder">Global Data in a Subfolder</a></li>
<li><a href="global-data-files.html#accessingnormaljsondata">Accessing normal JSON data</a></li>
<li><a href="global-data-files.html#htmlinjson">HTML in JSON</a></li>
</ul>
</li>
<li><a href="pagination.html">Pagination</a>
<li class="pagename"><a href="pagination.html">Pagination</a>
<ul>
<li><a href="pagination.html#basicpaginationjsonarray">Basic Pagination of JSON Array</a></li>
<li><a href="pagination.html#paginationjsonobject">Pagination of JSON object</a></li>
<li><a href="pagination.html#customizingpermalinks">Customizing the Permalinks</a></li>
<li><a href="pagination.html#pagenavigation">Page Navigation</a></li>
</ul>
</li>
<li><a href="template-languages.html">Eleventy and Template Languages</a>
<li class="pagename"><a href="template-languages.html">Eleventy and Template Languages</a>
<ul>
<li><a href="template-languages.html#fileextensions">File Extensions</a></li>
<li><a href="template-languages.html#nunjucksjavascript">Nunjucks and Javascript</a></li>
<li><a href="template-languages.html#nunjucksjavascriptpagination">Nunjucks and JavaScript and Pagination</a></li>
</ul>
</li>
<li><a href="custom-configuration.html">Custom Configuration</a>
<li class="pagename"><a href="custom-configuration.html">Custom Configuration</a>
<ul>
<li><a href="custom-configuration.html#outputpath">Output Path</a></li>
<li><a href="custom-configuration.html#sourcepath">Source Path</a></li>
Expand All @@ -77,28 +77,28 @@ <h1><a href=".">Eleventy Walk Through</a></h1>
<li><a href="custom-configuration.html#passthroughfilecopying">Passthrough File Copying</a></li>
</ul>
</li>
<li><a href="filters.html">Filters</a>
<li class="pagename"><a href="filters.html">Filters</a>
<ul>
<li><a href="filters.html#filterseleventy">Filters in Eleventy</a></li>
<li><a href="filters.html#createfilter">Create a Filter</a></li>
<li><a href="filters.html#formatdate">Format a Date</a></li>
</ul>
</li>
<li><a href="shortcodes.html">Shortcodes</a>
<li class="pagename"><a href="shortcodes.html">Shortcodes</a>
<ul>
<li><a href="shortcodes.html#shortcodeseleventy">Shortcodes in Eleventy</a></li>
<li><a href="shortcodes.html#shortcode">Shortcode</a></li>
<li><a href="shortcodes.html#pairedshortcode">Paired Shortcode</a></li>
</ul>
</li>
<li><a href="gulp.html">Gulp with Eleventy as a Task</a>
<li class="pagename"><a href="gulp.html">Gulp with Eleventy as a Task</a>
<ul>
<li><a href="gulp.html#usinggulp">Using Gulp</a></li>
<li><a href="gulp.html#eleventyothergulptasks">Eleventy and other Gulp tasks</a></li>
</ul>
</li>

<li><a href="adding-collections-with-javascript.html">Adding Collections With JavaScript</a>
<li class="pagename"><a href="adding-collections-with-javascript.html">Adding Collections With JavaScript</a>
<ul>
<li><a href="adding-collections-with-javascript.html#collectioncrreation">Collection Creation</a></li>
<li><a href="adding-collections-with-javascript.html#newcollectionfrommarkdownfiles">New Collection from Tags in Markdown Files</a></li>
Expand Down
28 changes: 14 additions & 14 deletions dist/basic-data-and-templating-using-liquid.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<nav class="tableofcontents">
<h1><a href=".">Eleventy Walk Through</a></h1>
<ul>
<li><a href="intro.html">Intros to Eleventy and This Guide</a>
<li class="pagename"><a href="intro.html">Intros to Eleventy and This Guide</a>
<ul>
<li><a href="intro.html#introeleventy">Intro to Eleventy</a></li>
<li><a href="intro.html#introguide">Intro to This Guide</a></li>
</ul>
</li>
<li><a href="start.html">Start</a></li>
<li><a href="local-server.html">Local Server</a>
<li class="pagename"><a href="start.html">Start</a></li>
<li class="pagename"><a href="local-server.html">Local Server</a>
</li>
<li><a href="basic-data-and-templating-using-liquid.html">Basic Data and Templating Using Liquid</a>
<li class="pagename"><a href="basic-data-and-templating-using-liquid.html">Basic Data and Templating Using Liquid</a>
<ul>
<li><a href="basic-data-and-templating-using-liquid.html#whitespace">Whitespace (Line Breaks)</a></li>
</ul>
</li>
<li><a href="template-files.html">Template Files</a>
<li class="pagename"><a href="template-files.html">Template Files</a>
<ul>
<li><a href="template-files.html#markdown">Markdown</a></li>
<li><a href="template-files.html#layouts">Layouts</a></li>
Expand All @@ -37,36 +37,36 @@ <h1><a href=".">Eleventy Walk Through</a></h1>
<li><a href="template-files.html#eleventydates">Eleventy and Date Values</a></li>
</ul>
</li>
<li><a href="partials-and-include.html">Partials and Include</a>
<li class="pagename"><a href="partials-and-include.html">Partials and Include</a>
<ul>
<li><a href="partials-and-include.html#usinginclude">Using Include</a></li>
<li><a href="partials-and-include.html#frontmatterpartials">Using Front Matter With Partials</a></li>
</ul>
</li>
<li><a href="global-data-files.html">Global Data Files</a>
<li class="pagename"><a href="global-data-files.html">Global Data Files</a>
<ul>
<li><a href="global-data-files.html#globaldatainpage">Using Global Data in a Page</a></li>
<li><a href="global-data-files.html#globaldatasubfolder">Global Data in a Subfolder</a></li>
<li><a href="global-data-files.html#accessingnormaljsondata">Accessing normal JSON data</a></li>
<li><a href="global-data-files.html#htmlinjson">HTML in JSON</a></li>
</ul>
</li>
<li><a href="pagination.html">Pagination</a>
<li class="pagename"><a href="pagination.html">Pagination</a>
<ul>
<li><a href="pagination.html#basicpaginationjsonarray">Basic Pagination of JSON Array</a></li>
<li><a href="pagination.html#paginationjsonobject">Pagination of JSON object</a></li>
<li><a href="pagination.html#customizingpermalinks">Customizing the Permalinks</a></li>
<li><a href="pagination.html#pagenavigation">Page Navigation</a></li>
</ul>
</li>
<li><a href="template-languages.html">Eleventy and Template Languages</a>
<li class="pagename"><a href="template-languages.html">Eleventy and Template Languages</a>
<ul>
<li><a href="template-languages.html#fileextensions">File Extensions</a></li>
<li><a href="template-languages.html#nunjucksjavascript">Nunjucks and Javascript</a></li>
<li><a href="template-languages.html#nunjucksjavascriptpagination">Nunjucks and JavaScript and Pagination</a></li>
</ul>
</li>
<li><a href="custom-configuration.html">Custom Configuration</a>
<li class="pagename"><a href="custom-configuration.html">Custom Configuration</a>
<ul>
<li><a href="custom-configuration.html#outputpath">Output Path</a></li>
<li><a href="custom-configuration.html#sourcepath">Source Path</a></li>
Expand All @@ -77,28 +77,28 @@ <h1><a href=".">Eleventy Walk Through</a></h1>
<li><a href="custom-configuration.html#passthroughfilecopying">Passthrough File Copying</a></li>
</ul>
</li>
<li><a href="filters.html">Filters</a>
<li class="pagename"><a href="filters.html">Filters</a>
<ul>
<li><a href="filters.html#filterseleventy">Filters in Eleventy</a></li>
<li><a href="filters.html#createfilter">Create a Filter</a></li>
<li><a href="filters.html#formatdate">Format a Date</a></li>
</ul>
</li>
<li><a href="shortcodes.html">Shortcodes</a>
<li class="pagename"><a href="shortcodes.html">Shortcodes</a>
<ul>
<li><a href="shortcodes.html#shortcodeseleventy">Shortcodes in Eleventy</a></li>
<li><a href="shortcodes.html#shortcode">Shortcode</a></li>
<li><a href="shortcodes.html#pairedshortcode">Paired Shortcode</a></li>
</ul>
</li>
<li><a href="gulp.html">Gulp with Eleventy as a Task</a>
<li class="pagename"><a href="gulp.html">Gulp with Eleventy as a Task</a>
<ul>
<li><a href="gulp.html#usinggulp">Using Gulp</a></li>
<li><a href="gulp.html#eleventyothergulptasks">Eleventy and other Gulp tasks</a></li>
</ul>
</li>

<li><a href="adding-collections-with-javascript.html">Adding Collections With JavaScript</a>
<li class="pagename"><a href="adding-collections-with-javascript.html">Adding Collections With JavaScript</a>
<ul>
<li><a href="adding-collections-with-javascript.html#collectioncrreation">Collection Creation</a></li>
<li><a href="adding-collections-with-javascript.html#newcollectionfrommarkdownfiles">New Collection from Tags in Markdown Files</a></li>
Expand Down
55 changes: 45 additions & 10 deletions dist/css/main.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
:root {
--clrlink: #0060a0;
--clrh2: #cceeff;
--clrlink: #336611;
--clrh2: ;
--clrh2bg: #ccffbb;
--clrh3: ;
--clrh3bg: #dfdfdf;
--clrh3bg: #f0f0f0;
--clrcode: #333333;
--clrcodebg: #eeeeee;
--clrcodebg: #f0f0f0;
--clrsidebarbg: #558833;
--clrsidebartext: #ffffff;
--clrsidebartexthover: #0000000;
}

/* TODO: test this */
Expand Down Expand Up @@ -53,6 +57,7 @@ h1, h2, h3, h4 {

h1 {
color: var(--clrlink);
font-size: 2em;
}

h1 a {
Expand All @@ -61,7 +66,8 @@ h1 a {

h2 {
padding: .3em;
background-color: var(--clrh2);
background-color: var(--clrh2bg);
font-size: 1.7em;
}

h3 {
Expand All @@ -79,6 +85,8 @@ code, pre {
}

.tableofcontents {
background-color: var(--clrsidebarbg);
color: var(--clrsidebartext);
padding: 1.5em;
/* position: fixed;
top: 0;
Expand All @@ -88,36 +96,63 @@ code, pre {
overflow-y: scroll; */
}

.tableofcontents a {
text-decoration: none;
color: var(--clrsidebartext);
}

.tableofcontents a:hover {
color: var(--clrsidebartexthover);
}

.tableofcontents ul li {
margin-bottom: .5em;
margin-bottom: 1em;
list-style: none;
}

.tableofcontents ul li ul {
margin-bottom: .5em;
margin-bottom: 1em;
}

.tableofcontents ul li ul li {
margin-bottom: 0;
margin-bottom: .5em;
}

.tableofcontents .pagename > a {
font-size: 1.2em;
}

.references {

}

.references ul {
list-style: none;

}

.content {
padding: 1.5em;
/* position: fixed;
top: 0;
right: 0; */
width: 75%;
/* width: 75%; */
/* height: 100vh;
overflow-y: scroll; */
}

.chapter {
margin-bottom: 3em;
}

.codeexample {
display: block;
padding: 1em 1em 0 1em;
color: var(--clrcode);
background: var(--clrcodebg);
margin: 1em 0;
font-size: 1.3em;
border-radius: 10px;
/* border-radius: 10px; */
overflow-x: scroll;

}
Expand Down
Loading

0 comments on commit 496a718

Please sign in to comment.