Browse Source

Add hint QS -> Quantité Suffisante

Make olasd happy
master
Théophile Bastian 8 months ago
parent
commit
ea62fc8fc8
  1. 5
      layouts/partials/ingredients_ul.html
  2. 4
      scss/style.scss
  3. 3
      static/css/style.css

5
layouts/partials/ingredients_ul.html

@ -10,7 +10,10 @@ @@ -10,7 +10,10 @@
{{ else }}
<li>
<span class="ingred-qt">{{ with .qt }}{{ . | markdownify }}{{ end }}</span>
<span
class="ingred-qt{{ with .qt -}}
{{ if eq . "QS" }} with_abbrv" title="Quantité Suffisante{{ end }}
{{- end }}">{{ with .qt }}{{ . | markdownify }}{{ end }}</span>
{{ with .article -}}
{{ . | markdownify -}}
{{- if substr . -1 1 | eq "'" -}}{{ else }} {{ end -}}

4
scss/style.scss

@ -245,6 +245,10 @@ ul { @@ -245,6 +245,10 @@ ul {
list-style-type: circle;
}
.with_abbrv {
text-decoration: underline dotted;
}
.homepagecat {
margin-top: 50px;
}

3
static/css/style.css

@ -176,6 +176,9 @@ a, a:visited { @@ -176,6 +176,9 @@ a, a:visited {
ul {
list-style-type: circle; }
.with_abbrv {
text-decoration: underline dotted; }
.homepagecat {
margin-top: 50px; }

Loading…
Cancel
Save