]> Cypherpunks repositories - gostls13.git/commitdiff
doc: change menu, tweak front page
authorAndrew Gerrand <adg@golang.org>
Sun, 4 Mar 2012 23:34:22 +0000 (10:34 +1100)
committerAndrew Gerrand <adg@golang.org>
Sun, 4 Mar 2012 23:34:22 +0000 (10:34 +1100)
R=golang-dev, kyle, r
CC=golang-dev
https://golang.org/cl/5729052

doc/root.html
doc/style.css
lib/godoc/godoc.html

index 6884fbafe761fa1527e15d5217e1ac44408f8877..2029d4c6d299df72c58928a4fd3f97209f1b0cde 100644 (file)
@@ -2,26 +2,7 @@
        "Path": "/"
 }-->
 
-<div id="left" class="aboutcol">
-
-<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 class="left">
 
 <div id="learn">
 <div class="rootHeading">Try Go</div>
@@ -49,9 +30,28 @@ Hello, 世界
 
 </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 id="left">
+<div class="left">
 
 <div id="video">
 <div class="rootHeading">Featured video</div>
@@ -61,7 +61,7 @@ Hello, 世界
 
 </div>
 
-<div id="right">
+<div class="right">
 
 <div id="blog">
 <div class="rootHeading">Featured articles</div>
index 51d74b192f2dc98be40c7d01b43b0bd2598966cd..b180a615d29b510ebe6488df95438c9a539a43eb 100644 (file)
@@ -118,8 +118,8 @@ table.dir td {
 div#heading {
        float: left;
        margin: 0 0 10px 0;
-       padding: 16px 0;
-       font-size: 26px;
+       padding: 21px 0;
+       font-size: 20px;
        font-weight: normal;
 }
 div#heading a {
@@ -197,7 +197,7 @@ div#menu > a {
 div#menu > input {
        position: relative;
        top: 1px;
-       width: 100px;
+       width: 60px;
        background: white;
        color: #222;
 }
@@ -205,14 +205,14 @@ div#menu > input.inactive {
        color: #999;
 }
 
-div#left {
+div.left {
        float: left;
 }
-div#right {
+div.right {
        float: right;
 }
-div#left,
-div#right {
+div.left,
+div.right {
        width: 415px;
 }
 
index 380a3910d9d02d88e841fff8b5127b831ea264c0..09a2cc4c2f4a48caba2a65d0491e5bd744c768ff 100644 (file)
 <form method="GET" action="/search">
 <div id="heading"><a href="/">The Go Programming Language</a></div>
 <div id="menu">
-<a href="/doc/">Learn</a>
-<a href="/install/">Install</a>
-<a href="/project/">Project</a>
-<a href="/doc/reference.html">Reference</a>
+<a href="/doc/">Documents</a>
+<a href="/ref/">References</a>
+<a href="/pkg/">Packages</a>
+<a href="/project/">The Project</a>
+<a href="/help/">Help</a>
 <input type="text" id="search" name="q" class="inactive" value="Search">
 </div>
 </form>