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-11-09 17:19:38 -07:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
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-07 13:11:28 -07:00
|
|
|
color: #0f398d;
|
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 {
|
2009-11-07 13:11:28 -07:00
|
|
|
background-color: #ffffe9;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
pre.grammar {
|
2009-11-07 13:11:28 -07:00
|
|
|
background-color: #ffffe9;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
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-11-07 13:11:28 -07:00
|
|
|
a:link {
|
|
|
|
color: #0f398d
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
2009-11-08 01:18:15 -07:00
|
|
|
color: #0b2455
|
2009-11-07 13:11:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #0000ff
|
|
|
|
}
|
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;
|
2009-11-07 13:11:28 -07:00
|
|
|
margin-top: 0px;
|
|
|
|
/*
|
2009-11-03 20:59:45 -07:00
|
|
|
border-left: 2px solid #e5ecf9;
|
2009-11-05 13:18:54 -07:00
|
|
|
border-right: 2px solid #e5ecf9;
|
|
|
|
border-bottom: 2px solid #e5ecf9;
|
2009-11-07 13:11:28 -07:00
|
|
|
*/
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#topnav {
|
|
|
|
margin: 0px;
|
2009-11-03 20:59:45 -07:00
|
|
|
padding-top: 0.2em;
|
2009-09-17 09:05:12 -06:00
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
2009-11-07 13:11:28 -07:00
|
|
|
background-color: #ffffff;
|
|
|
|
border-bottom: 2px solid #36C;
|
|
|
|
font: bold 150% Helvetica, Arial, sans-serif;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList {
|
2009-11-07 13:11:28 -07:00
|
|
|
margin-top: 1.5em;
|
|
|
|
padding-left: 0.5em;
|
2009-09-17 09:05:12 -06:00
|
|
|
font: 13px Helvetica, Arial, sans-serif;
|
|
|
|
float: left;
|
2009-11-07 13:11:28 -07:00
|
|
|
width: 18%;
|
|
|
|
background-color: #fffff0;
|
|
|
|
border: 2px solid #ba9836;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList ul {
|
|
|
|
padding: 1px;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList li {
|
|
|
|
margin-left: 1em;
|
2009-11-08 23:12:51 -07:00
|
|
|
padding-bottom: 0.2em;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div#linkList li.navhead {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 0px;
|
2009-11-08 23:12:51 -07:00
|
|
|
padding-bottom: 0.25em;
|
2009-09-17 09:05:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#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-11-02 23:44:01 -07:00
|
|
|
table.layout {
|
|
|
|
border-width: 0px;
|
|
|
|
border-spacing: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2009-10-22 10:41:38 -06:00
|
|
|
span.comment {
|
|
|
|
color: #0000a0;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.highlight {
|
2009-12-01 10:15:05 -07:00
|
|
|
font-weight: bold;
|
2009-11-09 00:37:46 -07:00
|
|
|
background-color: #ffffa0;
|
2009-10-27 11:34:31 -06:00
|
|
|
}
|
|
|
|
|
2010-03-30 18:37:42 -06:00
|
|
|
span.subtitle {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: medium;
|
|
|
|
}
|
|
|
|
|
2010-02-18 18:40:50 -07:00
|
|
|
/* same style as for gettingStarted */
|
|
|
|
#menu {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
margin-left: 1.75em;
|
|
|
|
margin-right: 0em;
|
|
|
|
float: right;
|
|
|
|
background-color: #fffff0;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
padding-bottom: 0.75em;
|
|
|
|
border: 2px solid #ba9836;
|
|
|
|
}
|
|
|
|
|
2010-03-16 15:17:42 -06:00
|
|
|
/* same color scheme as for gettingStarted */
|
|
|
|
#content .popup {
|
|
|
|
position: absolute;
|
|
|
|
border: 1px solid #ba9836;
|
|
|
|
background-color: #fffff0;
|
|
|
|
margin-top: 3em;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content .identifier,
|
|
|
|
#content .type {
|
|
|
|
color: #008;
|
|
|
|
}
|
2009-10-27 11:34:31 -06:00
|
|
|
|
2009-11-03 20:59:45 -07:00
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* Styles for the frontpage */
|
|
|
|
|
2010-03-19 18:42:57 -06:00
|
|
|
#gettingStarted, #blog {
|
2009-11-03 20:59:45 -07:00
|
|
|
margin-top: 1.5em;
|
2009-11-07 17:46:49 -07:00
|
|
|
margin-left: 1.75em;
|
|
|
|
margin-right: 0em;
|
2009-11-03 20:59:45 -07:00
|
|
|
float: right;
|
2010-03-19 18:42:57 -06:00
|
|
|
clear: right;
|
2009-11-07 13:11:28 -07:00
|
|
|
background-color: #fffff0;
|
2009-11-03 20:59:45 -07:00
|
|
|
padding-left: 1em;
|
2009-11-07 13:11:28 -07:00
|
|
|
padding-right: 1em;
|
2009-11-05 13:18:54 -07:00
|
|
|
padding-bottom: 0.75em;
|
2009-11-07 13:11:28 -07:00
|
|
|
border: 2px solid #ba9836;
|
2010-03-19 18:42:57 -06:00
|
|
|
width: 180px;
|
2009-11-03 20:59:45 -07:00
|
|
|
}
|
|
|
|
|
2010-03-19 18:42:57 -06:00
|
|
|
#blog { margin-bottom: 1.5em; }
|
|
|
|
#blog h1 { font-size: 1.2em; }
|
|
|
|
#blog .gfg-title, #blog .gf-author, #blog .gf-spacer { display: none; }
|
|
|
|
#blog .gfg-list { margin-top: 1em; }
|
|
|
|
#blog .gf-title { font-size: 1.1em; }
|
|
|
|
#blog .gfg-listentry-highlight { font-weight: bold; }
|
|
|
|
|
2009-11-03 20:59:45 -07:00
|
|
|
#gettingStarted h1 {
|
|
|
|
padding-top: 0.3em;
|
2009-11-05 13:18:54 -07:00
|
|
|
margin-bottom: 0.2em;
|
2009-11-03 20:59:45 -07:00
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gettingStarted ol {
|
|
|
|
}
|
|
|
|
|
2009-11-05 13:18:54 -07:00
|
|
|
#gettingStarted a img {
|
|
|
|
border: 1px solid blue;
|
|
|
|
}
|
|
|
|
|
2009-11-03 20:59:45 -07:00
|
|
|
#frontpage {
|
2009-11-07 17:46:49 -07:00
|
|
|
width: 100%;
|
2009-11-03 20:59:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#frontpage h3 {
|
|
|
|
margin-left: 3em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|