Skip to content

Commit

Permalink
heirarchy
Browse files Browse the repository at this point in the history
heirarchy

heirarchy

heirarchy

heirarchy

favicon

cushaw homepage

favicon

remove top links

add side links

logo

add side links

add side links

add side links

favicon

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

logo invert

styles

footer

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

logo

logo

styles

styles

favicon

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

organization

organization

organization

styles

styles

cleanup

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

styles

layout

updates

page reneme

styles

paths

paths

paths
  • Loading branch information
markwkidd committed Dec 8, 2024
1 parent ce6d503 commit 3256906
Show file tree
Hide file tree
Showing 32 changed files with 255 additions and 79 deletions.
24 changes: 13 additions & 11 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ description: An open repository of crop information from seed to plate
theme: just-the-docs

url: https://adaptation-gardening.github.io
#baseurl: cushaw-handbook # needed when the pages are served from a subfolder, like on github.io
repository: markwkidd/crop-guides # for github-metadata
baseurl: crop-guide # needed when the pages are served from a subfolder, like on github.io
repository: adaptation-gardening/crop-guides # for github-metadata

permalink: pretty

aux_links:
Adaptation Gardening Facebook Group: https://www.facebook.com/groups/adaptationagriculture
Going to Seed Courses and Community: https://goingtoseed.org/
nav_external_links:
- title: Going to Seed Courses and Community
url: https://goingtoseed.org
- title: Adaptation Gardening Facebook Group
url: https://www.facebook.com/groups/adaptationagriculture

search_enabled: true

# Set a path/url to a logo that will be displayed instead of the title
#logo: "assets/images/commonwealth-cushaw-logo-white-550x180.png"
logo: "assets/images/crop-guide-logo-500x280.png"

footer_content: "Copyright &copy; Going to Seed and Handbarrow. Published with a <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0 License.</a>"
favicon_ico: "favicon.ico"

# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
Expand All @@ -28,21 +30,21 @@ gh_edit_branch: "main" # the branch that your docs is served from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately

# Color scheme currently only supports "dark", "light"/nil (default), or a custom scheme that you define
color_scheme: light
color_scheme: adaptation-colors

callouts_level: quiet # or loud
callouts:
highlight:
color: yellow
important:
title: Important
color: blue
color: purple
idea:
title: Idea
color: green
color: blue
note:
title: Note
color: purple
color: green
warning:
title: Warning
color: red
File renamed without changes.
1 change: 1 addition & 0 deletions _includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright &copy; Going to Seed. Offered for use and improvement via the Creative Commons <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0 License</a>.
3 changes: 3 additions & 0 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap" rel="stylesheet">
1 change: 1 addition & 0 deletions _includes/nav_footer_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions _sass/color_schemes/adaptation-colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$body-text-color: $adaptation-purple;
$body-heading-color: $adaptation-purple;
$link-color: $adaptation-purple;
$sidebar-color: $adaptation-purple;
$nav-child-link-color: $adaptation-green;
159 changes: 159 additions & 0 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
html {
font-size: 18px !important;
}

.side-bar {
color: $nav-text;
}

.site-header {
margin-top: 0;
border-bottom: thick double $adaptation-green;
font-size: 1.1rem;
min-height: 120px;

a:hover {
background: unset;
}
}

#main-header {
border-bottom: 1px solid $grey-lt-300;
}

.site-title {
color: $nav-text;
padding: 0;
margin: 0;
}

#site-nav {
padding-top: 1rem;
}

// the next few overrides of just the docs could probably be made more elegant
.nav-list .nav-list-item .nav-list-expander {
color: $adaptation-tan;

&[aria-selected="true"] {
color: red;
}
}

.nav-list .nav-list-item > .nav-list .nav-list-item .nav-list-expander {
color: $adaptation-tan;
}

.nav-list .nav-list-item.active .nav-list-expander {
color: $yellow-200;
}

.site-nav ul li a {
background: none;
color: $nav-text !important;
word-wrap: break-word;
white-space: normal;
font-size: 1.05rem !important;

&:hover {
background: $purple-200 !important;
color: $nav-text;
}

&:visited {
color: $nav-text !important;
}

&.active {
background: $purple-100 !important;
font-weight: 600;
color: $nav-text !important;
}
}

ul.nav-list .nav-list-item .nav-list-link {
padding: 0.25rem 1rem 0.25rem 0.5rem;
}

.main-content-wrap {
margin-top: 0;
}

.main-content h1:first-of-type {
margin-top: 0; // override just the docs top margin
}

h1 {
font-size: 2.8em !important;
font-weight: 400;
}

h2, h3, h4, h5, h6
{
color: $purple-300;
}

hr {
background-color: $adaptation-tan;
clear: right; // clear floating images
}

footer {
font-size: 0.8rem !important;
}

.float-right-third {
float: right;
width: calc(33% - 1rem);
margin: 0.5rem 0 0.5rem 1rem;
}

figure.captioned-image {
background-color: $adaptation-tan;
padding: 0.2rem 0.2rem;
border-radius: $border-radius;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);

figcaption {
font-size: 0.9rem;
margin-top: 0.2rem;
line-height: 0.9;
}
}

blockquote, p.note, p.warning, p.important, p.idea {
clear: right; // callouts will appear below floating photos, like h1 and h2
}

// Print-only styles.
@media print {
//.side-bar,
//.page-header,
//.site-header {
// display: none;
//}

.body {
font-size: 0.9rem;
}

.main-content {
max-width: auto;
width: auto;
padding: 0;
margin: 0;
line-height: 1.2;
}

.main-content-wrap {
padding: 0;
margin: 0;
max-width: auto;
width: auto;
}

//.side-bar + .main {
// margin: auto;
//}
}

26 changes: 26 additions & 0 deletions _sass/custom/setup.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
$body-font-family: "Alegreya Sans", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Segoe UI Emoji";

$nav-text: white;
$adaptation-purple: #28275e;
$adaptation-tan: #ece1cc;
$adaptation-green: #92a584;
$adaptation-yellow: #fdd94f;
$adaptation-red: #862918;


$purple-000: lighten($adaptation-purple, 15);
$purple-100: lighten($adaptation-purple, 12);
$purple-200: lighten($adaptation-purple, 8);
$purple-300: $adaptation-purple;
$green-000: lighten($adaptation-green, 8);
$green-100: $adaptation-green;
$green-200: darken($adaptation-green, 12);
$green-300: darken($adaptation-green, 20);
$yellow-000: lighten($adaptation-yellow, 15);
$yellow-100: lighten($adaptation-yellow, 12);
$yellow-200: lighten($adaptation-yellow, 8);
$yellow-300: $adaptation-yellow;
$red-000: lighten($adaptation-red, 15);
$red-100: lighten($adaptation-red, 12);
$red-200: lighten($adaptation-red, 8);
$red-300: $adaptation-red;
Binary file added assets/images/crop-guide-logo-500x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/gts-logo-500x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/cucumis/melo/crop-origins.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
parent: Cucumis melo
title: Origins of Cucumis melo
layout: default
has_children: false
parent: Cucumis melo
---

# Crop origins
Expand Down
5 changes: 1 addition & 4 deletions content/cucumis/melo/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
parent: Cucumis
title: Cucumis melo
layout: home
nav_order: 0
Expand All @@ -11,7 +12,3 @@ Placeholder
## What is included?

Placeholder

## Using and reusing the guide

This guide is offered with a noncommercial creative commons license, [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). If you publish a revised version, please credit **[Going to Seed](https://goingtoseed.org/)**, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests that Going to Seed and Handbarrow endorses you or your use.
3 changes: 2 additions & 1 deletion content/cucurbita/argyrosperma/crop-origins.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
parent: Cucurbita argyrosperma
title: Crop origins - Cucurbita argyrosperma
title: Crop origins
layout: default
has_children: false
nav_order: 20
---

# Crop origins
Expand Down
2 changes: 1 addition & 1 deletion content/cucurbita/argyrosperma/harvesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parent: Cucurbita argyrosperma
title: Harvesting
layout: default
has_children: false
nav_order: 50
nav_order: 70
---

# Harvesting
Expand Down
6 changes: 1 addition & 5 deletions content/cucurbita/argyrosperma/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
parent: Cucurbita
title: Cucurbita argyrosperma
layout: home
nav_order: 0
parent: Cucurbita
---

# Cucurbita argyrosperma
Expand All @@ -18,7 +18,3 @@ This guide was initially developed by the Commonwealth Cushaw Project, based in
Different types of cushaws have been bred for different purposes, edible seeds, summer squash, and long-keeping winter squash. Most squash traditionally called _cushaws_ are botanically classified as _[Cucurbita arygrosperma](https://en.wikipedia.org/wiki/Cucurbita_argyrosperma)_, but there are some cushaws of species _C. moshchata_. More information about cushaw classification can be found in [What are Cushaws?](what-are-cushaws.md)

This guide was created by people growing C. argyrosperma winter squash cushaws that can be stored fresh for at least six months, but the information can be applied to other types. We welcome contributions to make this guide more useful to people growing the full spectrum of cushaw squash.

## Using and reusing the guide

This guide is offered with a noncommercial creative commons license, [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). If you publish a revised version, please credit **[Going to Seed](https://goingtoseed.org/)** and **[Handbarrow](https://handbarrow.org/)**, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests that Going to Seed and Handbarrow endorses you or your use.
18 changes: 0 additions & 18 deletions content/cucurbita/argyrosperma/location.md

This file was deleted.

3 changes: 2 additions & 1 deletion content/cucurbita/argyrosperma/recipes/cushaw-pumpkin-pie.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
parent: Cucurbita argyrosperma recipes
parent: Recipes
grand_parent: Cucurbita argyrosperma
title: Cushaw Pumpkin Pie
layout: default
has_children: false
Expand Down
4 changes: 2 additions & 2 deletions content/cucurbita/argyrosperma/recipes/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
parent: Cucurbita argyrosperma
title: Cucurbita argyrosperma recipes
title: Recipes
layout: home
has_children: true
nav_order: 100
nav_order: 10
---

# Cushaw recipe collection
Expand Down
Loading

0 comments on commit 3256906

Please sign in to comment.