Skip to content

Commit 3f0fc23

Browse files
author
Lisa P
committed
add github icon to navigation
1 parent 4afa58c commit 3f0fc23

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

css/main.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ h1, .h1 {
6565
background-image: url(../img/icon_twitter.png);
6666
background-repeat: no-repeat;
6767
background-position: center center;
68-
background-size: 16px 16px;
68+
background-size: 16px 14px;
6969
}
7070
.icon-ribbon {
7171
background-image: url(../img/icon_ribbon.png);
@@ -79,6 +79,12 @@ h1, .h1 {
7979
background-position: center center;
8080
background-size: 12px 16px;
8181
}
82+
.icon-github {
83+
background-image: url(../img/icon_github.png);
84+
background-repeat: no-repeat;
85+
background-position: center center;
86+
background-size: 22px 22px;
87+
}
8288
.section {
8389
padding: 30px 0;
8490
}

img/icon_github.png

1.43 KB
Loading

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@
3939
</a>
4040
</li>
4141
<li>
42-
<a href="https://twitter.com/share?url=http://ruby-white-ribbon.org/&lang=" class="external" target="_blank">
42+
<a href="https://twitter.com/share?url=http://ruby-white-ribbon.org/&lang=en" class="external" target="_blank">
4343
<i class="icon icon-twitter"></i>
4444
<span>Tweet support</span>
4545
</a>
4646
</li>
47+
<li>
48+
<a href="https://github.com/ruby-white-ribbon/ruby-white-ribbon.github.io" class="external" target="_blank">
49+
<i class="icon icon-github"></i>
50+
<span>Github</span>
51+
</a>
52+
</li>
4753
</ul>
4854
</div>
4955
</header>

0 commit comments

Comments
 (0)