mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
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:
committed by
GitHub
parent
042cbcaddf
commit
2f28dc9e51
@@ -3,7 +3,8 @@ title: "Intro"
|
||||
date: 2018-02-11T16:52:23-05:00
|
||||
---
|
||||
|
||||

|
||||
<img src="/banner.png" width="600" alt="Athens Logo"/>
|
||||
|
||||
|
||||
## Welcome to Athens
|
||||
|
||||
|
||||
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 620 KiB After Width: | Height: | Size: 2.1 MiB |
+1
-1
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user