Skip to content

Commit b6b4bac

Browse files
committed
Slimmer header
1 parent 3562630 commit b6b4bac

5 files changed

Lines changed: 5 additions & 18 deletions

File tree

layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div id="header-wrapper">
2020
<div id="header">
2121
<div>
22-
<a class="logo" href="/"><img src="/images/logo_developer.png" height="45" alt="GitHub:Developer" /></a>
22+
<a class="logo" href="/"><img src="/images/logo_developer.png" height="27" alt="GitHub:Developer" /></a>
2323
<ul class="nav">
2424
<li class="api-status"></li>
2525
<li><a href="/v3/">API v3</a></li>

static/images/background-v2.png

-174 Bytes
Binary file not shown.

static/shared/css/documentation.css

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ a img {
167167
#header-wrapper {
168168
margin-bottom: 0;
169169
clear: both;
170-
height: 91px;
171-
background: white url(../images/background-v2.png) 0 0 repeat-x;
170+
height: 61px;
171+
background: url(../images/header.png) 0 0 repeat-x;
172172
}
173173

174174
#header {
@@ -178,7 +178,7 @@ a img {
178178

179179
#header a.logo {
180180
float: left;
181-
margin-top: 15px;
181+
margin-top: 17px;
182182
display: inline-block;
183183
}
184184

@@ -188,20 +188,7 @@ a img {
188188
font-weight: bold;
189189
text-shadow: white 1px 1px 0px;
190190
font-size: 12px;
191-
margin-top: 18px;
192-
background: #f5f5f5;
193-
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fcfcfc', endColorstr='#ececec');
194-
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#fcfcfc), to(#e8e8e8));
195-
background:-moz-linear-gradient(270deg, #fcfcfc, #ececec);
196-
border-color:#eee;
197-
border:1px solid #e9e9e9;
198-
border-bottom-color:#f5f5f5;
199-
-webkit-border-radius:5px;
200-
-moz-border-radius:5px;
201-
border-radius:5px;
202-
-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.2);
203-
-moz-box-shadow:0 1px 1px rgba(0,0,0,0.2);
204-
box-shadow:0 1px 1px rgba(0,0,0,0.2);
191+
margin-top: 13px;
205192
}
206193

207194
#header ul.nav li:first-child {
-174 Bytes
Binary file not shown.

static/shared/images/header.png

150 Bytes
Loading

0 commit comments

Comments
 (0)