From be48d0d6a3237fab6586372d18e59655eb5b1c24 Mon Sep 17 00:00:00 2001 From: Nathanael Silverman Date: Wed, 3 Jul 2024 17:32:02 -0400 Subject: [PATCH 1/4] Improve latest issue display --- index.hbs | 39 +++++++++++++++++++++++++++++++------ public/stylesheet-index.css | 33 +++++++++++++++++++++++++++++-- public/stylesheet-lipu.css | 3 --- public/stylesheet.css | 4 ++++ 4 files changed, 68 insertions(+), 11 deletions(-) diff --git a/index.hbs b/index.hbs index aad8c97..92df4cf 100644 --- a/index.hbs +++ b/index.hbs @@ -23,16 +23,43 @@ description: "o kama pona lon lipu pi lipu tenpo!" {{!-- first lipu_ale --}}
+ +
+ {{#with (getkey collections lipu_ale.[0].title)}} + {{#if this}} +
    + {{#each this}} +
  • + + {{data.[nimi-suli]}} + + + jan + {{data.[jan-pali]}} + + + {{getTokiTypeTag data.tags}} + {{getTokiTypeTag data.tags}} + +
  • + {{/each}} +
+ {{/if}} + {{/with}} +
diff --git a/public/stylesheet-index.css b/public/stylesheet-index.css index d2d8cdd..f0422e2 100644 --- a/public/stylesheet-index.css +++ b/public/stylesheet-index.css @@ -100,9 +100,10 @@ #lipu-nanpa-lon { display: flex; + flex-flow: row wrap; justify-content: center; - align-items: center; - margin: 2rem 0; + align-items: flex-end; + margin: 2rem; } .lipu-flex { @@ -163,3 +164,31 @@ .lipuwan a:hover { text-decoration: underline; } + +#lipu-nanpa-lon .lipuwan { + margin-right: 2rem; + max-width: none; + display: block; + text-align: left; +} +#lipu-nanpa-lon .lipu-sin { + font-size: 2rem; + font-weight: bold; + line-height: 1; + text-transform: uppercase; +} +#lipu-nanpa-lon .lipuwan h3 { + margin: 0; + font-size: 3rem; + font-weight: bold; + line-height: 1; + text-transform: uppercase; +} +#lipu-nanpa-lon .lipuwan .date { + font-size: 2rem; + line-height: 1; +} +#lipu-nanpa-lon .lipuwan img { + margin-top: .7rem; + max-width: 15rem; +} diff --git a/public/stylesheet-lipu.css b/public/stylesheet-lipu.css index c0f7e55..041cb6f 100644 --- a/public/stylesheet-lipu.css +++ b/public/stylesheet-lipu.css @@ -115,9 +115,6 @@ h2 { color: var(--colour-laso-pimeja); border-radius: var(--blob-border-radius-04); } -.sitelen-pona { - font-family: "sitelen seli kiwen", sans-serif; -} .toki ul { margin: 0; padding: 0; diff --git a/public/stylesheet.css b/public/stylesheet.css index 6a799e4..4403de6 100644 --- a/public/stylesheet.css +++ b/public/stylesheet.css @@ -364,3 +364,7 @@ footer .licence { } } } + +.sitelen-pona { + font-family: "sitelen seli kiwen", sans-serif; +} From c1b63fb1d2438e14ec7d795b914c31deecb1c2ae Mon Sep 17 00:00:00 2001 From: Nathanael Silverman Date: Thu, 4 Jul 2024 14:11:21 -0400 Subject: [PATCH 2/4] Keep text lowercase --- public/stylesheet-index.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/public/stylesheet-index.css b/public/stylesheet-index.css index f0422e2..8bdbbdc 100644 --- a/public/stylesheet-index.css +++ b/public/stylesheet-index.css @@ -175,18 +175,15 @@ font-size: 2rem; font-weight: bold; line-height: 1; - text-transform: uppercase; } #lipu-nanpa-lon .lipuwan h3 { margin: 0; font-size: 3rem; font-weight: bold; line-height: 1; - text-transform: uppercase; } #lipu-nanpa-lon .lipuwan .date { - font-size: 2rem; - line-height: 1; + font-size: 1.7rem; } #lipu-nanpa-lon .lipuwan img { margin-top: .7rem; From 7de140dc93c7a81d432392f99a23a8b06ab8dc6b Mon Sep 17 00:00:00 2001 From: Nathanael Silverman Date: Fri, 5 Jul 2024 16:25:04 -0400 Subject: [PATCH 3/4] Add more space between toki elements --- index.hbs | 44 ++++++++++++++++++------------------- public/stylesheet-index.css | 3 +++ 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/index.hbs b/index.hbs index 92df4cf..bf17d73 100644 --- a/index.hbs +++ b/index.hbs @@ -37,29 +37,27 @@ description: "o kama pona lon lipu pi lipu tenpo!" -
- {{#with (getkey collections lipu_ale.[0].title)}} - {{#if this}} -
    - {{#each this}} -
  • - - {{data.[nimi-suli]}} - - - jan - {{data.[jan-pali]}} - - - {{getTokiTypeTag data.tags}} - {{getTokiTypeTag data.tags}} - -
  • - {{/each}} -
- {{/if}} - {{/with}} -
+ {{#with (getkey collections lipu_ale.[0].title)}} + {{#if this}} +
    + {{#each this}} +
  • + + {{data.[nimi-suli]}} + + + jan + {{data.[jan-pali]}} + + + {{getTokiTypeTag data.tags}} + {{getTokiTypeTag data.tags}} + +
  • + {{/each}} +
+ {{/if}} + {{/with}} diff --git a/public/stylesheet-index.css b/public/stylesheet-index.css index 8bdbbdc..8bedaed 100644 --- a/public/stylesheet-index.css +++ b/public/stylesheet-index.css @@ -189,3 +189,6 @@ margin-top: .7rem; max-width: 15rem; } +#lipu-nanpa-lon .jan-pali { + padding: 0 .5rem; +} From 74c3e6d35108c1f3be75e5239343b92b811ed369 Mon Sep 17 00:00:00 2001 From: Nathanael Silverman Date: Fri, 5 Jul 2024 16:29:47 -0400 Subject: [PATCH 4/4] Reduce lipu sin image width --- public/stylesheet-index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/stylesheet-index.css b/public/stylesheet-index.css index 8bedaed..fff00b8 100644 --- a/public/stylesheet-index.css +++ b/public/stylesheet-index.css @@ -187,7 +187,7 @@ } #lipu-nanpa-lon .lipuwan img { margin-top: .7rem; - max-width: 15rem; + max-width: 12rem; } #lipu-nanpa-lon .jan-pali { padding: 0 .5rem;