Browse Source

updated vendor

master
Marcell Mars 2 years ago
parent
commit
2edad77a52
  1. 10
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css
  2. 74
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css
  3. 2
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css
  4. 11
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html
  5. 34
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html
  6. 2
      _vendor/modules.txt

10
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css generated vendored

@ -201,6 +201,16 @@ body {
color: black;
}
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.4em;
}
.headiter {
display: flex;
justify-content: space-between;

74
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css generated vendored

@ -82,6 +82,16 @@ body {
color: black;
}
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.4em;
}
.headiter {
display: flex;
justify-content: space-between;
@ -287,11 +297,6 @@ img {
margin-bottom: 4rem;
}
.has, .afterhas {
font-style: italic;
font-size: 1.4rem;
}
.grid {
padding-left: 3rem;
margin-bottom: 4rem;
@ -332,14 +337,39 @@ img {
}
.rightcolumn {
/* display: grid;
grid-column: 2;
display: grid;
grid-template-columns: auto 1fr;
grid-auto-rows: max-content; */
padding-left: 0.5rem;
}
.has {
display: inline-grid;
grid-column: 2;
grid-auto-rows: max-content;
font-size: 1.4rem;
font-style: italic;
margin-bottom: 0.8rem;
}
.hasauthors {
font-size: 1.6rem !important;
}
.hassup {
grid-column: 1;
font-family: 'Great Vibes', cursive;
font-size: 0.9em;
font-style: normal;
color: red;
vertical-align: baseline;
position: relative;
/* top: -0.3em; */
}
.afterhas {
grid-column: 2;
}
.content {
@ -391,6 +421,38 @@ h6 {
font-size: 1rem;
}
.abstract {
margin-top: 1.4rem;
padding-bottom: 1rem;
font-style: italic;
border-left: 1px solid rgb(0, 0, 0);
margin-left: 5rem;
margin-right: 2rem;
padding-left: 1rem;
padding-right: 2rem;
padding-top: 0.1rem;
padding-bottom: 0.1rem;
background-color: rgba(0, 0, 0, 0.05);
max-width: 70ch;
}
.authors {
display: inline-block;
font-size: 1.8rem;
margin-left: 5rem;
margin-right: 2rem;
padding-left: 1rem;
}
.keywords {
display: inline-block;
font-size: 1rem;
margin-left: 5rem;
margin-right: 2rem;
padding-left: 1rem;
margin-bottom: 2.2rem;
}
blockquote {
border-left: 1px red solid;
margin-left: 1rem;

2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css generated vendored

File diff suppressed because one or more lines are too long

11
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html generated vendored

@ -23,6 +23,17 @@
{{ end }}
{{ end }}
{{ with $authors := $p.Params.authors }}
{{ range $author := $authors }}
{{ $authorLink := printf "/author/%s" $author }}
{{ with ($_.Get $authorLink) }}
{{ $_.SetInMap $authorLink "backlinks" (uniq ((index ($_.Get $authorLink) "backlinks") | append $p)) }}
{{ else }}
{{ $_.SetInMap $authorLink "backlinks" (slice $p) }}
{{ end }}
{{ end }}
{{ end }}
{{ $gp := $.GetPage $pPath }}
{{ $gpPath := printf "/%s" $gp.File }}
{{ range $k, $v := $gp.Params }}

34
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html generated vendored

@ -8,7 +8,7 @@
{{ $currentFile := (printf "/%s" .File) }}
{{ $scratch := $s.Get $currentFile }}
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}:&thinsp;{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
<div class="grid">
<div class="leftcolumn">
@ -17,46 +17,64 @@
{{ end }}
</div>
<div class="rightcolumn">
{{- range $k, $v := .Page.Params.authors -}}
{{- with $.GetPage (printf "/author/%s" $v) -}}
{{- with not $k -}}
<div class="has hasauthors">
<div class="hassup">authors⁄</div>
<div class="afterhas">
{{- end -}}
<div class="crust">
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
</div>
{{- end -}}
{{- end -}}
{{- with .Page.Params.authors -}}</div></div>{{- end -}}
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
<div class="has">
{{ with $scratch.backlinks }}
<span class="sup">mentioned in⁄</span>
<div class="hassup">mentioned in⁄</div>
{{ end }}
</div>
<div class="afterhas">
{{ range $scratch.backlinks }}
<div class="{{ $scratch.child_depth }}">
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
</div>
{{ end }}
</div></div>
{{ end }}
{{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }}
<div class="has">
{{ with $scratch.has }}
<span class="sup">has {{ $scratch.has }}⁄</span>
<div class="hassup">has {{ $scratch.has }}⁄</div>
{{ end }}
</div>
<div class="afterhas">
{{ range $scratch.has_children }}
<div class="{{ $scratch.child_depth }}">
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
</div>
{{ end }}
</div></div>
{{ end }}
{{ if eq $scratch.depth "crust" }}
<div class="has">
<span class="sup">in {{ index $scratch.in 1 }}⁄</span>
</div>
<div class="hassup">in {{ index $scratch.in 1 }}⁄</div>
<div class="afterhas">
{{ range $scratch.is_in }}
<div class="{{ substr $currentDir 0 -1 }}">
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
</div>
{{ end }}
</div></div>
{{ end }}
</div>
</div>
</div>
{{ with .Page.Params.abstract }}<div class="abstract"><span class="supt">abstract⁄</span>{{ . | markdownify }}</div>{{ end }}
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div
class="keywords"><span class="sup">keywords⁄</span>{{- $v -}}{{- else -}},
{{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}

2
_vendor/modules.txt vendored

@ -1 +1 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201209090354-47f7e8f5689e
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201210011602-395340c37b3e

Loading…
Cancel
Save