]> Cypherpunks repositories - gostls13.git/commitdiff
godoc: bring back highlighting, selections, and alerts
authorRobert Griesemer <gri@golang.org>
Thu, 23 Feb 2012 22:54:10 +0000 (14:54 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 23 Feb 2012 22:54:10 +0000 (14:54 -0800)
R=adg, rsc
CC=golang-dev
https://golang.org/cl/5695054

doc/style.css

index c3877052142d52a7dc23bae4fd58a8656e29bb9a..821c886a158872ff7e15d6db987d48576621ecc0 100644 (file)
@@ -13,6 +13,27 @@ pre {
 pre .comment {
        color: #375EAB;
 }
+pre .highlight {
+       background: #FFFF00;
+}
+pre .highlight-comment {
+       background: #FFFF00;
+       color: #375EAB;
+}
+pre .selection {
+       background: #FF9632;
+}
+pre .selection-comment {
+       background: #FF9632;
+       color: #375EAB;
+}
+pre .selection-highlight {
+       background: #FFFF00;
+}
+pre .selection-highlight-comment {
+       background: #FFFF00;
+       color: #375EAB;
+}
 pre .ln {
        color: #999;
 }
@@ -88,6 +109,10 @@ table.dir td {
        vertical-align: top;
 }
 
+.alert {
+       color: #FF0000;
+}
+
 #heading {
        float: left;
        margin: 0 0 10px 0;