Skip to content

Commit 67fd26c

Browse files
author
Fabian Perez
committed
Add dev program call-out
1 parent 18af010 commit 67fd26c

2 files changed

Lines changed: 73 additions & 33 deletions

File tree

content/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ GitHub in your app</h1>
2828
<h2><a href="http://github.com/contact">Support</a></h2>
2929
<p>Are you stuck? Already tried our <a href="/v3/troubleshooting/">troubleshooting guide</a>? Talk to a supportocat.</p>
3030
</li>
31-
3231
</ul>
3332
</div>
33+
34+
<div class="full-width dev-program-callout">
35+
<div class="wrapper">
36+
<h2>Join the GitHub Developer Program.</h2>
37+
<p>The best way to integrate with GitHub.</p>
38+
<a href="https://github.com/developer/register" class="nav-register-button">Register</a>
39+
</div>
40+
</div>
41+

static/shared/css/documentation.css

Lines changed: 64 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -610,38 +610,6 @@ a img {
610610
margin-top: -1px;
611611
}
612612

613-
.dev-program.feature {
614-
background: #160625;
615-
height: 420px;
616-
margin-top: -2px;
617-
position: relative;
618-
}
619-
620-
.dev-program.feature .intro {
621-
color: #a397ad;
622-
font-size: 20px;
623-
line-height: 1.5em;
624-
max-width: 500px;
625-
}
626-
627-
.dev-program.feature h1 {
628-
color: #eee;
629-
width: 600px;
630-
}
631-
632-
.dev-program.feature .earth {
633-
margin-top: -175px;
634-
position: absolute;
635-
right: 0;
636-
top: 50%;
637-
z-index: 0;
638-
}
639-
640-
.dev-program.feature .wrapper {
641-
position: relative;
642-
z-index: 1;
643-
}
644-
645613
.full-width-divider {
646614
width: 100%;
647615
background: #f2f2f2;
@@ -962,6 +930,70 @@ div.sidebar-module ul ul li span {
962930

963931
/* end */
964932

933+
/*------------------------------------------------------------------------------
934+
Dev Program
935+
------------------------------------------------------------------------------*/
936+
.dev-program.feature {
937+
height: 420px;
938+
margin-top: -2px;
939+
position: relative;
940+
}
941+
942+
.dev-program.feature,
943+
.dev-program-callout {
944+
background: #160625;
945+
}
946+
947+
.dev-program.feature .intro {
948+
font-size: 20px;
949+
line-height: 1.5em;
950+
max-width: 500px;
951+
}
952+
953+
.dev-program.feature h1 {
954+
width: 600px;
955+
}
956+
957+
.dev-program.feature .earth {
958+
margin-top: -175px;
959+
position: absolute;
960+
right: 0;
961+
top: 50%;
962+
z-index: 0;
963+
}
964+
965+
.dev-program.feature .wrapper {
966+
position: relative;
967+
z-index: 1;
968+
}
969+
970+
.dev-program-callout {
971+
padding: 40px 0;
972+
}
973+
974+
.dev-program.feature h1,
975+
.dev-program-callout h2 {
976+
color: #eee;
977+
}
978+
979+
.dev-program.feature .intro,
980+
.dev-program-callout p {
981+
color: #a397ad;
982+
}
983+
984+
.dev-program-callout h2 {
985+
font-size: 20px;
986+
font-weight: 300;
987+
margin: 0;
988+
}
989+
990+
.dev-program-callout p {
991+
font-size: 16px;
992+
margin: 10px 0 0;
993+
}
994+
995+
/* end */
996+
965997
/*------------------------------------------------------------------------------
966998
Not Footer
967999
------------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)