Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon hover #20

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="stylesheets/core.css" media="screen">
<link rel="stylesheet" href="stylesheets/mobile.css" media="handheld, only screen and (max-device-width:640px)">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">

<script type="text/javascript" src="javascripts/modernizr.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
Expand Down Expand Up @@ -64,7 +65,7 @@ <h2>A Keyboard Utility For All Your Windows Presentation Needs</h2>
<span class="left-tail"></span>
<span class="right-tail"></span>
</span>
<a href="https://github.com/"><span style="margin-top:10px;" class="octocat"></span></a>
<a href="https://github.com/"><i class="fab fa-github"></i></a>
</footer>


Expand Down
15 changes: 9 additions & 6 deletions stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,14 +353,17 @@ footer span.right-tail {
right: -11px;
}

footer span.octocat {
background: transparent url(../images/octocat.png) 0 0 no-repeat;
display: block;
width: 30px;
height: 30px;
margin: 0 auto;
footer .fa-github {
font-size:30px;
margin: 10px auto;
color:#949494;
opacity: 0.4;
transition:0.1s ease;
}

footer .fa-github:hover{
opacity:0.8;
}
/* content */

body {
Expand Down