diff --git a/app/assets/stylesheets/application.bootstrap.scss b/app/assets/stylesheets/application.bootstrap.scss index 62c5533..39e3c03 100644 --- a/app/assets/stylesheets/application.bootstrap.scss +++ b/app/assets/stylesheets/application.bootstrap.scss @@ -5,3 +5,4 @@ @import "homepage"; @import "base"; @import "footer"; +@import "card"; diff --git a/app/assets/stylesheets/card.scss b/app/assets/stylesheets/card.scss new file mode 100644 index 0000000..ebbd2db --- /dev/null +++ b/app/assets/stylesheets/card.scss @@ -0,0 +1,7 @@ +.card-title { + margin-bottom: 0.75rem; +} + +.card-title > a { + font-size: 1.25rem; +} diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index bd2f2c2..092ce94 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -5,34 +5,37 @@
-
Featured image: <%= @random_feature['caption_html'].html_safe %>
-
+
+ Featured image: <%= @random_feature['caption_html'].html_safe %> +
+ -
-

Find Archival Materials

-

Detailed inventories of <%= number_with_delimiter(collection_count_home) %> collections

+
+

Find Archival Materials

+

Detailed inventories of <%= number_with_delimiter(collection_count_home) %> collections

- <%#= render_search_bar %> + <%#= render_search_bar %> -
- +
+ - <%#= render 'search_extra_controls' %> + <%#= render 'search_extra_controls' %> -
+
- -
Browse All Repositories
-
+ +
Browse All Repositories
+
+
-
- <%# Configurable alert banner %> - <%# keys in config/locales/um_arclight.en.yml %> - <% if I18n.exists?('um_arclight.home.alert') %> +<%# Configurable alert banner %> +<%# keys in config/locales/um_arclight.en.yml %> +<% if I18n.exists?('um_arclight.home.alert') %> +
- <% end %> - -
-
-
-
- info -
-

<%= t('um_arclight.home.about.heading') %>

-
-
- <%= t('um_arclight.home.about.text_html').html_safe %> -
+
+<% end %> +
+
+
+
info
+

<%= t('um_arclight.home.about.heading') %>

+
+
+ <%= t('um_arclight.home.about.text_html').html_safe %>
-
\ No newline at end of file diff --git a/app/views/layouts/blacklight/base.html.erb b/app/views/layouts/blacklight/base.html.erb index 29ddd66..7e6ab89 100644 --- a/app/views/layouts/blacklight/base.html.erb +++ b/app/views/layouts/blacklight/base.html.erb @@ -39,7 +39,7 @@ <%= render partial: 'shared/header_navbar' %> -
+
<%= content_for(:container_header) %> <%= render partial: 'shared/flash_msg', layout: 'shared/flash_messages' %>