From fe427d79968e26c4e4b9929282e6b38c613dd670 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 29 Oct 2023 23:24:17 +0100 Subject: Add Brazilian olympic reais --- src/style.css | 4 ++++ src/world/coins/br/index.gsp | 47 ++++++++++++++++++++++++++++++++++++++++++++ src/world/index.gsp | 1 + src/world/nav.coins.gsp | 3 +++ src/world/nav.notes.gsp | 3 +++ src/world/notes/ez/index.gsp | 1 + 6 files changed, 59 insertions(+) create mode 100644 src/world/coins/br/index.gsp create mode 100644 src/world/nav.coins.gsp create mode 100644 src/world/nav.notes.gsp (limited to 'src') diff --git a/src/style.css b/src/style.css index 96902fa..2e96bfc 100644 --- a/src/style.css +++ b/src/style.css @@ -624,6 +624,10 @@ div .country-table:not(:first-child) { border-radius: 0 16px 16px 0; } +.country-table tr:first-child:last-child td:first-child:last-child { + border-radius: 16px 16px 16px 16px; +} + .coin-table { width: calc(95% + 32px); white-space: nowrap; diff --git a/src/world/coins/br/index.gsp b/src/world/coins/br/index.gsp new file mode 100644 index 0000000..8d7f672 --- /dev/null +++ b/src/world/coins/br/index.gsp @@ -0,0 +1,47 @@ +html lang="en" { + head { + __include(head.gsp) + title {-Brazilian Coins} + } + + body { + nav { + __include(nav.gsp) + __include(world/nav.coins.gsp) + } + + main { + section { + header { + h1 {-Brazilian Coins} + } + } + + br{}br{} + + section { __include(table-key.gsp) } + + br{}br{} + + section .cl-section .slant-down { + div { + table .coin-table cellspacing="0" { + thead { + tr { + th colspan="7" {-R$1 Olympic Reais} + } + tr { + th colspan="1" {-Year} + th colspan="6" {-Topic} + } + } + + tbody { __esyscmd(gen-olympic-reais) } + } + } + } + + section { __include(foot.gsp) } + } + } +} diff --git a/src/world/index.gsp b/src/world/index.gsp index 1e6c651..26dcb4b 100644 --- a/src/world/index.gsp +++ b/src/world/index.gsp @@ -22,6 +22,7 @@ html lang="en" { table .country-table { tbody { tr { + td {a href="coins/br" {-Brazil}} } } } diff --git a/src/world/nav.coins.gsp b/src/world/nav.coins.gsp new file mode 100644 index 0000000..eb552c9 --- /dev/null +++ b/src/world/nav.coins.gsp @@ -0,0 +1,3 @@ +ul { + li {__link([/world/coins/br], [BR])} +} diff --git a/src/world/nav.notes.gsp b/src/world/nav.notes.gsp new file mode 100644 index 0000000..991d44b --- /dev/null +++ b/src/world/nav.notes.gsp @@ -0,0 +1,3 @@ +ul { + li {__link([/world/notes/ez], [EZ])} +} diff --git a/src/world/notes/ez/index.gsp b/src/world/notes/ez/index.gsp index 701ebe5..c62db8c 100644 --- a/src/world/notes/ez/index.gsp +++ b/src/world/notes/ez/index.gsp @@ -7,6 +7,7 @@ html lang="en" { body { nav { __include(nav.gsp) + __include(world/nav.notes.gsp) } main { -- cgit v1.2.3