style update mainpage
This commit is contained in:
@@ -41,9 +41,9 @@
|
||||
{{ else }}
|
||||
<link href='{{ "css/webfonts.min.css" | relURL }}' rel="stylesheet" />
|
||||
{{ end }}
|
||||
<div class="flex items-center justify-between flex-wrap bg-gray-800 p-8 text-white">
|
||||
<div class="flex items-center justify-between flex-wrap bg-darkergrey-custom p-8 text-white">
|
||||
<div class="items-center text-xl text-grey-900 mr-6">
|
||||
{{ .Site.Params.site.name }}
|
||||
© {{site.Title}} {{ now.Year }} Alle Rechte Vorbehalten.
|
||||
</div>
|
||||
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto" id="mobileMenu">
|
||||
<div class="text-lg lg:flex-grow">
|
||||
@@ -61,7 +61,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copy pl-8 py-5 bg-tlgray-700 text-white text-md">
|
||||
© {{site.Title}} {{ now.Year }} All Rights Reserved.
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -28,11 +28,11 @@
|
||||
<div class="text-lg">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL | safeURL }}"
|
||||
class="duration-200 block mt-4 lg:inline-block lg:mt-0 text-black hover:opacity-60 mr-8">
|
||||
class="navbar-link duration-200 block mt-4 lg:inline-block lg:mt-0 text-black hover:opacity-60 mr-8">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<div class="flex flex-wrap justify-center text-gray-300 my-5">
|
||||
<a href="blog/"
|
||||
class="duration-200 px-6 py-3 bg-tlgray-800 hover:opacity-80 hover:text-white relative block focus:outline-none text-md text-center">
|
||||
All Posts >
|
||||
class="duration-200 px-6 py-3 bg-white-custom hover:opacity-80 hover:text-white relative block focus:outline-none text-md text-center">
|
||||
Alle Beiträge >
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{if .Site.Data.features}}
|
||||
<div class="bg-tlgray-200 py-6 md:py-10">
|
||||
<div class="features-box bg-tlgray-200 py-6 md:py-10">
|
||||
<div class="container mx-auto max-w-7xl">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3">
|
||||
{{ range .Site.Data.features }}
|
||||
{{if .link }}<a href="{{ .link }}">{{ end }}
|
||||
<div
|
||||
class="bg-white text-center mx-2 px-4 py-10 flex flex-row justify-center items-center duration-300 transform h-full hover:-translate-y-1 hover:shadow-lg">
|
||||
class="feature-box text-center mx-2 px-4 py-10 flex flex-row justify-center items-center duration-300 transform h-full hover:-translate-y-1 hover:shadow-lg">
|
||||
<div class="p-1">
|
||||
{{if .icon }}
|
||||
<span class="{{ .icon }} text-5xl"></span>
|
||||
@@ -20,4 +20,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
src='{{ "/img/default.jpg" | relURL }}'>
|
||||
{{ end }}
|
||||
<div
|
||||
class="border-r border-b border-l border-gray-400 lg:border-l-0 lg:border-t lg:border-gray-400 relative pl-4 p-6 justify-between leading-normal max-w-full w-full">
|
||||
<div class="text-gray-900 font-bold text-xl mb-2">{{ .Title }}</div>
|
||||
<p class="text-gray-700 text-base pb-5">{{ substr .Summary 0 130 | plainify | htmlUnescape }}...</p>
|
||||
<p class="text-sm text-gray-600 items-center">
|
||||
class="border-r border-b border-l border-green-custom lg:border-l-0 lg:border-t lg:border-green-custom relative pl-4 p-6 justify-between leading-normal max-w-full w-full">
|
||||
<div class="text-green-custom font-bold text-xl mb-2">{{ .Title }}</div>
|
||||
<p class="text-white-custom text-base pb-5">{{ substr .Summary 0 130 | plainify | htmlUnescape }}...</p>
|
||||
<p class="text-sm text-lightgray-custom items-center">
|
||||
<time>{{ .Date.Format "2006/01/02" }}</time>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user