From c9c317c9185df9f345115511d305ea79cafa6e1e Mon Sep 17 00:00:00 2001 From: W Beecher Baker Date: Wed, 2 Oct 2024 13:58:48 -0400 Subject: [PATCH 1/4] tweak style to fit into a Cascade page better --- config/style/purdue-cascade.css | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/style/purdue-cascade.css diff --git a/config/style/purdue-cascade.css b/config/style/purdue-cascade.css new file mode 100644 index 0000000..ee161d1 --- /dev/null +++ b/config/style/purdue-cascade.css @@ -0,0 +1,11 @@ +#main-content #app header:is(.flex) { + /* Cascade has its own page header, so hide the TaxonPages header. + * Even if we remove the header from the Vue app, a placeholder will be added. */ + display: none; +} + +#main-content #app .h-screen { + /* TaxonPages takes over the screen, but that's not good behavior inside a Cascade page. */ + height: unset; + min-height: 30rem; +} \ No newline at end of file From 5717e44412eaea67ffeb36b1ac62ce5151b9c4e7 Mon Sep 17 00:00:00 2001 From: Beecher Baker Date: Thu, 3 Oct 2024 11:07:27 -0400 Subject: [PATCH 2/4] update reference URLs --- config/header.yml | 2 +- config/project.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/header.yml b/config/header.yml index 57b8041..26c85c0 100644 --- a/config/header.yml +++ b/config/header.yml @@ -9,4 +9,4 @@ link: /about - label: Source - link: https://github.com/neolefty/taxonpages-dev/ \ No newline at end of file + link: https://github.com/PurdueEntomologicalResearchCollection/taxonpages/ \ No newline at end of file diff --git a/config/project.yml b/config/project.yml index 30497ed..f4fddd7 100644 --- a/config/project.yml +++ b/config/project.yml @@ -1,5 +1,5 @@ --- project_name: Search PERC - project_citation: Search PERC. 2024. https://neolefty.github.io/taxonpages/ - project_url: https://neolefty.github.io/taxonpages/ + project_citation: Search PERC. 2024. https://ag.purdue.edu/department/entm/perc/ + project_url: https://github.com/PurdueEntomologicalResearchCollection/taxonpages/ project_authors: Aaron Smith, Christopher Wirth From 210e98a08243bec9de4a7fa9e455d801d0775267 Mon Sep 17 00:00:00 2001 From: W Beecher Baker Date: Fri, 4 Oct 2024 15:08:18 -0400 Subject: [PATCH 3/4] override some Cascade font styling --- config/style/purdue-cascade.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config/style/purdue-cascade.css b/config/style/purdue-cascade.css index ee161d1..0554e69 100644 --- a/config/style/purdue-cascade.css +++ b/config/style/purdue-cascade.css @@ -8,4 +8,20 @@ /* TaxonPages takes over the screen, but that's not good behavior inside a Cascade page. */ height: unset; min-height: 30rem; -} \ No newline at end of file +} + +#app { + /* Cascade has some opinions about spacing, color, and size that don't work well for TaxonPages. */ + color: black; + h1, h2, h3, h4, h5, h6 { + font-family: United Sans, Impact, sans-serif; + text-transform: unset; + font-size: unset; + color: black; + margin: unset; + line-height: unset; + } + li, p { + font-weight: 400; + } +} From a1e6262bedf9404b1a2f960d4741379f5cf3cb14 Mon Sep 17 00:00:00 2001 From: W Beecher Baker Date: Tue, 8 Oct 2024 13:45:16 -0400 Subject: [PATCH 4/4] remove underline from links in Cascade --- config/style/purdue-cascade.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/style/purdue-cascade.css b/config/style/purdue-cascade.css index 0554e69..1055d9b 100644 --- a/config/style/purdue-cascade.css +++ b/config/style/purdue-cascade.css @@ -24,4 +24,7 @@ li, p { font-weight: 400; } + a { + text-decoration: unset; + } }