mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
This commit is contained in:
parent
ab4e2d3b76
commit
1a0b9ae389
|
@ -1,352 +1,3 @@
|
|||
<style type="text/css">
|
||||
/* default css */
|
||||
table {
|
||||
font-size: 1em;
|
||||
line-height: inherit;
|
||||
}
|
||||
tr {
|
||||
text-align: left;
|
||||
}
|
||||
div, address, ol, ul, li, option, select {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
p {
|
||||
margin: 0px;
|
||||
}
|
||||
body {
|
||||
margin: 6px;
|
||||
padding: 0px;
|
||||
font-family: Verdana, sans-serif;
|
||||
font-size: 10pt;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
img {
|
||||
-moz-force-broken-image-icon: 1;
|
||||
}
|
||||
@media screen {
|
||||
html.pageview {
|
||||
background-color: #f3f3f3 !important;
|
||||
}
|
||||
body {
|
||||
min-height: 1100px;
|
||||
counter-reset: __goog_page__;
|
||||
}
|
||||
* html body {
|
||||
height: 1100px;
|
||||
}
|
||||
.pageview body {
|
||||
border-top: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
border-right: 2px solid #bbb;
|
||||
border-bottom: 2px solid #bbb;
|
||||
width: 648px !important;
|
||||
margin: 15px auto 25px;
|
||||
padding: 40px 50px;
|
||||
}
|
||||
/* IE6 */
|
||||
* html {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
* html.pageview body {
|
||||
overflow-x: auto;
|
||||
}
|
||||
/* Prevent repaint errors when scrolling in Safari. This "Star-7" css hack
|
||||
targets Safari 3.1, but not WebKit nightlies and presumably Safari 4.
|
||||
That's OK because this bug is fixed in WebKit nightlies/Safari 4 :-). */
|
||||
html*#wys_frame::before {
|
||||
content: '\A0';
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
width: 0;
|
||||
height: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.writely-callout-data {
|
||||
display: none;
|
||||
*display: inline-block;
|
||||
*width: 0;
|
||||
*height: 0;
|
||||
*overflow: hidden;
|
||||
}
|
||||
.writely-footnote-marker {
|
||||
background-image: url('images/footnote_doc_icon.gif');
|
||||
background-color: transparent;
|
||||
background-repeat: no-repeat;
|
||||
width: 7px;
|
||||
overflow: hidden;
|
||||
height: 16px;
|
||||
vertical-align: top;
|
||||
-moz-user-select: none;
|
||||
}
|
||||
.editor .writely-footnote-marker {
|
||||
cursor: move;
|
||||
}
|
||||
.writely-footnote-marker-highlight {
|
||||
background-position: -15px 0;
|
||||
-moz-user-select: text;
|
||||
}
|
||||
.writely-footnote-hide-selection ::-moz-selection, .writely-footnote-hide-selection::-moz-selection {
|
||||
background: transparent;
|
||||
}
|
||||
.writely-footnote-hide-selection ::selection, .writely-footnote-hide-selection::selection {
|
||||
background: transparent;
|
||||
}
|
||||
.writely-footnote-hide-selection {
|
||||
cursor: move;
|
||||
}
|
||||
.editor .writely-comment-yellow {
|
||||
background-color: #FF9;
|
||||
background-position: -240px 0;
|
||||
}
|
||||
.editor .writely-comment-yellow-hover {
|
||||
background-color: #FF0;
|
||||
background-position: -224px 0;
|
||||
}
|
||||
.editor .writely-comment-blue {
|
||||
background-color: #C0D3FF;
|
||||
background-position: -16px 0;
|
||||
}
|
||||
.editor .writely-comment-blue-hover {
|
||||
background-color: #6292FE;
|
||||
background-position: 0 0;
|
||||
}
|
||||
.editor .writely-comment-orange {
|
||||
background-color: #FFDEAD;
|
||||
background-position: -80px 0;
|
||||
}
|
||||
.editor .writely-comment-orange-hover {
|
||||
background-color: #F90;
|
||||
background-position: -64px 0;
|
||||
}
|
||||
.editor .writely-comment-green {
|
||||
background-color: #99FBB3;
|
||||
background-position: -48px 0;
|
||||
}
|
||||
.editor .writely-comment-green-hover {
|
||||
background-color: #00F442;
|
||||
background-position: -32px 0;
|
||||
}
|
||||
.editor .writely-comment-cyan {
|
||||
background-color: #CFF;
|
||||
background-position: -208px 0;
|
||||
}
|
||||
.editor .writely-comment-cyan-hover {
|
||||
background-color: #0FF;
|
||||
background-position: -192px 0;
|
||||
}
|
||||
.editor .writely-comment-purple {
|
||||
background-color: #EBCCFF;
|
||||
background-position: -144px 0;
|
||||
}
|
||||
.editor .writely-comment-purple-hover {
|
||||
background-color: #90F;
|
||||
background-position: -128px 0;
|
||||
}
|
||||
.editor .writely-comment-magenta {
|
||||
background-color: #FCF;
|
||||
background-position: -112px 0;
|
||||
}
|
||||
.editor .writely-comment-magenta-hover {
|
||||
background-color: #F0F;
|
||||
background-position: -96px 0;
|
||||
}
|
||||
.editor .writely-comment-red {
|
||||
background-color: #FFCACA;
|
||||
background-position: -176px 0;
|
||||
}
|
||||
.editor .writely-comment-red-hover {
|
||||
background-color: #FF7A7A;
|
||||
background-position: -160px 0;
|
||||
}
|
||||
.editor .writely-comment-marker {
|
||||
background-image: url('images/markericons_horiz.gif');
|
||||
background-color: transparent;
|
||||
padding-right: 11px;
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
-moz-user-select: none;
|
||||
}
|
||||
.editor .writely-comment-hidden {
|
||||
padding: 0;
|
||||
background: none;
|
||||
}
|
||||
.editor .writely-comment-marker-hidden {
|
||||
background: none;
|
||||
padding: 0;
|
||||
width: 0;
|
||||
}
|
||||
.editor .writely-comment-none {
|
||||
opacity: .2;
|
||||
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);
|
||||
-moz-opacity: .2;
|
||||
}
|
||||
.editor .writely-comment-none-hover {
|
||||
opacity: .2;
|
||||
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);
|
||||
-moz-opacity: .2;
|
||||
}
|
||||
.br_fix br:not(:-moz-last-node):not(:-moz-first-node) {
|
||||
position:relative;
|
||||
left: -1ex
|
||||
}
|
||||
.br_fix br+br {
|
||||
position: static !important
|
||||
}
|
||||
}
|
||||
h6 { font-size: 8pt }
|
||||
h5 { font-size: 8pt }
|
||||
h4 { font-size: 10pt }
|
||||
h3 { font-size: 12pt }
|
||||
h2 { font-size: 14pt }
|
||||
h1 { font-size: 18pt }
|
||||
blockquote {padding: 10px; border: 1px #DDD dashed }
|
||||
a img {border: 0}
|
||||
.pb {
|
||||
border-width: 0;
|
||||
page-break-after: always;
|
||||
/* We don't want this to be resizeable, so enforce a width and height
|
||||
using !important */
|
||||
height: 1px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.editor .pb {
|
||||
border-top: 1px dashed #C0C0C0;
|
||||
border-bottom: 1px dashed #C0C0C0;
|
||||
}
|
||||
div.google_header, div.google_footer {
|
||||
position: relative;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
/* Table of contents */
|
||||
.editor div.writely-toc {
|
||||
background-color: #f3f3f3;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.writely-toc > ol {
|
||||
padding-left: 3em;
|
||||
font-weight: bold;
|
||||
}
|
||||
ol.writely-toc-subheading {
|
||||
padding-left: 1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
/* IE6 only */
|
||||
* html writely-toc ol {
|
||||
list-style-position: inside;
|
||||
}
|
||||
.writely-toc-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
.writely-toc-decimal {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.writely-toc-upper-alpha {
|
||||
list-style-type: upper-alpha;
|
||||
}
|
||||
.writely-toc-lower-alpha {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
.writely-toc-upper-roman {
|
||||
list-style-type: upper-roman;
|
||||
}
|
||||
.writely-toc-lower-roman {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
.writely-toc-disc {
|
||||
list-style-type: disc;
|
||||
}
|
||||
/* Ordered lists converted to numbered lists can preserve ordered types, and
|
||||
vice versa. This is confusing, so disallow it */
|
||||
ul[type="i"], ul[type="I"], ul[type="1"], ul[type="a"], ul[type="A"] {
|
||||
list-style-type: disc;
|
||||
}
|
||||
ol[type="disc"], ol[type="circle"], ol[type="square"] {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
/* end default css */
|
||||
/* custom css */
|
||||
/* end custom css */
|
||||
/* ui edited css */
|
||||
body {
|
||||
font-family: Verdana;
|
||||
font-size: 10.0pt;
|
||||
line-height: normal;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
/* end ui edited css */
|
||||
/* editor CSS */
|
||||
.editor a:visited {color: #551A8B}
|
||||
.editor table.zeroBorder {border: 1px dotted gray}
|
||||
.editor table.zeroBorder td {border: 1px dotted gray}
|
||||
.editor table.zeroBorder th {border: 1px dotted gray}
|
||||
.editor div.google_header, .editor div.google_footer {
|
||||
border: 2px #DDDDDD dashed;
|
||||
position: static;
|
||||
width: 100%;
|
||||
min-height: 2em;
|
||||
}
|
||||
.editor .misspell {background-color: yellow}
|
||||
.editor .writely-comment {
|
||||
font-size: 9pt;
|
||||
line-height: 1.4;
|
||||
padding: 1px;
|
||||
border: 1px dashed #C0C0C0
|
||||
}
|
||||
/* end editor CSS */
|
||||
</style>
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
#doc-contents {
|
||||
margin: 6px;
|
||||
}
|
||||
#google-view-footer {
|
||||
clear: both;
|
||||
border-top: thin solid;
|
||||
padding-top: 0.3em;
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
a.google-small-link:link, a.google-small-link:visited {
|
||||
color:#112ABB;
|
||||
font-family:Arial,Sans-serif;
|
||||
font-size:11px !important;
|
||||
}
|
||||
body, p, div, td {
|
||||
direction: inherit;
|
||||
}
|
||||
@media print {
|
||||
#google-view-footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function viewOnLoad() {
|
||||
if (document.location.href.indexOf('spi=1') != -1) {
|
||||
if (navigator.userAgent.toLowerCase().indexOf('msie') != -1) {
|
||||
window.print();
|
||||
} else {
|
||||
window.setTimeout(window.print, 10);
|
||||
}
|
||||
}
|
||||
if (document.location.href.indexOf('hgd=1') != -1) {
|
||||
var footer = document.getElementById("google-view-footer");
|
||||
if (footer) {
|
||||
footer.style.display = 'none';
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="doc-contents">
|
||||
<div>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/REC-html4/strict.dtd">
|
||||
<html>
|
||||
|
@ -786,4 +437,3 @@ CalculateSampleCovariance <- function(x, y, verbose = TRUE) {
|
|||
|
||||
|
||||
</html>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user