|
33 | 33 | {% for plugin, files in request.plugins.pluginsCSS %}{% for file in files %}<link href="{{ file }}" media="screen, print" rel="stylesheet" type="text/css">{% endfor %}{% endfor %} |
34 | 34 | {{ include('custom-templates.inc.twig', {slotName: 'html-head'}) -}} |
35 | 35 | </head> |
36 | | -<body class="{% if pageType =='landing' %}bg-white frontpage-logo{% else %}{% if pageType == 'concept' or pageType == 'vocab-home' or (request.vocabid != '' and request.page == 'page') %}bg-medium vocab-{{ request.vocabid }}{% else %}bg-light{% endif %}{% endif %}"> |
| 36 | +<body class="{% if pageType =='landing' %}frontpage-logo{% else %}{% if pageType == 'concept' or pageType == 'vocab-home' or (request.vocabid != '' and request.page == 'page') %}vocab-{{ request.vocabid }}{% endif %}{% endif %}"> |
37 | 37 | <header> |
38 | 38 | <a class="visually-hidden" id="skiptocontent" href="{{ request.langurl }}#maincontent">Skip to main</a> |
39 | | - <div class="container-fluid bg-dark d-flex my-auto py-3 px-4 text-bg-dark"> |
| 39 | + <div id="topbar" class="container-fluid d-flex my-auto py-3 px-4"> |
40 | 40 | {% if request.vocabid == '' and request.page != 'about' and request.page != 'feedback' %} |
41 | 41 | <div> |
42 | | - <button class="fs-6 py-3 text-light collapsed" id="global-search-toggle" data-bs-toggle="collapse" data-bs-target="#global-search-bar" aria-expanded="false" aria-controls="global-search-bar"> |
| 42 | + <button class="fs-6 py-3 collapsed" id="global-search-toggle" data-bs-toggle="collapse" data-bs-target="#global-search-bar" aria-expanded="false" aria-controls="global-search-bar"> |
43 | 43 | {{ "Search across vocabularies"|trans }} |
44 | 44 | </button> |
45 | 45 | </div> |
|
48 | 48 | <h2 class="visually-hidden">Skosmos</h2> |
49 | 49 | </a> |
50 | 50 | {% endif %} |
51 | | - <ul class="nav nav-pills ms-auto my-auto text-light gx-3 py-3" id="topbar-nav"> |
| 51 | + <ul class="nav nav-pills ms-auto my-auto gx-3 py-3" id="topbar-nav"> |
52 | 52 | <li class="nav-item"> |
53 | | - <a href="{{ 'home' | global_url(request.lang, request.contentLang, null, request.queryParam('anylang') == 'on') }}" id="navi1" class="fs-6 text-light topbar-nav-link ms-3 text-decoration-none"> |
| 53 | + <a href="{{ 'home' | global_url(request.lang, request.contentLang, null, request.queryParam('anylang') == 'on') }}" id="navi1" class="fs-6 topbar-nav-link ms-3 text-decoration-none"> |
54 | 54 | <i class="fa-solid fa-house"></i> {{ "Vocabularies" | trans }} |
55 | 55 | </a> |
56 | 56 | </li> |
57 | 57 | <li class="nav-item"> |
58 | | - <a href="{{ 'about' | global_url(request.lang, request.contentLang, null, request.queryParam('anylang') == 'on') }}" id="navi2" class="fs-6 text-light topbar-nav-link ms-3 text-decoration-none"> |
| 58 | + <a href="{{ 'about' | global_url(request.lang, request.contentLang, null, request.queryParam('anylang') == 'on') }}" id="navi2" class="fs-6 topbar-nav-link ms-3 text-decoration-none"> |
59 | 59 | <i class="fa-solid fa-circle-info"></i> {{ "About" | trans }} |
60 | 60 | </a> |
61 | 61 | </li> |
62 | 62 | <li class="nav-item"> |
63 | | - <a href="{{ 'feedback' | global_url(request.lang, request.contentLang, request.vocabid, request.queryParam('anylang') == 'on') }}" id="navi3" class="fs-6 text-light topbar-nav-link ms-3 text-decoration-none"> |
| 63 | + <a href="{{ 'feedback' | global_url(request.lang, request.contentLang, request.vocabid, request.queryParam('anylang') == 'on') }}" id="navi3" class="fs-6 topbar-nav-link ms-3 text-decoration-none"> |
64 | 64 | <i class="fa-solid fa-comment"></i> {{ "Feedback" | trans }} |
65 | 65 | </a> |
66 | 66 | </li> |
67 | 67 | {% if languages|length > 1 %} |
68 | 68 | {% for langcode, langdata in languages %} |
69 | 69 | {% if request.lang != langcode %} |
70 | 70 | <li class="nav-item language"> |
71 | | - <a class="fs-6 text-light ms-3 text-decoration-none" id="language-{{ langcode }}" href="{{ request.langurl(langcode) }}"> {{ langdata.name }}</a> |
| 71 | + <a class="fs-6 ms-3 text-decoration-none" id="language-{{ langcode }}" href="{{ request.langurl(langcode) }}"> {{ langdata.name }}</a> |
72 | 72 | </li> |
73 | 73 | {% endif %} |
74 | 74 | {% endfor %} |
|
88 | 88 | </div> |
89 | 89 | {% endif %} |
90 | 90 | {% if pageType in ['landing', 'vocab-home', 'concept', 'vocab-search'] %} |
91 | | - <div class="container-fluid bg-white py-4" id="headerbar"> |
| 91 | + <div class="container-fluid py-4" id="headerbar"> |
92 | 92 | <div id="headerbar-top-slot" class="row"></div> |
93 | 93 | <div class="row"> |
94 | 94 | <div class="d-flex flex-column flex-xl-row align-items-start align-items-xl-center my-auto{% if pageType == 'landing' %} p-0{% endif %}"> |
|
113 | 113 |
|
114 | 114 | {% endif %} |
115 | 115 | </header> |
116 | | - <main id="main-container" class="{{pageType}}{% if list_style %} {{ list_style }}{% endif %}"> |
| 116 | + <main id="main-container" class="pb-5 {{pageType}}{% if list_style %} {{ list_style }}{% endif %}"> |
117 | 117 | <div class="container"> |
118 | 118 | <noscript> |
119 | 119 | <strong>We're sorry but Skosmos doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
|
124 | 124 | </div> |
125 | 125 | </div> |
126 | 126 | </main> |
127 | | - <footer class="bg-white pb-5 mt-5"> |
| 127 | + <footer class="py-5"> |
128 | 128 | {{ include('custom-templates.inc.twig', {slotName: 'footer'}) }} |
129 | 129 | </footer> |
130 | 130 | {% include "scripts.inc.twig" %} |
|
0 commit comments