From 7bf64eb559636422188a6d129b9ceb848a702738 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 23 Jun 2022 17:21:52 +0200 Subject: [PATCH] Add first foundation content --- content/foundation/_index.md | 32 +++++++++- data/kif/board.yaml | 10 +++ themes/kosmos-22/assets/css/main.css | 61 ++++++++----------- .../kosmos-22/layouts/partials/kif/board.html | 8 +++ .../kosmos-22/layouts/partials/projects.html | 2 +- .../layouts/partials/services/community.html | 2 +- themes/kosmos-22/source/main.css | 10 +-- 7 files changed, 83 insertions(+), 42 deletions(-) create mode 100644 data/kif/board.yaml create mode 100644 themes/kosmos-22/layouts/partials/kif/board.html diff --git a/content/foundation/_index.md b/content/foundation/_index.md index ea26fd8..4085e4d 100644 --- a/content/foundation/_index.md +++ b/content/foundation/_index.md @@ -8,4 +8,34 @@ menu: weight: 10 --- -Foundation content +_Introduction_ + +## Our Mission + +_Content here_ + +## Board of Directors + +{{< partial "kif/board" >}} + +## Contact + +
+
+ + ### Snail Mail + + Stichting Kosmos Infrastructure Foundation + Herengracht 449A + 1017 BR Amsterdam + Netherlands + +
+
+ + ### E-Mail + + [foundation@kosmos.org](mailto:foundation@kosmos.org) + +
+
diff --git a/data/kif/board.yaml b/data/kif/board.yaml new file mode 100644 index 0000000..934aff9 --- /dev/null +++ b/data/kif/board.yaml @@ -0,0 +1,10 @@ +- name: Sebastian Kippe + role: Chairman +- name: Garret Alfert + role: Secretary +- name: Michael Bumann + role: Treasurer +- name: Greg Karékinian + role: Director +- name: Nick Jennings + role: Director diff --git a/themes/kosmos-22/assets/css/main.css b/themes/kosmos-22/assets/css/main.css index 40755b9..5a9a129 100644 --- a/themes/kosmos-22/assets/css/main.css +++ b/themes/kosmos-22/assets/css/main.css @@ -425,16 +425,22 @@ Ensure the default browser behavior of the `hidden` attribute. h2 { margin-bottom: 1.5rem; + margin-top: 2rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; } -h2:not(:first-of-type) { - margin-top: 2rem; +h3 { + margin-bottom: 1rem; + font-size: 0.875rem; + line-height: 1.25rem; + text-transform: uppercase; + --tw-text-opacity: 1; + color: rgb(113 113 122 / var(--tw-text-opacity)); } -h3 { +h3:not(:first-child) { margin-top: 1.5rem; } @@ -527,20 +533,20 @@ p + p { margin-right: auto; } -.-mt-12 { - margin-top: -3rem; -} - .mb-8 { margin-bottom: 2rem; } +.-mt-12 { + margin-top: -3rem; +} + .mt-2 { margin-top: 0.5rem; } -.mb-4 { - margin-bottom: 1rem; +.mt-6 { + margin-top: 1.5rem; } .-mt-0\.5 { @@ -627,6 +633,10 @@ p + p { grid-template-columns: repeat(1, minmax(0, 1fr)); } +.grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); +} + .items-center { align-items: center; } @@ -658,36 +668,11 @@ p + p { border-color: rgb(20 184 166 / var(--tw-border-opacity)); } -.bg-zinc-100 { - --tw-bg-opacity: 1; - background-color: rgb(244 244 245 / var(--tw-bg-opacity)); -} - .bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } -.bg-zinc-300 { - --tw-bg-opacity: 1; - background-color: rgb(212 212 216 / var(--tw-bg-opacity)); -} - -.bg-teal-100 { - --tw-bg-opacity: 1; - background-color: rgb(204 251 241 / var(--tw-bg-opacity)); -} - -.bg-zinc-800 { - --tw-bg-opacity: 1; - background-color: rgb(39 39 42 / var(--tw-bg-opacity)); -} - -.bg-zinc-200 { - --tw-bg-opacity: 1; - background-color: rgb(228 228 231 / var(--tw-bg-opacity)); -} - .bg-\[url\(\'\/img\/lagoon-close-02\.jpg\'\)\] { background-image: url('/img/lagoon-close-02.jpg'); } @@ -760,6 +745,10 @@ p + p { } @media (min-width: 640px) { + .sm\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } @@ -774,6 +763,10 @@ p + p { grid-template-columns: repeat(2, minmax(0, 1fr)); } + .md\:grid-cols-5 { + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } diff --git a/themes/kosmos-22/layouts/partials/kif/board.html b/themes/kosmos-22/layouts/partials/kif/board.html new file mode 100644 index 0000000..591e285 --- /dev/null +++ b/themes/kosmos-22/layouts/partials/kif/board.html @@ -0,0 +1,8 @@ + diff --git a/themes/kosmos-22/layouts/partials/projects.html b/themes/kosmos-22/layouts/partials/projects.html index 5bfd559..eb6d2ae 100644 --- a/themes/kosmos-22/layouts/partials/projects.html +++ b/themes/kosmos-22/layouts/partials/projects.html @@ -7,7 +7,7 @@
{{ range .links }}
-

{{ .section }}

+

{{ .section }}

    {{ range .items }}
  • {{ .title | markdownify }}
  • diff --git a/themes/kosmos-22/layouts/partials/services/community.html b/themes/kosmos-22/layouts/partials/services/community.html index d3558d7..6cb227c 100644 --- a/themes/kosmos-22/layouts/partials/services/community.html +++ b/themes/kosmos-22/layouts/partials/services/community.html @@ -1,5 +1,5 @@ {{ range site.Data.services.community }} -

    {{ .category }}

    +

    {{ .category }}

      {{ range .items }}
    • diff --git a/themes/kosmos-22/source/main.css b/themes/kosmos-22/source/main.css index a4243c4..8430510 100644 --- a/themes/kosmos-22/source/main.css +++ b/themes/kosmos-22/source/main.css @@ -4,14 +4,14 @@ @layer base { h2 { - @apply text-lg font-bold mb-6; - } - - h2:not(:first-of-type) { - @apply mt-8; + @apply text-lg font-bold mb-6 mt-8; } h3 { + @apply mb-4 text-sm uppercase text-zinc-500; + } + + h3:not(:first-child) { @apply mt-6; }