]> Cypherpunks repositories - gostls13.git/commitdiff
doc: move styles to style.css
authorAndrew Gerrand <adg@golang.org>
Wed, 22 Feb 2012 04:02:31 +0000 (15:02 +1100)
committerAndrew Gerrand <adg@golang.org>
Wed, 22 Feb 2012 04:02:31 +0000 (15:02 +1100)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5685075

doc/go1.html
doc/go1.tmpl
doc/style.css

index 53b338b8659015d158d38cfec9468603d6e176a0..38cd0e94f238749ed929c16187d993a5d77d1d36 100644 (file)
@@ -7,12 +7,6 @@
 -->
 
 
-<!-- Center the tables, and disable the 1995-era 3D borders -->
-<style type="text/css">
-table { margin-left: auto; margin-right: auto; border-style: none; }
-hr { border-style: none; border-top: 1px solid black; }
-</style>
-
 <h2 id="introduction">Introduction to Go 1</h2>
 
 <p>
index b487c009af7fe51371d37cf4a96d9590c764ea23..f61dcd5cce7cc2bb4d8ef8ac046fa51a1fce99f1 100644 (file)
@@ -3,12 +3,6 @@
 }-->
 {{donotedit}}
 
-<!-- Center the tables, and disable the 1995-era 3D borders -->
-<style type="text/css">
-table { margin-left: auto; margin-right: auto; border-style: none; }
-hr { border-style: none; border-top: 1px solid black; }
-</style>
-
 <h2 id="introduction">Introduction to Go 1</h2>
 
 <p>
index c53f93dd0583891fb95d64142ed33d7ce2be9d39..c3877052142d52a7dc23bae4fd58a8656e29bb9a 100644 (file)
@@ -328,3 +328,6 @@ body {
 .example .expanded { display: none; }
 .exampleVisible .collapsed { display: none; }
 .exampleVisible .expanded { display: block; }
+
+table.codetable { margin-left: auto; margin-right: auto; border-style: none; }
+hr { border-style: none; border-top: 1px solid black; }