Tweak homepage theme (#542)

* Make athens banner smaller

This helps people see that there is more content below the athens logo, otherwise
the most prominent thing they see is the next arrow >
and they miss our homepage content.

* Make home link friendly for previews

Right now when viewing a preview of our docs site, when I click on the home logo
I end up on our live site. This makes the home logo go to the root of the
current site instead, which is more friendly for testing docs locally
or previewing a PR.
This commit is contained in:
Carolyn Van Slyck
2018-08-21 13:59:16 -05:00
committed by GitHub
parent 042cbcaddf
commit 2f28dc9e51
4 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ title: "Intro"
date: 2018-02-11T16:52:23-05:00
---
![Athens logo](/banner.png)
<img src="/banner.png" width="600" alt="Athens Logo"/>
## Welcome to Athens
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

After

Width:  |  Height:  |  Size: 2.1 MiB

+1 -1
View File
@@ -1,3 +1,3 @@
<a id="logo" href="https://docs.gomods.io">
<a id="logo" href="/">
<img src="/logo@2x.png"></img>
</a>
+1 -1
View File
@@ -343,7 +343,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
border: 1px solid #ccc;
}
#body .padding {
padding: 3rem 6rem;
padding: 1rem 6rem 3rem 6rem;
}
@media only all and (max-width: 59.938em) {
#body .padding {