cleanup style and links

This commit is contained in:
L3D 2021-12-23 23:49:35 +01:00
parent ca3a7030ee
commit c4b29bb216
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 4 additions and 22 deletions

View file

@ -326,27 +326,6 @@ header {
z-index: 5; z-index: 5;
} }
.bg_box__unicorns {
grid-row: 2 / span 5;
grid-column: 1 / span 5;
background-image: url("../images/background_waffle.svg");
background-position: top 5% left 95%;
background-size: auto 80%;
background-repeat: no-repeat;
z-index: 10;
}
.slim_box__unicorns {
grid-row: 1 / span 2;
grid-column: 1 / span 5;
background-image: url("../images/translucent_unicorns.svg");
background-position: top 1rem left 95%;
background-size: auto 115%;
background-repeat: no-repeat;
z-index: 10;
margin-bottom: -6em;
}
.bg_box__big_bg { .bg_box__big_bg {
grid-row: 3 / span 2; grid-row: 3 / span 2;
grid-column: 1 / span 5; grid-column: 1 / span 5;

View file

@ -14,11 +14,14 @@
{{- '\n ' -}} <div class="content__inner_box"> {{- '\n ' -}} <div class="content__inner_box">
{{- '\n ' -}} {{- '\n ' -}}
<h1 id="{{- child.parent._gid[:8] -}}-{{- child.parent._gid[-6:-2] -}}-{{- child._gid[-8:-4] }}-{{- child._gid[-4:] -}}-{{- child._gid[:12] -}}"> <h1 id="{{- child.parent._gid[:8] -}}-{{- child.parent._gid[-6:-2] -}}-{{- child._gid[-8:-4] }}-{{- child._gid[-4:] -}}-{{- child._gid[:12] -}}">
<a href="{{ child.parent | url }}">
{%- if child.recipe_name and child.recipe_name != "" -%} {%- if child.recipe_name and child.recipe_name != "" -%}
{{ child.recipe_name }}</h1> {{ child.recipe_name }}</h1>
{%- else -%} {%- else -%}
{{ child.title }}</h1> {{ child.title }}
{%- endif -%} {%- endif -%}
</a>
</h1>
{%- if child.servings is defined and child.servings != "" -%} {%- if child.servings is defined and child.servings != "" -%}
{%- if child.servings.blocks != [] -%} {%- if child.servings.blocks != [] -%}