godoc: style update.
R=r, rsc
CC=go-dev
http://go/go-review/1017051
diff --git a/doc/go-logo-black.png b/doc/go-logo-black.png
new file mode 100644
index 0000000..29be319
--- /dev/null
+++ b/doc/go-logo-black.png
Binary files differ
diff --git a/doc/root.html b/doc/root.html
index ed951a0..b727f7f 100644
--- a/doc/root.html
+++ b/doc/root.html
@@ -25,7 +25,16 @@
</ol>
<h1>Watch and Learn</h1>
- <p>(No video yet.)</p>
+ <table>
+ <tr>
+ <td>
+ <a href="http://www.youtube.com/FIXME"><img src="/doc/video-snap.jpg"></a>
+ </td>
+ <td>
+ Programming with Go. <a href="http://www.youtube.com/FIXME">Watch now</a>.
+ </td>
+ </tr>
+ </table>
</div>
<div id="frontpage">
@@ -33,7 +42,7 @@
<table style="padding-top: 1em; padding-bottom: 2em;">
<tr>
<td>
- <img style="padding-right: 1em;" src="/doc/go-logo-blue.png">
+ <img style="padding-right: 1em;" src="/doc/go-logo-black.png">
</td>
<td>
<div><span style="font-size: 2em; font-weight: bold;">an experimental programming language.</span><br><span style="font-size: 1.5em;">Imperative, concurrent, garbage-collected.</span></div>
diff --git a/doc/style.css b/doc/style.css
index 8109a75..ea74aad 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -88,14 +88,12 @@
padding: 0 1em 2em 1em;
margin-top: -2px;
border-left: 2px solid #e5ecf9;
+ border-right: 2px solid #e5ecf9;
+ border-bottom: 2px solid #e5ecf9;
}
#topnav {
-}
-
-#headerDocSetTitle {
margin: 0px;
- padding-left: 0.2em;
padding-top: 0.2em;
width: 100%;
white-space: nowrap;
@@ -237,16 +235,22 @@
padding-left: 1em;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
+ padding-bottom: 0.75em;
}
#gettingStarted h1 {
padding-top: 0.3em;
+ margin-bottom: 0.2em;
font-size: 1.5em;
}
#gettingStarted ol {
}
+#gettingStarted a img {
+ border: 1px solid blue;
+}
+
#frontpage {
width: 70%;
}
diff --git a/doc/video-snap.jpg b/doc/video-snap.jpg
new file mode 100644
index 0000000..ae66c55
--- /dev/null
+++ b/doc/video-snap.jpg
Binary files differ
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html
index d3c6610..22242ca 100644
--- a/lib/godoc/godoc.html
+++ b/lib/godoc/godoc.html
@@ -41,10 +41,13 @@
<a href="/"><img src="/doc/logo-153x55.png" height="55" width="153" alt="Go Home Page" style="border:0" /></a>
</td>
<td>
+ <div id="headerDocSetTitle">The Go Programming Language</div>
+ </td>
+ <td>
<!-- <table>
<tr>
<td>
- <!-- The input box is outside of the form because we want to add
+ <! The input box is outside of the form because we want to add
a couple of restricts to the query before submitting. If we just
add the restricts to the text box before submitting, then they
appear in the box when the user presses 'back'. Thus we use a
@@ -70,8 +73,6 @@
</table>
</div>
-<div id="headerDocSetTitle">The Go Programming Language</div>
-
<div id="linkList">
<ul>
<li class="navhead"><a href="/" class="noline">Home</a></li>
@@ -99,7 +100,7 @@
<li class="blank"> </li>
<li class="navhead">Go code search</li>
<form method="GET" action="/search" class="search">
- <input name="q" value="{Query|html}" size="25" />
+ <input type="search" name="q" value="{Query|html}" size="25" />
<input type="submit" value="Go" />
<li class="blank"> </li>