Skip to content

Commit 7fcb8f8

Browse files
committed
P U B L I S H 🤘
1 parent 91e02d2 commit 7fcb8f8

File tree

10 files changed

+78
-68
lines changed

10 files changed

+78
-68
lines changed

index.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,20 @@ <h1>Leverage the power of<br>
4848

4949
<div class="full-width-divider">
5050
<ul class="wrapper highlights">
51-
<li>
52-
<h2>Get Started</h2>
51+
<li class="highlight-module">
52+
<a href="/guides/"><span class="mega-icon octicon-file-text"></span></a>
53+
<h2><a href="/guides/">Get Started</a></h2>
5354
<p>New to the GitHub API? With these guides you’ll be up and running in a snap.</p>
54-
<a href="/guides/" class="button-secondary">View introduction guides</a>
55-
<img class="octocat professorcat" src="/shared/images/professorcat.png">
5655
</li>
57-
<li>
58-
<h2>Libraries</h2>
56+
<li class="highlight-module">
57+
<a href="/libraries/"><span class="mega-icon octicon-code"></span></a>
58+
<h2><a href="/libraries/">Libraries</a></h2>
5959
<p>We’ve got you covered. Use the GitHub API in your favorite language.</p>
60-
<a href="/libraries/" class="button-secondary">Browse libraries</a>
61-
<img class="octocat" src="/shared/images/gundamcat-small.png">
6260
</li>
63-
<li>
64-
<h2>Support</h2>
61+
<li class="highlight-module">
62+
<a href="http://github.com/contact"><span class="mega-icon octicon-mail-read"></span></a>
63+
<h2><a href="http://github.com/contact">Support</a></h2>
6564
<p>Are you stuck? Already tried our <a href="/v3/troubleshooting/">troubleshooting guide</a>? Talk to a supportocat.</p>
66-
<a href="http://github.com/contact" class="button-secondary">Get in touch</a>
67-
<img class="octocat" src="/shared/images/supportocat.png">
6865
</li>
6966

7067
</ul>

shared/css/documentation.css

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ a img {
351351
width: 51px;
352352
border-radius: 3px;
353353
background: url(/shared/images/search.png) 5px center no-repeat #fff;
354-
354+
355355
-webkit-transition: width 0.3s ease-in-out 0s;
356356
-moz-transition: width 0.3s ease-in-out 0s;
357357
-ms-transition: width 0.3s ease-in-out 0s;
@@ -360,9 +360,9 @@ a img {
360360

361361
/** Hide native X appearing in IE10 **/
362362

363-
#searchfield::-ms-clear {
364-
height: 0;
365-
width: 0;
363+
#searchfield::-ms-clear {
364+
height: 0;
365+
width: 0;
366366
}
367367

368368
#searchfield:focus, #search-container.active #searchfield {
@@ -383,7 +383,7 @@ a img {
383383
pointer-events: none;
384384
color: #aaa;
385385
line-height: 20px;
386-
386+
387387
-webkit-transition: opacity 0.3s ease-in-out 0s;
388388
-moz-appearance-transition: opacity 0.3s ease-in-out 0s;
389389
-ms-transition: opacity 0.3s ease-in-out 0s;
@@ -396,7 +396,7 @@ a img {
396396
top: 2px;
397397
background: url(/shared/images/cancel.png) 0 0 no-repeat;
398398
width: 14px;
399-
height: 14px;
399+
height: 14px;
400400
display: none;
401401
}
402402

@@ -425,7 +425,7 @@ a img {
425425
-webkit-transition: opacity 0.3s ease-in-out 0s;
426426
-moz-transition: opacity 0.3s ease-in-out 0s;
427427
-ms-transition: opacity 0.3s ease-in-out 0s;
428-
transition: opacity 0.3s ease-in-out 0s;
428+
transition: opacity 0.3s ease-in-out 0s;
429429
}
430430

431431
#search-results li {
@@ -635,40 +635,53 @@ a img {
635635
position: relative;
636636
}
637637

638-
.highlights li {
638+
.octicon-mail-read:before {
639+
content: "\f03c";
640+
}
641+
642+
.octicon-code:before {
643+
content: '\f05f';
644+
}
645+
646+
.octicon-file-text:before {
647+
content: '\f011'
648+
}
649+
650+
.highlight-module {
639651
list-style-type: none;
640652
display: table-cell;
641-
padding: 0 10px;
653+
padding: 40px 14px 30px;
642654
text-align: center;
643655
margin-top: 10px;
644656
font-size: 14px;
645657
line-height: 1.5em;
646658
}
647659

648-
.highlights li:first-child {
660+
.highlight-module:first-child {
649661
padding-left: 0;
650-
padding-right: 20px;
662+
padding-right: 14px;
651663
}
652664

653-
.highlights li:last-child {
654-
padding-left: 20px;
665+
.highlight-module:last-child {
666+
padding-left: 14px;
655667
padding-right: 0;
656668
}
657669

658-
.highlights h2 {
659-
margin: 40px 0 20px;
660-
font-size: 24px;
661-
font-weight: normal;
662-
-webkit-backface-visibility: hidden;
670+
.highlight-module .mega-icon {
671+
font-size: 70px;
672+
width: 70px;
673+
height: 70px;
663674
}
664675

665-
.highlights .octocat {
666-
display: block;
667-
margin: 30px auto -20px;
676+
.highlights h2 {
677+
margin: 30px 0 15px;
678+
font-size: 30px;
679+
font-weight: 300;
680+
-webkit-backface-visibility: hidden;
668681
}
669682

670-
.highlights .octocat.professorcat {
671-
margin-top: 35px;
683+
a .mega-icon {
684+
color: #333;
672685
}
673686

674687
.full-width-divider + #footer {
@@ -1530,17 +1543,17 @@ li.api-status img {
15301543
background-image: url(/images/[email protected]);
15311544
background-size: 186px 27px;
15321545
}
1533-
1546+
15341547
#searchfield {
15351548
background-image: url(/shared/images/[email protected]);
15361549
background-size: 13px 13px;
15371550
}
1538-
1551+
15391552
.cancel-search {
15401553
background-image: url(/shared/images/[email protected]);
15411554
background-size: 14px 14px;
15421555
}
1543-
1556+
15441557
.sidebar-module .arrow-btn {
15451558
background-image: url(/shared/images/[email protected]);
15461559
background-size: 73px 80px;

shared/images/gundamcat-small.png

-32.1 KB
Binary file not shown.

shared/images/[email protected]

-72.6 KB
Binary file not shown.

shared/images/professorcat.png

-20 KB
Binary file not shown.

shared/images/[email protected]

-38.4 KB
Binary file not shown.

shared/images/supportocat.png

-16.5 KB
Binary file not shown.

shared/images/[email protected]

-37.3 KB
Binary file not shown.

v3/gists/comments/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 id="response">Response</h3>
7979
<pre><code class="language-javascript"><span class="p">[</span>
8080
<span class="p">{</span>
8181
<span class="s2">"id"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
82-
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/07d9053f6e232796eca4/comments/1"</span><span class="p">,</span>
82+
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/4f40bef435102bab1525/comments/1"</span><span class="p">,</span>
8383
<span class="s2">"body"</span><span class="o">:</span> <span class="s2">"Just commenting for the sake of commenting"</span><span class="p">,</span>
8484
<span class="s2">"user"</span><span class="o">:</span> <span class="p">{</span>
8585
<span class="s2">"login"</span><span class="o">:</span> <span class="s2">"octocat"</span><span class="p">,</span>
@@ -118,7 +118,7 @@ <h3 id="response-1">Response</h3>
118118

119119
<pre><code class="language-javascript"><span class="p">{</span>
120120
<span class="s2">"id"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
121-
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/07d9053f6e232796eca4/comments/1"</span><span class="p">,</span>
121+
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/4f40bef435102bab1525/comments/1"</span><span class="p">,</span>
122122
<span class="s2">"body"</span><span class="o">:</span> <span class="s2">"Just commenting for the sake of commenting"</span><span class="p">,</span>
123123
<span class="s2">"user"</span><span class="o">:</span> <span class="p">{</span>
124124
<span class="s2">"login"</span><span class="o">:</span> <span class="s2">"octocat"</span><span class="p">,</span>
@@ -181,7 +181,7 @@ <h3 id="response-2">Response</h3>
181181

182182
<pre><code class="language-javascript"><span class="p">{</span>
183183
<span class="s2">"id"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
184-
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/07d9053f6e232796eca4/comments/1"</span><span class="p">,</span>
184+
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/4f40bef435102bab1525/comments/1"</span><span class="p">,</span>
185185
<span class="s2">"body"</span><span class="o">:</span> <span class="s2">"Just commenting for the sake of commenting"</span><span class="p">,</span>
186186
<span class="s2">"user"</span><span class="o">:</span> <span class="p">{</span>
187187
<span class="s2">"login"</span><span class="o">:</span> <span class="s2">"octocat"</span><span class="p">,</span>
@@ -243,7 +243,7 @@ <h3 id="response-3">Response</h3>
243243

244244
<pre><code class="language-javascript"><span class="p">{</span>
245245
<span class="s2">"id"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
246-
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/07d9053f6e232796eca4/comments/1"</span><span class="p">,</span>
246+
<span class="s2">"url"</span><span class="o">:</span> <span class="s2">"https://api.github.com/gists/4f40bef435102bab1525/comments/1"</span><span class="p">,</span>
247247
<span class="s2">"body"</span><span class="o">:</span> <span class="s2">"Just commenting for the sake of commenting"</span><span class="p">,</span>
248248
<span class="s2">"user"</span><span class="o">:</span> <span class="p">{</span>
249249
<span class="s2">"login"</span><span class="o">:</span> <span class="s2">"octocat"</span><span class="p">,</span>

0 commit comments

Comments
 (0)