mirror of
https://github.com/golang/go
synced 2024-11-05 18:26:10 -07:00
187 lines
2.3 KiB
CSS
187 lines
2.3 KiB
CSS
|
/* copied from $GOROOT/doc/style.css */
|
||
|
|
||
|
body {
|
||
|
margin: 0;
|
||
|
font-family: Helvetica, Arial, sans-serif;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
pre,
|
||
|
code {
|
||
|
font-family: Menlo, monospace;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
pre {
|
||
|
line-height: 18px;
|
||
|
}
|
||
|
pre .comment {
|
||
|
color: #375EAB;
|
||
|
}
|
||
|
pre .highlight,
|
||
|
pre .highlight-comment,
|
||
|
pre .selection-highlight,
|
||
|
pre .selection-highlight-comment {
|
||
|
background: #FFFF00;
|
||
|
}
|
||
|
pre .selection,
|
||
|
pre .selection-comment {
|
||
|
background: #FF9632;
|
||
|
}
|
||
|
pre .ln {
|
||
|
color: #999;
|
||
|
}
|
||
|
body {
|
||
|
color: #222;
|
||
|
}
|
||
|
a,
|
||
|
.exampleHeading .text {
|
||
|
color: #375EAB;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
a:hover,
|
||
|
.exampleHeading .text:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
p,
|
||
|
pre,
|
||
|
ul,
|
||
|
ol {
|
||
|
margin: 20px;
|
||
|
}
|
||
|
pre {
|
||
|
background: #e9e9e9;
|
||
|
padding: 10px;
|
||
|
|
||
|
-webkit-border-radius: 5px;
|
||
|
-moz-border-radius: 5px;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
.rootHeading {
|
||
|
margin: 20px 0;
|
||
|
padding: 0;
|
||
|
color: #375EAB;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
h1 {
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
h2 {
|
||
|
font-size: 20px;
|
||
|
background: #E0EBF5;
|
||
|
padding: 2px 5px;
|
||
|
}
|
||
|
h3 {
|
||
|
font-size: 20px;
|
||
|
}
|
||
|
h3,
|
||
|
h4 {
|
||
|
margin: 20px 5px;
|
||
|
}
|
||
|
h4 {
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
dl {
|
||
|
margin: 20px;
|
||
|
}
|
||
|
dd {
|
||
|
margin: 2px 20px;
|
||
|
}
|
||
|
dl,
|
||
|
dd {
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
div#nav table td {
|
||
|
vertical-align: top;
|
||
|
}
|
||
|
|
||
|
div#heading {
|
||
|
float: left;
|
||
|
margin: 0 0 10px 0;
|
||
|
padding: 21px 0;
|
||
|
font-size: 20px;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
div#heading a {
|
||
|
color: #222;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
div#topbar {
|
||
|
background: #E0EBF5;
|
||
|
height: 64px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
text-align: center;
|
||
|
}
|
||
|
div#page,
|
||
|
div#topbar > .container {
|
||
|
clear: both;
|
||
|
text-align: left;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
padding: 0 20px;
|
||
|
width: 900px;
|
||
|
}
|
||
|
div#page.wide,
|
||
|
div#topbar > .wide {
|
||
|
width: auto;
|
||
|
}
|
||
|
div#plusone {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
div#footer {
|
||
|
color: #666;
|
||
|
font-size: 14px;
|
||
|
margin: 40px 0;
|
||
|
}
|
||
|
|
||
|
div#menu > a,
|
||
|
div#menu > input {
|
||
|
padding: 10px;
|
||
|
|
||
|
text-decoration: none;
|
||
|
font-size: 16px;
|
||
|
|
||
|
-webkit-border-radius: 5px;
|
||
|
-moz-border-radius: 5px;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
div#menu > a,
|
||
|
div#menu > input {
|
||
|
border: 1px solid #375EAB;
|
||
|
}
|
||
|
div#menu > a {
|
||
|
color: white;
|
||
|
background: #375EAB;
|
||
|
}
|
||
|
|
||
|
div#menu {
|
||
|
float: right;
|
||
|
min-width: 590px;
|
||
|
padding: 10px 0;
|
||
|
text-align: right;
|
||
|
}
|
||
|
div#menu > a {
|
||
|
margin-right: 5px;
|
||
|
margin-bottom: 10px;
|
||
|
|
||
|
padding: 10px;
|
||
|
}
|
||
|
div#menu > input {
|
||
|
position: relative;
|
||
|
top: 1px;
|
||
|
width: 60px;
|
||
|
background: white;
|
||
|
color: #222;
|
||
|
}
|
||
|
div#menu > input.inactive {
|
||
|
color: #999;
|
||
|
}
|