forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
e47dfd6e56
commit
bd7897ba03
7
content/.directory
Normal file
7
content/.directory
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Dolphin]
|
||||
HeaderColumnWidths=733,143,94,163
|
||||
PreviewsShown=false
|
||||
Timestamp=2022,4,11,18,0,21.096
|
||||
Version=4
|
||||
ViewMode=1
|
||||
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_type,Details_permissions,CustomizedDetails
|
Binary file not shown.
Before Width: | Height: | Size: 217 KiB |
Binary file not shown.
Before Width: | Height: | Size: 561 KiB |
|
@ -4,6 +4,7 @@ article {
|
|||
margin-left: 1rem;
|
||||
background-color: var(--background);
|
||||
padding: 1rem;
|
||||
align-items: stretch;
|
||||
margin-bottom: 2rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
|
|
@ -12,3 +12,7 @@ input, textarea {
|
|||
background-color: var(--background-body);
|
||||
color: var(--text-link)
|
||||
}
|
||||
|
||||
#display {
|
||||
white-space: pre; display: none; background: var(--background-body); padding: 1rem 0 1rem 1rem; margin-top: 1rem;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@ h1 {
|
|||
padding-right: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
|
@ -38,11 +37,12 @@ aside {
|
|||
}
|
||||
|
||||
section {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
margin-left: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 1rem;
|
||||
padding: 1rem;
|
||||
align-items: stretch;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
@keyframes color {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{{ else if eq .Params.tool "nottranslated" }}
|
||||
{{ $partial = "layout/nottranslated" }}
|
||||
{{ end }}
|
||||
<section>
|
||||
<article>
|
||||
{{ partial $partial (dict "context" . "pic" $pic "content" .Content "partial_before" $partial_before "type" "article") }}
|
||||
</section>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
<div id="articlepicture" class="{{ $pic }}" >
|
||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||
{{ if ne .type "list" }}</a>{{ end }}
|
||||
{{ if eq .type "article" }}{{ end }}
|
||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- if or .context.Content .context.Summary -}}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<label><input type="checkbox" name="{{ .title }}" id="{{ .title }}" value="{{ .name }}" {{ .Scratch.Get "requiredtext" }}>{{- $name -}}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
||||
</div>
|
||||
{{ else if eq .input_type "results" }}
|
||||
<div id='display' style="white-space: pre; display: none; background: var(--background-body); padding: 1rem 0 1rem 1rem; margin-top: 1rem;"></div>
|
||||
<div id='display'></div>
|
||||
{{ else if eq .input_type "submit" }}
|
||||
<div class="margin_top_1rem {{ if .group }}visibleIf margin_left_1rem" data-visibleif-rule="{{ .group }}group == 'true'{{ end }}">
|
||||
<input type="{{ .input_type }}" value="{{- $name -}}" onclick="showInput(event);" />
|
||||
|
@ -60,10 +60,9 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ else if eq .title "foundations" }}
|
||||
{{ range $pages }}
|
||||
{{- with .Params.foundations -}}
|
||||
{{- $finale = $finale | append . -}}
|
||||
{{ end }}
|
||||
{{ range resources.Match "/foundations/*" }}
|
||||
{{ $n := path.Base (strings.TrimSuffix (path.Ext .Name) .Name) }}
|
||||
{{- $finale = $finale | append $n -}}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ range $pages }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user