Skip to content

Commit

Permalink
add link to gitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 18, 2016
1 parent 8bd1609 commit 9993b31
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<li><a href='/guide'>Guide</a></li>
<li><a href='/repl'>REPL</a></li>
<li><a class='active' href='/blog'>Blog</a></li>
<li><a href='https://gitter.im/sveltejs/svelte'>Chat</a></li>
<li><a href='https://github.com/sveltejs/svelte'>GitHub</a></li>
</ul>
</header>
Expand Down
1 change: 1 addition & 0 deletions src/blog/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<li><a href='/guide'>Guide</a></li>
<li><a href='/repl'>REPL</a></li>
<li><a class='active' href='/blog'>Blog</a></li>
<li><a href='https://gitter.im/sveltejs/svelte'>Chat</a></li>
<li><a href='https://github.com/sveltejs/svelte'>GitHub</a></li>
</ul>
</header>
Expand Down
19 changes: 16 additions & 3 deletions src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ header {

.logo {
position: absolute;
top: 0.7rem;
top: 0.9rem;
left: 0.7rem;
line-height: 1;
text-transform: lowercase;
font-size: 1.8em;
font-size: 1.4em;
color: white;
}

Expand Down Expand Up @@ -55,7 +55,7 @@ header {
/*color: #666;*/
color: #ccc;
font-size: 1em;
padding: 1.1em 0.5em 0.9em 0.5em;
padding: 1.1em 0.3em 0.9em 0.3em;
line-height: 1;

&.active {
Expand All @@ -69,6 +69,19 @@ header {
}
}

@media (min-width: 360px) {
header {
.logo {
top: 0.7rem;
font-size: 1.8em;
}

li a {
padding: 1.1em 0.5em 0.9em 0.5em;
}
}
}

@media (min-width: 768px) {
header {
height: 4em;
Expand Down
1 change: 1 addition & 0 deletions src/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<li><a href='/guide'>Guide</a></li>
<li><a href='/repl'>REPL</a></li>
<li><a href='/blog'>Blog</a></li>
<li><a href='https://gitter.im/sveltejs/svelte'>Chat</a></li>
<li><a href='https://github.com/sveltejs/svelte'>GitHub</a></li>
</ul>
</header>
Expand Down
1 change: 1 addition & 0 deletions src/files/repl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<li><a href='/guide'>Guide</a></li>
<li><a class='active' href='/repl'>REPL</a></li>
<li><a href='/blog'>Blog</a></li>
<li><a href='https://gitter.im/sveltejs/svelte'>Chat</a></li>
<li><a href='https://github.com/sveltejs/svelte'>GitHub</a></li>
</ul>
</header>
Expand Down
1 change: 1 addition & 0 deletions src/guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<li><a class='active' href='/guide'>Guide</a></li>
<li><a href='/repl'>REPL</a></li>
<li><a href='/blog'>Blog</a></li>
<li><a href='https://gitter.im/sveltejs/svelte'>Chat</a></li>
<li><a href='https://github.com/sveltejs/svelte'>GitHub</a></li>
</ul>
</header>
Expand Down

0 comments on commit 9993b31

Please sign in to comment.