Skip to content

Commit

Permalink
CSS tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joelit committed Oct 2, 2024
1 parent 3c32b7d commit e25f28c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
30 changes: 14 additions & 16 deletions resource/css/skosmos.css
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,20 @@ body {
}

/*** Main container frontpage ***/
#main-container.frontpage #vocab-box, #vocab-box .list-group-item {
background-color: var(--vocab-box-bg);

#vocabulary-list h2, #welcome-box h2, #vocab-info h2 {
font-family: var(--font-family-heading) !important;
}
header > h2 > a {
font-family: var(--font-family-heading) !important;
color: var(--dark-color)
}
#vocabulary-list .list-group-item {
background-color: var(--medium-color) !important;
}
#vocabulary-list .border-top {
border-top: 2px var(--dark-color) solid !important;
color: var(--secondary-dark-color);
}

.vocab-category {
Expand Down Expand Up @@ -960,20 +972,6 @@ body {
}
}

#vocabulary-list h2, #welcome-box h2, #vocab-info h2 {
font-family: var(--font-family-heading) !important;
}
header > h2 > a {
font-family: var(--font-family-heading) !important;
color: var(--dark-color)
}
#vocabulary-list .list-group-item {
background-color: var(--medium-color) !important;
}
#vocabulary-list .border-top {
border-top: 2px var(--dark-color) solid !important;
color: var(--secondary-dark-color);
}
#alphabetical-menu > .list-group > .list-group-item {
border: none !important;
}
Expand Down
4 changes: 2 additions & 2 deletions src/view/landing.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<h2 class="fs-2 fw-bold py-3">{{ "Available vocabularies and ontologies" | trans }}</h2>
{% endif %}
{% for vocabClassName,vocabArray in request.vocabList %}
<div class="vocab-category border-top">
<h3 class="fs-3 py-3">{{ vocabClassName }}</h3>
<div class="vocab-category border-top pb-5">
<h3 class="fs-3 pt-2">{{ vocabClassName }}</h3>
<ul class="list-group">
{% for vocab in vocabArray %}
<li class="list-group-item border-0 ps-0"><a class="fs-4 fw-bold" href="{{ vocab.id }}/{{ request.lang }}/{% if request.contentLang != request.lang and request.contentLang != '' and request.contentLang in vocab.config.languages %}?clang={{ request.contentLang }}{% endif %}">{{ vocab.title }}</a></li>
Expand Down

0 comments on commit e25f28c

Please sign in to comment.