Skip to content

Commit a4d8939

Browse files
committed
navigation style
1 parent 8119437 commit a4d8939

File tree

3 files changed

+42
-6
lines changed

3 files changed

+42
-6
lines changed

Diff for: LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Original work Copyright (c) 2016 DashingCode
4+
Modified work Copyright (c) 2017 Matthew Warman
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

Diff for: css/main.css

+19-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,25 @@ h1 {
1111
padding: 0;
1212
}
1313
#navigation ul li {
14-
display: inline;
15-
padding-left: 5px;
16-
padding-right: 5px;
14+
list-style: none;
15+
display: inline-block;
16+
border-radius: 100%;
17+
border: 2px solid #000;
18+
height:50px;
19+
width: 50px;
20+
margin: 8px;
21+
}
22+
#navigation ul li:hover {
23+
color: #000;
24+
text-decoration: none;
25+
-webkit-transition: 500ms;
26+
-moz-transition: 500ms;
27+
transition: 500ms;
28+
background-color: rgba(0, 0, 0, 0.25);
1729
}
18-
1930
#navigation ul li a {
2031
color: #000;
21-
}
32+
}
33+
#navigation ul li a i {
34+
padding: 9px;
35+
}

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1>Matthew Warman</h1>
2929
<div id="navigation">
3030
<ul>
3131
<li>
32-
<a href="https://github.com/mcwarman" aria-label="Link to GitHub profile"><i class="fa fa-github fa-3x" aria-hidden="true"></i></a>
32+
<a href="https://github.com/mcwarman" aria-label="Link to my GitHub profile"><i class="fa fa-github fa-2x" aria-hidden="true" title="GitHub"></i></a>
3333
</li>
3434
</ul>
3535
</div>

0 commit comments

Comments
 (0)