Skip to content

Commit

Permalink
altlabels are shown in italic
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Nov 16, 2023
1 parent f5a0287 commit 66449e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions resource/css/skosmos.css
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ body {
margin-bottom: 0;
}

.prop-skos_altLabel .property-value li, .altlabel {
font-style: italic;
}

.prop-foreignlabels h3 {
font-size: 1rem;
margin-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/view/concept-card.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{% if value.type == "skos:prefLabel" and value.lang in request.vocab.config.languages %}
<li><a href='{{ concept.uri|link_url(request.vocabid,request.lang, 'page', value.lang) }}' hreflang='{{ value.lang }}'>{{ value.label }}</a></li>
{% else %}
<li>{{ value.label }}</li>
<li class="altlabel">{{ value.label }}</li>
{% endif %}
{% endfor %}
</ul>
Expand Down

0 comments on commit 66449e9

Please sign in to comment.