hack.less wip

master
Ingolf Wagner 2021-08-27 08:36:35 +02:00
parent 827182f830
commit 8ee2ec2b7c
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
8 changed files with 38 additions and 8 deletions

View File

@ -1,6 +1,5 @@
---
title: About me
menu: slides
---
I'm a freelancing Mathematician, Full Stack Developer and DevOps.

View File

@ -10,6 +10,30 @@ summary: >
In this article we are discussing a concrete setup with concrete tools and a concrete language.
But the solutions described here, are intended to help you with your set up.
## Flex box
{{% flexbox %}}
{{% flex-third %}}1/3{{% /flex-third %}}
{{% flex-third %}}2/3{{% /flex-third %}}
{{% flex-third %}}3/3{{% /flex-third %}}
{{% flex-half%}}1/2{{% /flex-half %}}
{{% flex-half%}}2/2{{% /flex-half %}}
{{% flex-full%}}1/1{{% /flex-full %}}
{{% /flexbox %}}
## Flex box in Big Content
{{% content-big %}}
{{% flexbox %}}
{{% flex-third %}}1/3{{% /flex-third %}}
{{% flex-third %}}2/3{{% /flex-third %}}
{{% flex-third %}}3/3{{% /flex-third %}}
{{% flex-half%}}1/2{{% /flex-half %}}
{{% flex-half%}}2/2{{% /flex-half %}}
{{% flex-full%}}1/1{{% /flex-full %}}
{{% /flexbox %}}
{{% /content-big %}}
## Listings
Here are the Tools used.

View File

@ -11,15 +11,10 @@
{{ $current := . }}
{{ range .Site.Menus.main }}
{{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
<li {{if $active}}class="active" {{end}}>
<a href="{{ .URL }}" title="{{ .Title }}"> {{ .Name }} </a>
</li>
{{ end }}
</ul>
</nav>

View File

@ -5,9 +5,9 @@
<ul class="pages-list">
{{ range (where site.RegularPages "Type" "in" site.Params.mainSections).ByDate.Reverse }}
<li class="page-list-item">
<li>
<a href="{{.URL}}">
<h3> {{ .Title }} </h3>
{{ .Title }}
<p>
{{ .Param "summary" }}
</p>

View File

@ -0,0 +1,3 @@
<div style="flex:0 0 100%">
{{ .Inner }}
</div>

View File

@ -0,0 +1,3 @@
<div style="flex:0 0 50%">
{{ .Inner }}
</div>

View File

@ -0,0 +1,3 @@
<div style="flex:0 0 33.3%">
{{ .Inner }}
</div>

View File

@ -0,0 +1,3 @@
<div style="display:flex;flex-wrap:wrap;">
{{ .Inner }}
</div>