Skip to content

Commit

Permalink
Merge pull request #3371 from projectblacklight/add-classes
Browse files Browse the repository at this point in the history
Add classes to the markup
  • Loading branch information
jcoyne authored Dec 18, 2024
2 parents 4e65bca + 1e2702d commit d829bc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions app/assets/stylesheets/spotlight/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
padding: 0;
position: relative;


.site-title {
margin-bottom: 0;
}
Expand All @@ -30,14 +29,6 @@
white-space: nowrap;
}

small {
@extend .d-none;
@extend .d-md-block;
@extend .py-2;

font-size: $h4-font-size;
}

.navbar {
&:last-child {
margin-bottom: 0;
Expand Down Expand Up @@ -128,12 +119,11 @@
// especially on light background images.
.background-container-gradient {
@include masthead-background-containers();
background:
linear-gradient(
rgba(0, 0, 0, 0.0),
rgba(0, 0, 0, 0.4),
rgba(0, 0, 0, 0.5)
);
background: linear-gradient(
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.4),
rgba(0, 0, 0, 0.5)
);

height: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_masthead.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<%= masthead_heading_content %>
</h1>
<% if masthead_subheading_content %>
<small><%= masthead_subheading_content %></small>
<small class="d-none d-md-block py-2 fs-4"><%= masthead_subheading_content %></small>
<% end %>
<% end %>
</div>
Expand Down

0 comments on commit d829bc8

Please sign in to comment.