some small adjustments

This commit is contained in:
Chris Cochrun 2022-10-31 15:48:23 -05:00
parent c11a8ec022
commit cdfbc795e0
5 changed files with 48 additions and 86 deletions

View file

@ -1,61 +0,0 @@
{{ $customcss := resources.Get "/css/custom.css" }}
{{- partial "partials/functions/warnings.html" .Site -}}
<!DOCTYPE html>
<html
lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default "en") }}
{{- . -}}
{{ end }}"
dir="{{ if .Site.Params.rtl | default false -}}
rtl
{{- else -}}
ltr
{{- end }}"
class="scroll-smooth"
data-default-appearance="{{ .Site.Params.defaultAppearance | default "light" }}"
data-auto-appearance="{{ .Site.Params.autoSwitchAppearance | default "true" }}"
>
{{- partial "head.html" . -}}
<link rel="stylesheet" href="{{ $customcss.RelPermalink }}" integrity="{{ $customcss.Data.Integrity }}">
<body
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 max-w-7xl bg-neutral text-neutral-900 dark:bg-neutral-800 dark:text-neutral sm:px-14 md:px-24 lg:px-32"
>
<div id="the-top" class="absolute flex self-center">
<a
class="px-3 py-1 text-sm -translate-y-8 rounded-b-lg bg-primary-200 focus:translate-y-0 dark:bg-neutral-600"
href="#main-content"
><span class="font-bold text-primary-600 ltr:pr-2 rtl:pl-2 dark:text-primary-400"
>&darr;</span
>{{ i18n "nav.skip_to_main" }}</a
>
</div>
{{ $header := print "partials/header/" .Site.Params.header.layout ".html" }}
{{ if templates.Exists $header }}
{{ partial $header . }}
{{ else }}
{{ partial "partials/header/basic.html" . }}
{{ end }}
<div class="relative flex flex-col grow">
<main id="main-content" class="grow">
{{ block "main" . }}{{ end }}
{{ if and (.Site.Params.footer.showScrollToTop | default true) (gt .WordCount 200) }}
<div
class="pointer-events-none absolute top-[100vh] bottom-0 w-12 ltr:right-0 rtl:left-0"
>
<a
href="#the-top"
class="pointer-events-auto sticky top-[calc(100vh-5.5rem)] flex h-12 w-12 items-center justify-center rounded-full bg-neutral/50 text-xl text-neutral-700 backdrop-blur hover:text-primary-600 dark:bg-neutral-800/50 dark:text-neutral dark:hover:text-primary-400"
aria-label="{{ i18n "nav.scroll_to_top_title" }}"
title="{{ i18n "nav.scroll_to_top_title" }}"
>
&uarr;
</a>
</div>
{{ end }}
</main>
{{- partial "footer.html" . -}}
{{ if .Site.Params.enableSearch | default false }}
{{- partial "search.html" . -}}
{{ end }}
</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<h2>Disciplemaking</h2>
TFCs core value is to follow the example of Jesus whose strategy of disciplemaking allowed Him to minister to all levels of spiritual interest at all times.
<div class="grid grid-cols-4 gap-4 md:grid-cols-2 md:container sm:grid-cols-1">
<div class="w-full ">
<h2>Lost and Seeking</h2>
<ul>
<li>The World</li>
<li>Outreach</li>
<li>Relationship Building</li>
</ul>
</div>
<div class="w-full">
<h2>Come and Grow</h2>
<ul>
<li>Growing Believers</li>
<li>Building Faith</li>
<li>Jesus Started Here</li>
</ul>
</div>
<div class="w-full">
<h2>Come and Follow</h2>
<ul>
<li>Workers</li>
<li>Equipping</li>
<li>Jesus Invited Some</li>
</ul>
</div>
<div class="w-full">
<h2>Come and Go</h2>
<ul>
<li>Leadership</li>
<li>Multiplication</li>
<li>Jesus Sent Some</li>
</ul>
</div>
</div>

View file

@ -1,26 +1,8 @@
<style>
* {
box-sizing: border-box;
}
.column {
float: left;
width: 25%;
padding: 10px;
}
.row:after {
content: "";
display: table;
clear: both;
}
</style>
<h2>Disciplemaking</h2>
TFCs core value is to follow the example of Jesus whose strategy of disciplemaking allowed Him to minister to all levels of spiritual interest at all times.
<div class="row">
<div class="column">
<div style="display: flex; flex-wrap: wrap;">
<div style="flex: 1; margin:10px; min-width:128px;">
<h2>Lost and Seeking</h2>
<ul>
<li>The World</li>
@ -28,7 +10,7 @@ TFCs core value is to follow the example of Jesus whose strategy of disciplem
<li>Relationship Building</li>
</ul>
</div>
<div class="column">
<div style="flex: 1; margin:10px; min-width:128px;">
<h2>Come and Grow</h2>
<ul>
<li>Growing Believers</li>
@ -36,7 +18,7 @@ TFCs core value is to follow the example of Jesus whose strategy of disciplem
<li>Jesus Started Here</li>
</ul>
</div>
<div class="column">
<div style="flex: 1; margin:10px; min-width:128px;">
<h2>Come and Follow</h2>
<ul>
<li>Workers</li>
@ -44,7 +26,7 @@ TFCs core value is to follow the example of Jesus whose strategy of disciplem
<li>Jesus Invited Some</li>
</ul>
</div>
<div class="column">
<div style="flex: 1; margin:10px; min-width:128px;">
<h2>Come and Go</h2>
<ul>
<li>Leadership</li>