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
layout: landing
# Colours
primary: \#0eacc5 # backround
secondary: \#0c90a5 # border
tertiary: \#032126 # font
primary: '#0eacc5' # backround
secondary: '#0c90a5' # border
tertiary: '#032126' # font
# Content
highlighted:
......
......@@ -9,9 +9,9 @@ draft: false
layout: landing
# Colours
primary: \#bd92e1 # backround
secondary: \#a46bd5 # border
tertiary: \#461d68 # font
primary: '#bd92e1' # backround
secondary: '#a46bd5' # border
tertiary: '#461d68' # font
# Content
highlighted:
......
......@@ -9,9 +9,9 @@ draft: false
layout: landing
# Colours
primary: \#ee6c9e # backround
secondary: \#e83f80 # border
tertiary: \#610b2c # font
primary: '#ee6c9e' # backround
secondary: '#e83f80' # border
tertiary: '#610b2c' # font
# Content
highlighted:
......
......@@ -50,9 +50,9 @@
<a class="no-underline" href="{{ .Permalink }}">
<div class="support-quicklink mb-2"
style="
--colour-primary: {{ .Params.primary | default "white" }};
--colour-secondary: {{ .Params.secondary | default "white" }};
--colour-tertiary: {{ .Params.tertiary | default "black" }};
--colour-primary: {{ .Params.primary | default "rgb(200, 200, 200)" | safeCSS }};
--colour-secondary: {{ .Params.secondary | default "gray" | safeCSS }};
--colour-tertiary: {{ .Params.tertiary | default "black" | safeCSS }};
">
<p class="p-3 m-0 h5 text-uppercase">{{ .Title }}</p>
</div>
......
......@@ -4,7 +4,7 @@
<div class="col order-lg-12">
<div class="row">
<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 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