Skip to content

Commit 6fe39c1

Browse files
cameronoelsenjdfreder
authored andcommitted
Company logo hover changes color
Made it so when you hover over the company logos, it fades in and when you click, takes you to their website.
1 parent f171a79 commit 6fe39c1

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed

css/logo-nav.css

+16
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,22 @@ body {
198198
display: block;
199199
width: 100%
200200
}
201+
.greydout {
202+
-webkit-opacity: 0.065;
203+
-moz-opacity: .065;
204+
opacity: 0.65;
205+
-webkit-transition: all .5s ease;
206+
-moz-transition: all .5s ease;
207+
-ms-transition: all .5s ease;
208+
-o-transition: all .5s ease;
209+
transition: all .5s ease;
210+
}
211+
.greydout:hover {
212+
webkit-opacity: 1;
213+
moz-opacity: 1;
214+
opacity: 1;
215+
}
216+
.
201217
.jupyterhub {
202218
background-color: #FDFDFD;
203219
}

index.html

+14-14
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,20 @@ <h2 style="text-align:center;">Ready to get started?</h2>
141141
<div class="companies">
142142
<h2 style="text-align:center;">Currently in use at</h2>
143143
<ul class="row center-h companies" style="text-align:center;">
144-
<li class="col"><img src="assets/google.svg" alt="Google" height="45" width="130"</li>
145-
<li class="col"><img src="assets/Microsoft.svg" alt="Microsoft" height="55" width="206"></li>
146-
<li class="col"><img src="assets/IBM.svg" alt="IBM" height="40" width="60"></li>
147-
<li class="col"><img src="assets/bloomberg.svg" alt="Bloomberg" height="45" width="222"></li>
148-
<li class="col"><img src="assets/nyt.svg" alt="New york times" height="50" width="119"></li>
149-
<li class="col"><img src="assets/oreilly.svg" alt="OReilly" height="45" width="244"></li>
150-
<li class="col"><img src="assets/continuum.svg" alt="Continuum" height="60" width="102"></li>
151-
<li class="col"><img src="assets/538.svg" alt="538" height="60" width="76"></li>
152-
<li class="col"><img src="assets/brynmawr.svg" alt="BrynMawr" height="60" width="72"></li>
153-
<li class="col"><img src="assets/calpoly.svg" alt="CalPoly" height="60" width="72"></li>
154-
<li class="col"><img src="assets/Berkeley.svg" alt="Berkeley" height="60" width="147"></li>
155-
<li class="col"><img src="assets/stanford.svg" alt="Stanford" height="60" width="137"></li>
156-
<li class="col"><img src="assets/NYU.svg" alt="NYU" height="60" width="133"></li>
157-
<li class="col"><img src="assets/columbia.svg" alt="Columbia" height="60" width="207"></li>
144+
<a href="http://www.google.com"><li class="col"><img src="assets/google.svg" class="greydout" alt="Google" height="45" width="130"></li></a>
145+
<a href="http://www.microsoft.com"><li class="col"><img src="assets/Microsoft.svg" class="greydout" alt="Microsoft" height="55" width="206"></li></a>
146+
<a href="http://www.ibm.com"><li class="col"><img src="assets/IBM.svg" class="greydout" alt="IBM" height="40" width="60"></li></a>
147+
<a href="http://www.bloomberg.com"><li class="col"><img src="assets/bloomberg.svg" class="greydout" alt="Bloomberg" height="45" width="222"></li></a>
148+
<a href="http://www.nytimes.com"><li class="col"><img src="assets/nyt.svg" class="greydout" alt="New york times" height="50" width="119"></li></a>
149+
<a href="http://www.oreilly.com"><li class="col"><img src="assets/oreilly.svg" class="greydout" alt="OReilly" height="45" width="244"></li></a>
150+
<a href="http://continuum.io"><li class="col"><img src="assets/continuum.svg" class="greydout" alt="Continuum" height="60" width="102"></li></a>
151+
<a href="http://fivethirtyeight.com"><li class="col"><img src="assets/538.svg" class="greydout" alt="538" height="60" width="76"></li></a>
152+
<a href="https://www.brynmawr.edu"><li class="col"><img src="assets/brynmawr.svg" class="greydout" alt="BrynMawr" height="60" width="72"></li></a>
153+
<a href="http://www.calpoly.edu"><li class="col"><img src="assets/calpoly.svg" class="greydout" alt="CalPoly" height="60" width="72"></li></a>
154+
<a href="http://www.berkeley.edu"><li class="col"><img src="assets/Berkeley.svg" class="greydout" alt="Berkeley" height="60" width="147"></li></a>
155+
<a href="https://www.stanford.edu"><li class="col"><img src="assets/stanford.svg" class="greydout" alt="Stanford" height="60" width="137"></li></a>
156+
<a href="http://www.nyu.edu"><li class="col"><img src="assets/NYU.svg" class="greydout" alt="NYU" height="60" width="133"></li></a>
157+
<a href="http://www.columbia.edu"><li class="col"><img src="assets/columbia.svg" class="greydout" alt="Columbia" height="60" width="207"></li></a>
158158
</ul>
159159
</div>
160160
</div>

0 commit comments

Comments
 (0)