adds unordered list on footer and top links
This commit is contained in:
@@ -366,6 +366,10 @@ header {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.subnavigation {
|
.subnavigation {
|
||||||
@@ -509,7 +513,7 @@ footer {
|
|||||||
p {
|
p {
|
||||||
font-size: $small-font-size;
|
font-size: $small-font-size;
|
||||||
|
|
||||||
.info a {
|
&.info a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -546,6 +550,7 @@ footer {
|
|||||||
|
|
||||||
.subfooter {
|
.subfooter {
|
||||||
border-top: 1px solid $text-light;
|
border-top: 1px solid $text-light;
|
||||||
|
font-size: $small-font-size;
|
||||||
padding-top: $line-height/2;
|
padding-top: $line-height/2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,13 +41,13 @@
|
|||||||
|
|
||||||
<div class="subfooter row">
|
<div class="subfooter row">
|
||||||
<div class="small-12 medium-8 column">
|
<div class="small-12 medium-8 column">
|
||||||
<p>
|
<%= t("layouts.footer.copyright", year: Time.current.year) %> |
|
||||||
<%= t("layouts.footer.copyright", year: Time.current.year) %> |
|
<ul class="no-bullet inline-block">
|
||||||
<%= link_to t("layouts.footer.more_info"), page_path('more_information') %> |
|
<li class="inline-block"><%= link_to t("layouts.footer.more_info"), page_path('more_information') %> |</li>
|
||||||
<%= link_to t("layouts.footer.privacy"), page_path('privacy') %> |
|
<li class="inline-block"><%= link_to t("layouts.footer.privacy"), page_path('privacy') %> |</li>
|
||||||
<%= link_to t("layouts.footer.conditions"), page_path('conditions') %> |
|
<li class="inline-block"><%= link_to t("layouts.footer.conditions"), page_path('conditions') %> |</li>
|
||||||
<%= link_to t("layouts.footer.accessibility"), page_path('accessibility') %>
|
<li class="inline-block"><%= link_to t("layouts.footer.accessibility"), page_path('accessibility') %></li>
|
||||||
</p>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-4 column social">
|
<div class="small-12 medium-4 column social">
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
<div class="top-links hide-for-small-only">
|
<div class="top-links hide-for-small-only">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<%= render "shared/locale_switcher" %>
|
<%= render "shared/locale_switcher" %>
|
||||||
<div class="external-links">
|
<ul class="no-bullet external-links">
|
||||||
<%= link_to t("layouts.header.external_link_transparency"), t("layouts.header.external_link_transparency_url") %> |
|
<li class="inline-block"><%= link_to t("layouts.header.external_link_transparency"), t("layouts.header.external_link_transparency_url") %> |</li>
|
||||||
<%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %>
|
<li class="inline-block"><%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %></li>
|
||||||
<% if setting['blog_url'] %>
|
<% if setting['blog_url'] %>
|
||||||
|
|
<li class="inline-block">|
|
||||||
<%= link_to setting['blog_url'], title: t('shared.target_blank_html'), target: "_blank" do %>
|
<%= link_to setting['blog_url'], title: t('shared.target_blank_html'), target: "_blank" do %>
|
||||||
<%= t("layouts.header.external_link_blog") %>
|
<%= t("layouts.header.external_link_blog") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user