back to remote _vendor
This commit is contained in:
parent
503ea77275
commit
4ccb565055
4 changed files with 22 additions and 36 deletions
|
@ -886,36 +886,25 @@ details {
|
|||
}
|
||||
|
||||
.gloss {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
/*grid-template-rows: repeat(3, 1fr);*/
|
||||
gap: 0px 0px;
|
||||
grid-template-areas:
|
||||
"glosstop"
|
||||
"glossmiddle"
|
||||
"glossbottom";
|
||||
grid-area: gloss;
|
||||
}
|
||||
.glosstop { grid-area: glosstop; }
|
||||
.glossbottom { grid-area: glossbottom; }
|
||||
.glossmiddle { grid-area: glossmiddle; }
|
||||
|
||||
.glossnumber {
|
||||
grid-area: glossnumber;
|
||||
}
|
||||
.glossnumber::before {
|
||||
counter-increment: glossN;
|
||||
content: "(" counter(glossN) ")";
|
||||
padding-right: 0.3rem;
|
||||
}
|
||||
|
||||
.glossnumberAuto::before {
|
||||
counter-increment: glossN;
|
||||
content: "(" counter(glossN) ")";
|
||||
}
|
||||
.glossline {
|
||||
border-bottom: lightgray solid 1px;
|
||||
border-top: lightgray solid 1px;
|
||||
}
|
||||
.glosswords {
|
||||
display: inline-block;
|
||||
margin-left: -0.3rem;
|
||||
}
|
||||
|
||||
.glossword {
|
||||
margin-left: 0.3rem;
|
||||
margin-right: 0.5rem;
|
||||
padding-left: -0.3rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
|
|
@ -1,28 +1,25 @@
|
|||
{{ $inn := .Inner | $.Page.RenderString }}
|
||||
<div class="glosscontainer">
|
||||
<div class="gloss">
|
||||
{{- range $g := split .Inner "\n" -}}
|
||||
{{- if hasPrefix $g "{t}" -}}
|
||||
<div class="glosstop">
|
||||
{{- substr $g 3 -}}
|
||||
{{- range $g := (split $inn "\n") -}}
|
||||
{{- if hasPrefix $g "{r}" -}}
|
||||
<div class="glossregular">
|
||||
{{- substr $g 3 | htmlUnescape | safeHTML -}}
|
||||
</div>
|
||||
{{- else if hasPrefix $g "{m}" -}}
|
||||
<div class="glossmiddle">
|
||||
{{- else if hasPrefix $g "{g}" -}}
|
||||
<div class="glossline">
|
||||
{{- range (split (substr $g 3) "|") -}}
|
||||
{{- with . -}}
|
||||
<div class="glosswords">
|
||||
{{- range (split . "," ) -}}
|
||||
<div class="glossword">{{- . -}}</div>
|
||||
<div class="glossword">{{- . | htmlUnescape | safeHTML -}}</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- else if hasPrefix $g "{b}" -}}
|
||||
<div class="glossbottom">
|
||||
{{- substr $g 3 -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div class="glossnumber"></div>
|
||||
<div class="glossnumber {{ with $.Page.Params.glossnumberAuto }}glossnumberAuto{{ end }}">{{ with .Get 0 }}{{ . }}{{ end}}</div>
|
||||
</div>
|
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201205011125-598ed03c9bad
|
||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201205235831-9aec1be1e37a
|
||||
|
|
Loading…
Add table
Reference in a new issue