Skip to content

Commit e46477b

Browse files
author
Fabian Perez
committed
Add register button to header
1 parent 34ed156 commit e46477b

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

layouts/header.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<div id="header">
33
<div>
44
<a class="logo" href="/">GitHub:Developer</a>
5+
<a href="https://github.com/developer/register" class="nav-register-button">Register</a>
56
<ul class="nav">
67
<li><a href="/" class="nav-overview">Overview</a></li>
78
<li><a href="/v3/" class="nav-api">API</a></li>

static/shared/css/documentation.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,27 @@ a img {
305305
font-size: 14px;
306306
}
307307

308+
.nav-register-button {
309+
color: #fff;
310+
background-color: #3072b3;
311+
background-image: -webkit-linear-gradient(#599bcd, #3072b3);
312+
background-image: -moz-linear-gradient(#599bcd, #3072b3);
313+
background-image: linear-gradient(#599bcd, #3072b3);
314+
background-repeat: repeat-x;
315+
border: 1px solid #2a65a0;
316+
border-radius: 3px;
317+
float: right;
318+
line-height: 24px;
319+
margin: 17px 0 0 20px;
320+
padding: 0 10px;
321+
text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
322+
}
323+
324+
.nav-register-button:hover,
325+
.nav-register-button:focus {
326+
text-decoration: none;
327+
}
328+
308329
#header .nav li {
309330
display: inline-block;
310331
margin: 0;

0 commit comments

Comments
 (0)