2009-10-22 10:41:38 -06:00
|
|
|
/*
|
|
|
|
Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
Use of this source code is governed by a BSD-style
|
|
|
|
license that can be found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* Styles meant to help page authors achieve beauty. */
|
|
|
|
|
2009-09-17 09:05:12 -06:00
|
|
|
code, .code {
|
2009-09-23 22:38:52 -06:00
|
|
|
font-size: 100%;
|
|
|
|
font-family: monospace;
|
2009-11-02 23:44:01 -07:00
|
|
|
color: #007000;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
2009-09-23 22:38:52 -06:00
|
|
|
font-size: 100%;
|
|
|
|
font-family: monospace;
|
2009-09-17 09:05:12 -06:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.ebnf {
|
|
|
|
background-color: beige;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.grammar {
|
|
|
|
background-color: beige;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.rule {
|
2009-10-22 10:41:38 -06:00
|
|
|
font-style: italic;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
span.event {
|
2009-10-22 10:41:38 -06:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.alert {
|
|
|
|
color: #ff0000;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font: 13px Helvetica, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
2009-11-03 20:59:45 -07:00
|
|
|
h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0.75em;
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2, h3, h4, h5, h6 {
|
2009-09-17 09:05:12 -06:00
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
background-color: #e5ecf9;
|
|
|
|
margin-top: 2em;
|
|
|
|
border-top:1px solid #36C;
|
2009-11-03 20:59:45 -07:00
|
|
|
padding-left: 0.2em;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
2009-10-22 10:41:38 -06:00
|
|
|
pre {
|
2009-09-17 09:05:12 -06:00
|
|
|
font-size: 9pt;
|
2009-10-05 16:17:30 -06:00
|
|
|
background-color: #f8f8ff;
|
2009-09-17 09:05:12 -06:00
|
|
|
margin: 1em 0 0 0;
|
|
|
|
padding: .99em;
|
|
|
|
line-height: 125%;
|
|
|
|
overflow: auto;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li pre {
|
|
|
|
margin: 0.5em 0px 1em 0px;
|
|
|
|
}
|
|
|
|
|
2009-10-22 10:41:38 -06:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* Styles used in the boilerplate-ish parts of pages. */
|
2009-09-17 09:05:12 -06:00
|
|
|
|
|
|
|
div#content {
|
|
|
|
margin-left: 20%;
|
|
|
|
padding: 0 1em 2em 1em;
|
|
|
|
margin-top: -2px;
|
2009-11-03 20:59:45 -07:00
|
|
|
border-left: 2px solid #e5ecf9;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#topnav {
|
2009-11-03 20:59:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#headerDocSetTitle {
|
2009-09-17 09:05:12 -06:00
|
|
|
margin: 0px;
|
2009-11-03 20:59:45 -07:00
|
|
|
padding-left: 0.2em;
|
|
|
|
padding-top: 0.2em;
|
2009-09-17 09:05:12 -06:00
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
background-color: #e5ecf9;
|
|
|
|
border-top:1px solid #36C;
|
|
|
|
font: bold large Helvetica, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList {
|
|
|
|
font: 13px Helvetica, Arial, sans-serif;
|
|
|
|
float: left;
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList ul {
|
|
|
|
padding: 1px;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList li {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList li.navhead {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav dl {
|
|
|
|
margin: 0 0.5em 0 0.5em;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navtop {
|
2009-09-23 22:38:52 -06:00
|
|
|
font-size: xx-small;
|
2009-09-17 09:05:12 -06:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
|
|
|
margin: 2em;
|
|
|
|
text-align: center;
|
|
|
|
color: #555;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer a {
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
div#linkList {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.navtop {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
div#content {
|
|
|
|
margin-left: 0px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-10-22 10:41:38 -06:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
2009-11-02 23:44:01 -07:00
|
|
|
/* Styles used by godoc */
|
2009-10-22 10:41:38 -06:00
|
|
|
|
2009-10-27 11:34:31 -06:00
|
|
|
a.noline {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2009-11-02 23:44:01 -07:00
|
|
|
table.layout {
|
|
|
|
border-width: 0px;
|
|
|
|
border-spacing: 0px;
|
|
|
|
border-width: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2009-10-22 10:41:38 -06:00
|
|
|
span.comment {
|
|
|
|
color: #0000a0;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.highlight {
|
2009-10-27 11:34:31 -06:00
|
|
|
background-color: #81F781;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* Styles used by infoClassFmt */
|
|
|
|
|
2009-10-27 17:08:12 -06:00
|
|
|
a.package {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
2009-10-27 11:34:31 -06:00
|
|
|
a.import {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #D8D8D8;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.const {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #F5A9A9;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.type {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #F2F5A9;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.var {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #A9F5A9;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.func {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #A9D0F5;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.method {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #D0A9F5;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.use {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #FFFFFF;
|
|
|
|
background-color: #5858FA;
|
2009-10-22 10:41:38 -06:00
|
|
|
}
|
2009-11-03 20:59:45 -07:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* Styles for the frontpage */
|
|
|
|
|
|
|
|
#gettingStarted {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
float: right;
|
|
|
|
background-color: #e5ecf9;
|
|
|
|
width: 25%;
|
|
|
|
padding-left: 1em;
|
|
|
|
-moz-border-radius: 7px;
|
|
|
|
-webkit-border-radius: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gettingStarted h1 {
|
|
|
|
padding-top: 0.3em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gettingStarted ol {
|
|
|
|
}
|
|
|
|
|
|
|
|
#frontpage {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#frontpage h3 {
|
|
|
|
margin-left: 3em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|