From 8ecde58437a3d7cc8854a01a396c3e7f58d82a98 Mon Sep 17 00:00:00 2001 From: Ed Madrid Date: Thu, 7 Mar 2024 23:14:31 -0500 Subject: [PATCH 1/3] add sans-serif font --- site/_includes/components/heros/exhibits-carousel.html | 2 +- site/_includes/components/heros/home.html | 4 ++-- site/_includes/components/heros/text-and-featured-items.html | 2 +- site/_includes/components/items/carousel.html | 2 +- site/_includes/layouts/exhibit.html | 2 +- site/_includes/layouts/item.html | 2 +- site/_includes/layouts/page.html | 2 +- site/css/styles.css | 1 + site/pages/browse/items.md | 2 +- tailwind.config.js | 1 + 10 files changed, 11 insertions(+), 9 deletions(-) diff --git a/site/_includes/components/heros/exhibits-carousel.html b/site/_includes/components/heros/exhibits-carousel.html index 3538e831..589bb5f7 100644 --- a/site/_includes/components/heros/exhibits-carousel.html +++ b/site/_includes/components/heros/exhibits-carousel.html @@ -1,7 +1,7 @@
-

Exhibit Essays

+

Exhibit Essays

  diff --git a/site/_includes/components/heros/home.html b/site/_includes/components/heros/home.html index 641a7e7e..9fe97750 100644 --- a/site/_includes/components/heros/home.html +++ b/site/_includes/components/heros/home.html @@ -1,9 +1,9 @@
-

A Digital History of the Chicano Studies Library

+

A Digital History of the Chicano Studies Library

-

At the intersection of Chicanx Studies, Digital Humanities and Library History, Bibliopolítica chronicles the history of one of the first Chicanx collections, the UC Berkeley Chicano Studies Library (CSL).

+

At the intersection of Chicanx Studies, Digital Humanities and Library History, Bibliopolítica chronicles the history of one of the first Chicanx collections, the UC Berkeley Chicano Studies Library (CSL).

diff --git a/site/_includes/components/heros/text-and-featured-items.html b/site/_includes/components/heros/text-and-featured-items.html index f969a0d6..6fd4edd2 100644 --- a/site/_includes/components/heros/text-and-featured-items.html +++ b/site/_includes/components/heros/text-and-featured-items.html @@ -21,7 +21,7 @@ {%- endfor -%}
-

A Digital History of the Chicano Studies Library

+

A Digital History of the Chicano Studies Library

Ut eleifend lacus at erat efficitur bibendum. Ut laoreet elit nec dolor molestie finibus. Vivamus justo risus, scelerisque nec dolor ut, pretium fringilla purus. Nam nisl erat, tristique ac libero vitae, bibendum pellentesque nulla.

diff --git a/site/_includes/components/items/carousel.html b/site/_includes/components/items/carousel.html index 6ed3cc15..acfa4d82 100644 --- a/site/_includes/components/items/carousel.html +++ b/site/_includes/components/items/carousel.html @@ -1,7 +1,7 @@
-

Archival Materials

+

Archival Materials

  diff --git a/site/_includes/layouts/exhibit.html b/site/_includes/layouts/exhibit.html index 4db5713e..7da0008a 100644 --- a/site/_includes/layouts/exhibit.html +++ b/site/_includes/layouts/exhibit.html @@ -9,7 +9,7 @@
#{{ exhibit.number }}
-

{{ exhibit.title }}

+

{{ exhibit.title }}

{% if author %}div class="mt-4 italic">By {{ exhibit.author }}
{% endif %}
By {{ exhibit.author | default: "Author/Curator Name(s) Here" }}
diff --git a/site/_includes/layouts/item.html b/site/_includes/layouts/item.html index 7e46df12..99776893 100644 --- a/site/_includes/layouts/item.html +++ b/site/_includes/layouts/item.html @@ -4,7 +4,7 @@
-

{{ item.label }}

+

{{ item.label }}

{% include "svg/arrow-left.svg" %} diff --git a/site/_includes/layouts/page.html b/site/_includes/layouts/page.html index 9a653892..9717a892 100644 --- a/site/_includes/layouts/page.html +++ b/site/_includes/layouts/page.html @@ -3,7 +3,7 @@ ---
-

{{ title }}

+

{{ title }}

{% if subtitle %}
{{ subtitle }}
{% endif %} diff --git a/site/css/styles.css b/site/css/styles.css index 010c0821..3cbd86fc 100644 --- a/site/css/styles.css +++ b/site/css/styles.css @@ -1,4 +1,5 @@ @import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap'); @tailwind base; @tailwind components; diff --git a/site/pages/browse/items.md b/site/pages/browse/items.md index 96722fe3..b41a6636 100644 --- a/site/pages/browse/items.md +++ b/site/pages/browse/items.md @@ -5,7 +5,7 @@ layout: "base" permalink: "/browse/items/index.html" --- -

Browse Archival Items

+

Browse Archival Items

\ No newline at end of file diff --git a/site/css/styles.css b/site/css/styles.css index 3cbd86fc..492f599a 100644 --- a/site/css/styles.css +++ b/site/css/styles.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap'); @tailwind base; diff --git a/tailwind.config.js b/tailwind.config.js index 47150127..dd7428f4 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,7 +5,7 @@ module.exports = { theme: { extend: { fontFamily: { - serif: ["Alegreya", "serif"], + serif: ["Lora", "serif"], sans: ["DM Sans", "sans"] } }, From 71b2fb7c2b711cd954b190e02e06bccc0607613e Mon Sep 17 00:00:00 2001 From: Ed Madrid Date: Sun, 17 Mar 2024 16:41:04 -0400 Subject: [PATCH 3/3] styling --- site/_includes/layouts/item.html | 2 +- site/_includes/partials/header.html | 2 +- site/pages/browse/items.md | 30 ++++++++++++++--------------- tailwind.config.js | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/site/_includes/layouts/item.html b/site/_includes/layouts/item.html index 99776893..e08aca29 100644 --- a/site/_includes/layouts/item.html +++ b/site/_includes/layouts/item.html @@ -17,7 +17,7 @@

{{ item.label }}
-
    +
    • Alternate Title(s): {{ item["Alternate title"] | join: '; ' | default: 'N/A' }}
    • Corporate Creator(s): {{ item["Corporate Creator"] | join: '; ' | default: 'N/A' }}
    • Person Creator(s): {{ item["Person Creator"] | join: '; ' | default: 'N/A' }}
    • diff --git a/site/_includes/partials/header.html b/site/_includes/partials/header.html index fdf555f9..74008339 100644 --- a/site/_includes/partials/header.html +++ b/site/_includes/partials/header.html @@ -1,4 +1,4 @@ -