Skip to content

Commit 93b931b

Browse files
authored
Merge pull request #57 from MITLibraries/pw68-branding-update
Updates MIT branding
2 parents bbd5bb9 + 97be05d commit 93b931b

File tree

11 files changed

+35
-77
lines changed

11 files changed

+35
-77
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
/test/dummy/tmp/
1212

1313
.DS_Store
14+
*.gem

app/views/layouts/_head.html.erb

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@
77

88
<%= yield :additional_meta_tag %>
99

10-
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
11-
<!--[if lt IE 9]>
12-
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script>
13-
<![endif]-->
1410
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.1.1/normalize.min.css">
1511
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext" type="text/css">
1612
<%= stylesheet_link_tag "application", :media => "all" %>
1713

18-
<!-- For all other devices -->
19-
<!-- Size should be 32 x 32 pixels -->
20-
<%= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon' %>
14+
<link rel="icon" href="https://cdn.libraries.mit.edu/files/branding/favicons/favicon.ico" sizes="32x32">
15+
<link rel="icon" href="https://cdn.libraries.mit.edu/files/branding/favicons/favicon.svg" type="image/svg+xml">
16+
<link rel="apple-touch-icon" href="https://cdn.libraries.mit.edu/files/branding/favicons/apple-touch-icon.png"><!-- 180×180 -->
17+
<link rel="manifest" href="https://cdn.libraries.mit.edu/files/branding/favicons/manifest.json">
2118

2219
<%= render partial: "layouts/js_exception_handler" %>
2320
<%= javascript_include_tag "application" %>

app/views/layouts/_institute_footer.html.erb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
<footer class="footer-info-institute" aria-label="MIT footer" role="contentinfo">
44
<a class="link-logo-mit" href="https://www.mit.edu">
55
<span class="sr">MIT</span>
6-
<svg x="0" y="0" width="54" height="28" viewBox="0 0 54 28" enable-background="new 0 0 54 28" xml:space="preserve" class="logo-mit"><rect x="28.9" y="8.9" width="5.8" height="19.1" class="color"/><rect width="5.8" height="28"/><rect x="9.6" width="5.8" height="18.8"/><rect x="19.3" width="5.8" height="28"/><rect x="38.5" y="8.9" width="5.8" height="19.1"/><rect x="38.8" width="15.2" height="5.6"/><rect x="28.9" width="5.8" height="5.6"/></svg>
6+
<img
7+
src="https://cdn.libraries.mit.edu/files/branding/local/mit_lockup_std-three-line_rgb_white.svg"
8+
alt="MIT logo"
9+
width="150"
10+
/>
711
</a>
8-
<div class="about-mit">
9-
<span class="item">Massachusetts Institute of Technology</span>
10-
</div>
12+
1113
<div class="license">Content created by the MIT Libraries, <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC</a> unless otherwise noted. <a href="https://libraries.mit.edu/research-support/notices/copyright-notify/">Notify us about copyright concerns</a>.
1214
</div>
1315
</footer><!-- end .footer-info-institute -->

app/views/layouts/_libraries_footer.html.erb

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,26 @@
44
<div class="identity">
55
<div class="wrap-logo-lib">
66
<a href="https://libraries.mit.edu" class="logo-mit-lib">
7-
<span class="sr">MIT Libraries home</span>
8-
<%= image_tag("mitlib-wordmark.svg", :alt => "MIT Libraries logo") %>
9-
</a>
7+
<span class="sr">MIT Libraries home</span>
8+
<img
9+
src="https://cdn.libraries.mit.edu/files/branding/local/mitlib-wordmark.svg"
10+
alt="MIT Libraries logo"
11+
width="150"
12+
/>
13+
</a>
1014
</div>
11-
<div class="wrap-social">
12-
<p class="text-find-us">Find us on</p>
13-
<a href="https://twitter.com/mitlibraries" title="Twitter">
14-
<svg class="icon-social--twitter" width="2048" height="2048" viewBox="-192 -384 2048 2048" xmlns="http://www.w3.org/2000/svg"><g transform="scale(1 -1) translate(0 -1280)"><path d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" fill="black"></path></g></svg>
15-
<span class="sr">Twitter</span>
16-
</a><!-- End Twitter -->
17-
18-
<a href="https://instagram.com/mitlibraries/" title="Instagram">
19-
<svg class="icon-social--instagram" viewBox="0 0 120 120" enable-background="new 0 0 120 120" xml:space="preserve"><path id="Instagram_10_" fill="#FFFFFF" d="M95.1,103.9H24.9c-0.2,0-0.4-0.1-0.6-0.1c-3.9-0.5-7.1-3.4-8-7.2 c-0.1-0.4-0.2-0.9-0.2-1.3V24.8c0-0.2,0.1-0.3,0.1-0.5c0.6-3.9,3.4-7.1,7.3-8c0.4-0.1,0.8-0.2,1.3-0.2h70.4c0.2,0,0.3,0.1,0.5,0.1 c4,0.5,7.2,3.6,8,7.5c0.1,0.4,0.1,0.8,0.2,1.2v70.2c-0.1,0.4-0.1,0.8-0.2,1.2c-0.7,3.6-3.6,6.6-7.2,7.4 C96,103.7,95.5,103.8,95.1,103.9z M25.6,51.7v0.2c0,13,0,26,0,38.9c0,1.9,1.6,3.5,3.5,3.5c20.6,0,41.2,0,61.8,0 c1.9,0,3.5-1.6,3.5-3.5c0-13,0-25.9,0-38.9v-0.3H86c1.2,3.8,1.5,7.6,1.1,11.5c-0.5,3.9-1.7,7.6-3.8,10.9c-2.1,3.4-4.7,6.2-8,8.4 c-8.5,5.8-19.6,6.3-28.6,1.2c-4.5-2.5-8.1-6.1-10.6-10.7c-3.7-6.8-4.3-14-2.1-21.4C31.2,51.7,28.4,51.7,25.6,51.7L25.6,51.7z M60,42.2c-9.7,0-17.6,7.8-17.8,17.5c-0.1,9.9,7.8,17.8,17.4,18c9.9,0.2,18-7.7,18.2-17.4C78,50.4,70,42.2,60,42.2L60,42.2z M86.7,38.7L86.7,38.7c1.4,0,2.9,0,4.3,0c1.9,0,3.4-1.6,3.4-3.5c0-2.8,0-5.5,0-8.3c0-2-1.6-3.6-3.6-3.6c-2.8,0-5.5,0-8.3,0 c-2,0-3.6,1.6-3.6,3.6c0,2.7,0,5.5,0,8.2c0,0.4,0.1,0.8,0.2,1.2c0.5,1.5,1.8,2.4,3.5,2.4C84,38.7,85.3,38.7,86.7,38.7L86.7,38.7z"></path></svg>
20-
<span class="sr">Instagram</span>
21-
</a><!-- End Instagram -->
22-
23-
<a href="https://www.youtube.com/user/MITLibraries" title="YouTube">
24-
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="icon-social--youtube"><path fill="black" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" class=""></path></svg>
25-
<span class="sr">YouTube</span>
26-
</a><!-- End YouTube -->
27-
</div><!-- end .social -->
15+
2816
<div class="wrap-middle">
29-
<div class="wrap-sitemap">
30-
<nav class="sitemap-libraries-abbrev" aria-label="MIT Libraries site menu">
31-
<h2 class="sr">MIT Libraries navigation</h2>
32-
<a class="item" href="https://libraries.mit.edu/search">Search</a>
33-
<a class="item" href="https://libraries.mit.edu/hours">Hours &amp; locations</a>
34-
<a class="item" href="https://libraries.mit.edu/borrow">Borrow &amp; request</a>
35-
<a class="item" href="https://libraries.mit.edu/research-support">Research support</a>
36-
<a class="item" href="https://libraries.mit.edu/about">About us</a>
37-
</nav>
38-
</div><!-- end .links-all -->
3917
<div class="wrap-policies">
4018
<nav aria-label="MIT Libraries policy menu">
4119
<span class="item"><a href="https://libraries.mit.edu/privacy" class="link-sub">Privacy</a></span>
20+
4221
<span class="item"><a href="https://libraries.mit.edu/permissions" class="link-sub">Permissions</a></span>
22+
4323
<span class="item"><a href="https://libraries.mit.edu/accessibility" class="link-sub">Accessibility</a></span>
24+
25+
<span class="item"><a href="https://libraries.mit.edu/contact" class="link-sub">Contact us</a></span>
26+
4427
</nav>
4528
</div>
4629
</div>

app/views/layouts/_site_header.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
<h1 class="name-site group nav-logo">
66
<a href="https://libraries.mit.edu/" class="logo-mit-lib">
77
<span class="sr">MIT Libraries home</span>
8-
<%= image_tag("mitlib-wordmark.svg", :alt => "MIT Libraries logo") %>
8+
<img src="https://cdn.libraries.mit.edu/files/branding/local/mitlib-wordmark.svg" height="35" alt="MIT Libraries logo">
99
</a>
1010
</h1>
1111
</div>
1212
<div class="wrap-header-supp">
13-
<a class="link-logo-mit" href="https://www.mit.edu"><span class="sr">MIT</span><svg x="0" y="0" width="54" height="28" viewBox="0 0 54 28" enable-background="new 0 0 54 28" xml:space="preserve" class="logo-mit"><rect x="28.9" y="8.9" width="5.8" height="19.1" class="color"/><rect width="5.8" height="28"/><rect x="9.6" width="5.8" height="18.8"/><rect x="19.3" width="5.8" height="28"/><rect x="38.5" y="8.9" width="5.8" height="19.1"/><rect x="38.8" width="15.2" height="5.6"/><rect x="28.9" width="5.8" height="5.6"/></svg></a>
13+
<a class="link-logo-mit" href="https://www.mit.edu"><span class="sr">MIT</span>
14+
<img src="https://cdn.libraries.mit.edu/files/branding/local/mit_logo_std_rgb_white.svg" height="35" alt="MIT logo" >
15+
</a>
1416
</div>
1517
</header>
1618
</div>

vendor/assets/images/favicon.ico

-9.62 KB
Binary file not shown.

vendor/assets/images/mitlib-wordmark.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/assets/images/vi-shape7-tp.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/assets/stylesheets/elements/_footer.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.wrap-footer {
10-
background: $black image-url('vi-shape7-tp.svg') no-repeat 10% center;
10+
background: $black url('https://cdn.mitlibrary.net/files/branding/local/vi-shape7-tp.svg') no-repeat 10% center;
1111

1212
a {
1313
@extend %link;
@@ -93,7 +93,7 @@
9393
.footer-info-institute {
9494
display: flex;
9595
justify-content: space-between;
96-
align-items: baseline;
96+
align-items: start;
9797
}
9898

9999
a {
@@ -125,8 +125,7 @@
125125
}
126126

127127
.license {
128-
margin-left: auto;
129-
margin-top: 1rem;
130128
color: $gray-l3;
129+
margin-left: 2em;
131130
}
132131
}

vendor/assets/stylesheets/elements/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727

2828
.wrap-header {
29-
background: $black image-url('vi-shape7-tp.svg') no-repeat 0 65%;
29+
background: $black url('https://cdn.mitlibrary.net/files/branding/local/vi-shape7-tp.svg') no-repeat 0 65%;
3030

3131
.logo-mit-lib {
3232
display: inline-block;

0 commit comments

Comments
 (0)