Commit 7df9db70 authored by Zachary Seguin's avatar Zachary Seguin
Browse files

fix: Fix colouring of special headers + links

parent e8dbe1a8
Pipeline #267 passed with stages
in 11 seconds
...@@ -9,9 +9,9 @@ draft: false ...@@ -9,9 +9,9 @@ draft: false
layout: landing layout: landing
# Colours # Colours
primary: \#0eacc5 # backround primary: '#0eacc5' # backround
secondary: \#0c90a5 # border secondary: '#0c90a5' # border
tertiary: \#032126 # font tertiary: '#032126' # font
# Content # Content
highlighted: highlighted:
......
...@@ -9,9 +9,9 @@ draft: false ...@@ -9,9 +9,9 @@ draft: false
layout: landing layout: landing
# Colours # Colours
primary: \#bd92e1 # backround primary: '#bd92e1' # backround
secondary: \#a46bd5 # border secondary: '#a46bd5' # border
tertiary: \#461d68 # font tertiary: '#461d68' # font
# Content # Content
highlighted: highlighted:
......
...@@ -9,9 +9,9 @@ draft: false ...@@ -9,9 +9,9 @@ draft: false
layout: landing layout: landing
# Colours # Colours
primary: \#ee6c9e # backround primary: '#ee6c9e' # backround
secondary: \#e83f80 # border secondary: '#e83f80' # border
tertiary: \#610b2c # font tertiary: '#610b2c' # font
# Content # Content
highlighted: highlighted:
......
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
<a class="no-underline" href="{{ .Permalink }}"> <a class="no-underline" href="{{ .Permalink }}">
<div class="support-quicklink mb-2" <div class="support-quicklink mb-2"
style=" style="
--colour-primary: {{ .Params.primary | default "white" }}; --colour-primary: {{ .Params.primary | default "rgb(200, 200, 200)" | safeCSS }};
--colour-secondary: {{ .Params.secondary | default "white" }}; --colour-secondary: {{ .Params.secondary | default "gray" | safeCSS }};
--colour-tertiary: {{ .Params.tertiary | default "black" }}; --colour-tertiary: {{ .Params.tertiary | default "black" | safeCSS }};
"> ">
<p class="p-3 m-0 h5 text-uppercase">{{ .Title }}</p> <p class="p-3 m-0 h5 text-uppercase">{{ .Title }}</p>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="col order-lg-12"> <div class="col order-lg-12">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<h1 class="p-3 text-uppercase" style="border-bottom-color: {{ .Params.secondary | default "black" }}; background: {{ .Params.primary | default "white" }}; color: {{ .Params.tertiary | default "black" }}">{{ .Title }}</h1> <h1 class="p-3 text-uppercase" style="border-bottom-color: {{ .Params.secondary | default "black" | safeCSS }}; background: {{ .Params.primary | default "white" | safeCSS }}; color: {{ .Params.tertiary | default "black" | safeCSS }}">{{ .Title }}</h1>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment