!publish! more of a print fine tuning...

This commit is contained in:
Marcell Mars 2020-04-05 01:53:10 +02:00
parent 0ab7f88cba
commit 08ef5b628a
3 changed files with 12 additions and 23 deletions

View File

@ -63,9 +63,6 @@
@apply font-vg5000 text-2xl text-AuChico;
}
.ddmenu {
@apply pt-16;
}
article ul li:before {
content: "";
}

View File

@ -62,16 +62,19 @@ img {
/* purgecss ignore */
h1 {
@apply text-3xl;
break-after: avoid;
}
/* purgecss ignore */
h2 {
@apply text-2xl;
break-after: avoid;
}
/* purgecss ignore */
h3 {
@apply text-xl;
break-after: avoid;
}
/* purgecss ignore */

View File

@ -1,31 +1,23 @@
{{ define "main" }}
<div class="frontpage">
<span class="title-pretext">syllabus ⦚ </span><span class="title-text pt-6">{{ .Site.Home.Title }}</span>
<div class="pb-6"> <span class="title-pretext">syllabus ⦚ </span><span class="title-text">{{ .Site.Home.Title }}</span></div>
<div class="ddmenu">
<input id="toggly" type="checkbox">
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has topics ▽</label>
<div class="hiddendiv">
<ul class="mt-4">
<div class="sidebar-title mb-1 pt-16 mb-4">▒▒ has topics ▽</div>
<ul class="mt-8">
{{ range .Site.Home.Params.has_topics }}
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
<li><a class="sidebar-list text-base toc" href="#{{ .File.LogicalName }}">> {{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</div>
</div>
</div>
{{ range .Site.Home.Params.has_topics }}
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">topic ⦚ {{ .Title }}</div>
<span class="topic-pretext">topic ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
<div class="ddmenu">
<input id="toggly" type="checkbox">
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has sessions ▽</label>
<div class="hiddendiv">
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic"><a href="#{{ .File.LogicalName }}"> topic ⦚ {{ .Title }}</a></div>
<div class=""> <span class="topic-pretext">topic ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span></div>
<div class="sidebar-title mb-1 pt-16">▒▒ has sessions ▽</label>
<ul class="mt-4">
{{ range .Params.has_sessions }}
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
@ -34,16 +26,13 @@
{{ end }}
</ul>
</div>
</div>
<div>{{ .Content }}</div>
{{ range .Params.has_sessions }}
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">session ⦚ {{ .Title }}</div>
<span class="topic-pretext">session ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
<div>{{ .Content }} </div>
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic"><a href="#{{ .File.LogicalName }}">session ⦚ {{ .Title }}</a></div>
<div><span class="topic-pretext">session ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span></div>
<div class="pt-16">{{ .Content }} </div>
{{ end }}
{{ end }}