From 847710ded61c95574cd519dafb100e7ac966b085 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Sun, 14 Mar 2021 13:40:51 +0100 Subject: [PATCH] print small font in black not red --- .../SandpointsTheme/layouts/edit/baseof.html | 9 +++++++++ .../SandpointsTheme/layouts/edit/list.html | 10 ++++++++++ .../layouts/partials/readdir.html | 10 ++++++++++ .../SandpointsTheme/static/css/print.css | 18 +++++++++++++----- _vendor/modules.txt | 2 +- 5 files changed, 43 insertions(+), 6 deletions(-) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html new file mode 100644 index 0000000..95528be --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html @@ -0,0 +1,9 @@ + + + + {{- .Title }} - {{ .Site.Title -}} + + + {{ block "edit" . }}{{ end }} + + diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html new file mode 100644 index 0000000..5214213 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html @@ -0,0 +1,10 @@ +{{ define "edit" }} + {{ range (readDir ".") }} + {{ if .IsDir }} +

Dir: {{ .Name }}

+ {{ partial "readdir.html" .Name }} + {{ else }} +

File: {{ .Name }} + {{ end }} + {{ end }} +{{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html new file mode 100644 index 0000000..1be8b09 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html @@ -0,0 +1,10 @@ +{{ $parentName := . }} +{{ range (readDir .) }} + {{ $currentName := printf "%s/%s" $parentName .Name }} + {{ if .IsDir }} +

_Dir: {{ $currentName }}

+ {{ partial "readdir.html" $currentName }} + {{ else }} +

_File: {{ $currentName }} + {{ end }} +{{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/print.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/print.css index 0ded15e..8dcf660 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/print.css +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/print.css @@ -6,8 +6,8 @@ } @page:left { - margin-right: 0.6in; - margin-left: 1.1in; + margin-right: 0.8in; + margin-left: 0.9in; @bottom-left-corner { content: counter(page); font-size: 1rem; @@ -21,8 +21,8 @@ } @page:right { - margin-left: 0.6in; - margin-right: 1.1in; + margin-left: 0.8in; + margin-right: 0.9in; @bottom-right-corner { content: counter(page); font-size: 1rem; @@ -56,7 +56,11 @@ padding: 0; margin: 0; } - + + .sup, + .hassup { + color: black; + } .grid { display: inline; } @@ -225,4 +229,8 @@ background: white; padding-left: 0.1rem; } + + ol[data-split-from] { + padding-left: 0.5rem; + } } diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 53d3197..20739db 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210219121445-3e058b4ebb35 +# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210314123921-28595383157a