WIP: convert sass to css
All checks were successful
website-main / prod-build (push) Successful in 1m7s
website-main / test-build (push) Successful in 45s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
2023-06-09 20:35:28 +02:00
parent edffb3a720
commit 96f6f10146
21 changed files with 145 additions and 171 deletions

View File

@ -10,7 +10,7 @@
</div>
<div class="col-12">
<div class="row mb-3">
<div class="col-6 mb-md-0 text-light">
<div class="col-6 mb-md-0 text-white text-body-tertiary">
<span class="fw-bold me-1">{{ i18n "posted_by" }}:</span>
{{ range $index, $elements := where (where .Site.RegularPages "Type" "author") "File.BaseFileName" "in" .Params.author }}
{{ if ne $index 0 }}, {{ end }}
@ -21,13 +21,13 @@
{{ end }}
{{ end }}
</div>
<div class="col-6 mb-3 mb-md-0 text-light">
<div class="col-6 mb-3 mb-md-0 text-body-tertiary">
<span class="fw-bold me-1">{{ i18n "date" }}:</span>
{{ time.Format "02. Jan 2006" .PublishDate }}
</div>
</div>
<div class="row">
<div class="col-12 mb-md-0 text-light">
<div class="col-12 mb-md-0 text-body-tertiary">
<span class="fw-bold me-1">{{ i18n "category" }}:</span>
{{ range $index, $elements := .Params.categories }}
{{ if ne $index 0 }}, {{ end }}

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<section class="section-sm bg-gray">
<section class="section-sm bg-body-tertiary">
<div class="container">
<div class="row">
<div class="col-lg-8 mb-4 mb-lg-0">

View File

@ -8,7 +8,7 @@
</div>
<div class="col-md-7 mb-5">
<h3>{{ .Params.Name }}</h3>
<h6 class="text-color">{{ .Title }}</h6>
<h6 class="text-body-secondary">{{ .Title }}</h6>
<div class="content">
{{ .Content | markdownify }}
</div>

View File

@ -216,7 +216,7 @@
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h2 class="text-white font-secondary mb-0">{{ .title | markdownify }}</h2>
<h2 class="text-white mb-0">{{ .title | markdownify }}</h2>
<h5 class="section-title text-white">{{ .subtitle | markdownify }}</h5>
{{ if .button.enable }}
{{ with .button }}
@ -235,7 +235,7 @@
{{ end }}
{{ if $data.homepage.termine.enable }}
<section class="section-sm bg-gray">
<section class="section-sm bg-body-tertiary">
<div class="container">
<div class="row">
<div class="col-12">
@ -281,8 +281,8 @@
<div class="container">
<div class="row align-items-center">
<div class="col-md-7 order-2 order-md-1">
<h3 class="section-title text-white font-secondary">{{ .title | markdownify }}</h2>
<div class="content ">
<h3 class="section-title text-white">{{ .title | markdownify }}</h2>
<div class="content text-white text-opacity-50">
{{ .content | markdownify }}
</div>
{{ if .button.enable }}

View File

@ -8,7 +8,7 @@ crossorigin=""/>
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<section class="section-sm pb-0 bg-gray">
<section class="section-sm pb-0 bg-body-tertiary">
<div class="container">
<div class="row">
<div class="col-lg-6 mb-4 mb-lg-0">
@ -48,7 +48,7 @@ crossorigin=""/>
</div>
</section>
<section class="section-sm bg-gray">
<section class="section-sm bg-body-tertiary">
<div class="container">
<div class="row">
<div id="map" class="card col-12" style="height: 50vh;">

View File

@ -4,7 +4,7 @@
<div class="row">
<div class="col-lg-3 col-sm-8 mb-5 mb-lg-0">
<a class="logo-footer" href="{{ .Site.BaseURL | relLangURL }}"><img class="mb-4" height="60" src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"></a>
<ul class="list-unstyled">
<ul class="list-unstyled text-white text-opacity-50">
<li class="mb-4">
<a href="{{ .Site.Params.route_link }}">{{ .Site.Params.address | markdownify }}</a>
</li>
@ -22,7 +22,7 @@
<h4 class="text-white mb-5 text-uppercase">{{ i18n "links" }}</h4>
<ul class="list-unstyled">
{{ range .Site.Menus.footer }}
<li class="mb-3"><a class="text-color" href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
<li class="mb-3"><a class="text-white text-opacity-50" href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
@ -30,7 +30,7 @@
<h4 class="text-white mb-5 text-uppercase">{{ i18n "clubs_footer" }}</h4>
<ul class="list-unstyled">
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
<li class="mb-3"><a class="text-white text-opacity-50" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
@ -38,7 +38,7 @@
<h4 class="text-white mb-5 text-uppercase">Aktuelles</h4>
<ul class="list-unstyled">
{{ range first 5 (where .Site.RegularPages "Type" "post")}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title | truncate 35 }}</a></li>
<li class="mb-3"><a class="text-white text-opacity-50" href="{{ .Permalink }}">{{ .Title | truncate 35 }}</a></li>
{{ end }}
</ul>
</div>

View File

@ -6,7 +6,7 @@
<div class="col-lg-4 text-center text-lg-start">
<ul class="list-inline">
{{ range .Site.Params.social }}
<li class="list-inline-item mx-0"><a class="d-inline-block p-2 text-color" href="{{ .link | safeURL }}"><i
<li class="list-inline-item mx-0"><a class="d-inline-block p-2 text-body-secondary" href="{{ .link | safeURL }}"><i
class="{{ .icon }}"></i></a></li>
{{ end }}
</ul>
@ -14,11 +14,11 @@
<div class="col-lg-8 text-center text-lg-end">
<ul class="list-inline">
<li class="list-inline-item">
<a class="text-color me-3" href="tel:{{ .Site.Params.mobile }}"><strong>{{ i18n "call" | upper }} :
<a class="text-body-secondary me-3" href="tel:{{ .Site.Params.mobile }}"><strong>{{ i18n "call" | upper }} :
</strong> {{ .Site.Params.mobile }}</a>
</li>
<li class="list-inline-item">
<a class="text-color" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} :
<a class="text-body-secondary" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} :
</strong> {{ .Site.Params.email_label | safeHTML }}</a>
</li>
</ul>

View File

@ -3,11 +3,11 @@
<div class="row">
<div class="col-md-8 position-relative">
<ul class="list-inline">
<li class="list-inline-item h2" data-pagefind-ignore><a class="text-primary font-secondary" href="{{ if .Params.Previous.enable }}{{ .Params.Previous.link }}{{ else if .Parent.Page }}{{ .Parent.Page.Permalink }}{{ else }}{{ .Site.baseURL | absLangURL }}{{ end }}">{{ if .Params.previous.enable }}{{ .Params.previous.title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}{{ .Site.Params.home }}{{ end }}{{ end }}</a></li>
<li class="list-inline-item h2" data-pagefind-ignore><a class="text-primary font-header" href="{{ if .Params.Previous.enable }}{{ .Params.Previous.link }}{{ else if .Parent.Page }}{{ .Parent.Page.Permalink }}{{ else }}{{ .Site.baseURL | absLangURL }}{{ end }}">{{ if .Params.previous.enable }}{{ .Params.previous.title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}{{ .Site.Params.home }}{{ end }}{{ end }}</a></li>
<li class="list-inline-item h2"><i class="mdi mdi-chevron-double-right text-white"></i></li>
<li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li>
<li class="list-inline-item text-white h2 font-header">{{ .Title }}</li>
</ul>
<p class="text-lighten">{{ .Params.description | markdownify }}</p>
<p class="text-white text-opacity-75">{{ .Params.description | markdownify }}</p>
</div>
</div>
</div>

View File

@ -47,7 +47,7 @@
{{ if and .Params.pretext (ne .Params.pretext "\n\n\n") }}
{{ partial "modal" (dict "title" .Title "content" .Params.pretext) }}
{{ end }}
<div id="wc-canvas" class="wc-canvas"></div>
<div id="wc-canvas"></div>
{{ $topics := slice }}
{{ if .Params.pretext }}
{{ $topics = $topics | append (slice (slice .Params.Title 200 (md5 .Title))) }}