Skip to content

Commit e8ac04e

Browse files
committed
Added new Institute bar with MIT logo
1 parent e495d06 commit e8ac04e

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

app/assets/stylesheets/application.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@import "partials/_alerts";
88
@import "partials/_filters";
99
@import "partials/_global_alerts";
10+
@import "partials/_header";
1011
@import "partials/_layouts";
1112
@import "partials/_local_nav";
1213
@import "partials/_pagination";
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.institute-bar {
2+
background-color: $color-gray-900;
3+
4+
.wrap-header {
5+
background: none;
6+
7+
padding-top: 16px;
8+
padding-bottom: 16px;
9+
}
10+
11+
}

app/views/layouts/_site_header.html.erb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<div class="institute-bar">
2+
<div class="wrap-header">
3+
<a class="link-logo-mit" href="https://www.mit.edu"><span class="sr">MIT Logo</span>
4+
<img src="https://cdn.libraries.mit.edu/files/branding/local/mit_logo_std_rgb_white.svg" height="24" alt="MIT logo" >
5+
</a>
6+
</div>
7+
</div>
18
<div class="wrap-outer-header layout-band <%= 'reasons' if params[:rainbows] %>">
29
<div class="wrap-header">
310
<header class="header-site header-slim" role="banner">
@@ -12,11 +19,6 @@
1219
<% end %>
1320
</h1>
1421
</div>
15-
<div class="wrap-header-supp">
16-
<a class="link-logo-mit" href="https://www.mit.edu"><span class="sr">MIT</span>
17-
<img src="https://cdn.libraries.mit.edu/files/branding/local/mit_logo_std_rgb_white.svg" height="35" alt="MIT logo" >
18-
</a>
19-
</div>
2022
</header>
2123
</div>
2224
</div>

0 commit comments

Comments
 (0)