aboutsummaryrefslogtreecommitdiff
path: root/doc/root.html
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-09-22 10:43:01 +1000
committerAndrew Gerrand <adg@golang.org>2010-09-22 10:43:01 +1000
commitc23f647e841a511562e0f47097d36bd3253db656 (patch)
tree9b1702ad2e70733c0e73497e2a57a2a2a0dca4a1 /doc/root.html
parent7d03d0ec6b00c91988de99c64673a57b6f762fc9 (diff)
downloadgo-c23f647e841a511562e0f47097d36bd3253db656.tar.xz
doc: variable-width layout
The front page remains fixed-width. All other pages should look good in windows >=500px wide. Includes additional styles for search result highlighting, code comments, and general CSS clean-ups. Tested with Chrome 6, Firefox 3.6, IE 7, and IE 8. R=gri, r CC=golang-dev https://golang.org/cl/2229041
Diffstat (limited to 'doc/root.html')
-rw-r--r--doc/root.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/root.html b/doc/root.html
index abfdc1dafa..c4e43b7721 100644
--- a/doc/root.html
+++ b/doc/root.html
@@ -1,3 +1,5 @@
+<link rel="stylesheet" type="text/css" href="/doc/frontpage.css">
+
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
function loadFeed() {
@@ -34,7 +36,6 @@ google.load("feeds", "1");
google.setOnLoadCallback(loadFeed);
</script>
- <link rel="stylesheet" type="text/css" href="/doc/frontpage.css">
<div id="frontpage">
<div class="left-column">
<p style="margin-top: 0;">
@@ -50,7 +51,8 @@ google.setOnLoadCallback(loadFeed);
</p>
<h2>Check it out!</h2>
<p>
- <a href="/doc/install.html">Install Go now</a>, or try it right here in your browser: <small>[<a href="/doc/playground.html">How does it work?</a>]</small></p>
+ <div class="how">[<a href="/doc/playground.html">How does it work?</a>]</div>
+ <a href="/doc/install.html">Install Go now</a>, or try it right here in your browser:</p>
<div id="playground" class="small"></div>
<script src="/doc/play/playground.js"></script>
</div>