1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:04:41 -07:00

doc: change menu, tweak front page

R=golang-dev, kyle, r
CC=golang-dev
https://golang.org/cl/5729052
This commit is contained in:
Andrew Gerrand 2012-03-05 10:34:22 +11:00
parent 4d35583661
commit d1e726c583
3 changed files with 34 additions and 33 deletions

View File

@ -2,26 +2,7 @@
"Path": "/" "Path": "/"
}--> }-->
<div id="left" class="aboutcol"> <div class="left">
<div id="about">
Go is an open source programming environment that makes it easy to build
simple, reliable, and efficient software.
</div>
<div id="gopher"></div>
<a href="/install/" id="start">
<div class="big">Download Go</div>
<div class="desc">
Binary distributions available for<br>
Linux, Mac OS X, Windows, and more.
</div>
</a>
</div>
<div id="right" class="learncol">
<div id="learn"> <div id="learn">
<div class="rootHeading">Try Go</div> <div class="rootHeading">Try Go</div>
@ -49,9 +30,28 @@ Hello, 世界
</div> </div>
<div class="right">
<div id="about">
Go is an open source programming environment that makes it easy to build
simple, reliable, and efficient software.
</div>
<div id="gopher"></div>
<a href="/install/" id="start">
<div class="big">Download Go</div>
<div class="desc">
Binary distributions available for<br>
Linux, Mac OS X, Windows, and more.
</div>
</a>
</div>
<div style="clear: both"></div> <div style="clear: both"></div>
<div id="left"> <div class="left">
<div id="video"> <div id="video">
<div class="rootHeading">Featured video</div> <div class="rootHeading">Featured video</div>
@ -61,7 +61,7 @@ Hello, 世界
</div> </div>
<div id="right"> <div class="right">
<div id="blog"> <div id="blog">
<div class="rootHeading">Featured articles</div> <div class="rootHeading">Featured articles</div>

View File

@ -118,8 +118,8 @@ table.dir td {
div#heading { div#heading {
float: left; float: left;
margin: 0 0 10px 0; margin: 0 0 10px 0;
padding: 16px 0; padding: 21px 0;
font-size: 26px; font-size: 20px;
font-weight: normal; font-weight: normal;
} }
div#heading a { div#heading a {
@ -197,7 +197,7 @@ div#menu > a {
div#menu > input { div#menu > input {
position: relative; position: relative;
top: 1px; top: 1px;
width: 100px; width: 60px;
background: white; background: white;
color: #222; color: #222;
} }
@ -205,14 +205,14 @@ div#menu > input.inactive {
color: #999; color: #999;
} }
div#left { div.left {
float: left; float: left;
} }
div#right { div.right {
float: right; float: right;
} }
div#left, div.left,
div#right { div.right {
width: 415px; width: 415px;
} }

View File

@ -20,10 +20,11 @@
<form method="GET" action="/search"> <form method="GET" action="/search">
<div id="heading"><a href="/">The Go Programming Language</a></div> <div id="heading"><a href="/">The Go Programming Language</a></div>
<div id="menu"> <div id="menu">
<a href="/doc/">Learn</a> <a href="/doc/">Documents</a>
<a href="/install/">Install</a> <a href="/ref/">References</a>
<a href="/project/">Project</a> <a href="/pkg/">Packages</a>
<a href="/doc/reference.html">Reference</a> <a href="/project/">The Project</a>
<a href="/help/">Help</a>
<input type="text" id="search" name="q" class="inactive" value="Search"> <input type="text" id="search" name="q" class="inactive" value="Search">
</div> </div>
</form> </form>