diff --git a/config.toml b/config.toml index ce23df7..b566342 100644 --- a/config.toml +++ b/config.toml @@ -13,8 +13,9 @@ theme = "cloud.autonomic.zone" url = "https://docs.cloud.autonomic.zone" weight = 2 - -# HACK: DO NOT REMOVE -# For some reason, having 0 params means that the Data map does not work. -[Params] -hello = "world" +[params] + [params.links] + docs = "https://docs.cloud.autonomic.zone/" + docsfaq = "https://docs.cloud.autonomic.zone/faq/" + getinvolved = "" + autonomicSite = "https://autonomic.zone" diff --git a/themes/cloud.autonomic.zone/assets/scss/main.scss b/themes/cloud.autonomic.zone/assets/scss/main.scss index 0028ac4..33477de 100644 --- a/themes/cloud.autonomic.zone/assets/scss/main.scss +++ b/themes/cloud.autonomic.zone/assets/scss/main.scss @@ -23,6 +23,8 @@ $button-ghost-hover-color: $white; $button-text-hover-color: $white; $button-focus-box-shadow-size: 0; + + @import "./bulma/bulma.sass"; @mixin define-manrope-family($weight, $uri) { @@ -38,6 +40,7 @@ $button-focus-box-shadow-size: 0; @font-face { @include define-manrope-family(bold, '../font/manrope.bold.woff2') } + @font-face { @include define-manrope-family(300, '../font/manrope.light.woff2') } @@ -46,6 +49,14 @@ $button-focus-box-shadow-size: 0; @include define-manrope-family(medium, '../font/manrope.medium.woff2') } +@font-face { + font-family: "lora"; + src: url("../font/Lora-Italic.woff2"); + font-weight: 300; + font-style: italic; +} + + body { background-color: $bg-color; color: $text-color; @@ -67,11 +78,48 @@ body { } } - .hr-header { @include thick-hr(); } +button { + border-radius: 0 !important; +} + +button.grey-button { + color: $text-color !important; + background-color: rgba(0,0,0,0) !important; + border-color: $text-color !important; + a { + color: $text-color; + } + &:hover { + border-color: black !important; + } +} + +button#faq-button { + margin: 50px 0 30px 0; +} + +#get-involved { + margin: 20px 0; + >.hero-body { + margin: 20px 0; + } + p { + line-height: 1 !important; + } + p:not(:last-child) { + padding-bottom: 20px; + } + +} + +#community-project { + font-family: "lora"; +} + hr { background-color: $text-color; border: none; @@ -90,7 +138,6 @@ hr { } a { color: $white; - text-decoration: underline; } .content { padding-bottom: 20px; @@ -107,7 +154,6 @@ hr { } - // Do not show server image when using mobile viewport // Is a little bigger than the actual mobile viewport in bulma due to the text overlapping with the server icon @media all and (min-width: 769px) { diff --git a/themes/cloud.autonomic.zone/layouts/index.html b/themes/cloud.autonomic.zone/layouts/index.html index fda087f..8558437 100644 --- a/themes/cloud.autonomic.zone/layouts/index.html +++ b/themes/cloud.autonomic.zone/layouts/index.html @@ -4,7 +4,8 @@ {{ partial "index/underline_points.html" (dict "context" . "title" "benefits" "data" site.Data.benefits) }} {{ partial "index/underline_points.html" (dict "context" . "title" "faq" "data" site.Data.faq) }} {{ partial "index/autonomic_hero.html" (dict "context" . "data" site.Data) }} -{{ partial "index/open_collective.html" (dict "context" . "data" site.Data) }} + +{{ partial "index/community_project.html" (dict "context" . "data" site.Data) }} {{ end }} diff --git a/themes/cloud.autonomic.zone/layouts/partials/head.html b/themes/cloud.autonomic.zone/layouts/partials/head.html index dcbe3e4..0317614 100644 --- a/themes/cloud.autonomic.zone/layouts/partials/head.html +++ b/themes/cloud.autonomic.zone/layouts/partials/head.html @@ -4,9 +4,8 @@ {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{/* scss compiling */}} - {{ $cssOutput := "css/style.css" }} - {{ $options := (dict "targetPath" $cssOutput "outputStyle" "compressed") }} + {{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed") }} {{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options }} - + {{ $title }} diff --git a/themes/cloud.autonomic.zone/layouts/partials/index/autonomic_hero.html b/themes/cloud.autonomic.zone/layouts/partials/index/autonomic_hero.html index 84b6641..ad1cff5 100644 --- a/themes/cloud.autonomic.zone/layouts/partials/index/autonomic_hero.html +++ b/themes/cloud.autonomic.zone/layouts/partials/index/autonomic_hero.html @@ -10,7 +10,7 @@

{{ site.Data.who_is_involved.text }}

- +
diff --git a/themes/cloud.autonomic.zone/layouts/partials/index/community_project.html b/themes/cloud.autonomic.zone/layouts/partials/index/community_project.html new file mode 100644 index 0000000..f5ebe64 --- /dev/null +++ b/themes/cloud.autonomic.zone/layouts/partials/index/community_project.html @@ -0,0 +1,13 @@ +
+
+

+ {{ emojify ":house:" }} +

+

+ This is a community project. +

+
+ +
+
+
\ No newline at end of file diff --git a/themes/cloud.autonomic.zone/layouts/partials/index/server_hero.html b/themes/cloud.autonomic.zone/layouts/partials/index/server_hero.html index 89ae2c3..d3a37f7 100644 --- a/themes/cloud.autonomic.zone/layouts/partials/index/server_hero.html +++ b/themes/cloud.autonomic.zone/layouts/partials/index/server_hero.html @@ -12,7 +12,7 @@ -
+

Learn More

diff --git a/themes/cloud.autonomic.zone/layouts/partials/index/underline_points.html b/themes/cloud.autonomic.zone/layouts/partials/index/underline_points.html index bf9e7f3..7fd26b9 100644 --- a/themes/cloud.autonomic.zone/layouts/partials/index/underline_points.html +++ b/themes/cloud.autonomic.zone/layouts/partials/index/underline_points.html @@ -3,6 +3,7 @@

{{ .title }}


{{ $title := lower .title }} + {{ $amount := len .data }} {{ range $index, $item := .data }} {{/* Don't place
if it is the first in the list */}} {{ if gt $index 0 }}
{{ end }} @@ -18,6 +19,11 @@

{{ $item.right }}

+ {{ if and (eq $amount (add $index 1)) (eq $title "faq") }} + + {{ end }}
{{ end }} diff --git a/themes/cloud.autonomic.zone/static/font/Lora-Italic.woff2 b/themes/cloud.autonomic.zone/static/font/Lora-Italic.woff2 new file mode 100644 index 0000000..36bea07 Binary files /dev/null and b/themes/cloud.autonomic.zone/static/font/Lora-Italic.woff2 differ diff --git a/themes/cloud.autonomic.zone/static/font/publicsans-bold.woff2 b/themes/cloud.autonomic.zone/static/font/publicsans-bold.woff2 deleted file mode 100644 index 41bc0c8..0000000 Binary files a/themes/cloud.autonomic.zone/static/font/publicsans-bold.woff2 and /dev/null differ diff --git a/themes/cloud.autonomic.zone/static/font/publicsans-light.woff2 b/themes/cloud.autonomic.zone/static/font/publicsans-light.woff2 deleted file mode 100644 index 2c2d78b..0000000 Binary files a/themes/cloud.autonomic.zone/static/font/publicsans-light.woff2 and /dev/null differ