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 }} - +
{{ site.Data.who_is_involved.text }}
- ++ {{ emojify ":house:" }} +
++ This is a community project. +
+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 @@{{ $item.right }}