mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
102 lines
1.5 KiB
CSS
102 lines
1.5 KiB
CSS
body {
|
|
background-color: #FFF;
|
|
color: #666;
|
|
font-family: sans-serif;
|
|
font-size: 10pt;
|
|
margin-right: 100px;
|
|
margin-left: 100px;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, .toc_title {
|
|
color: #06C;
|
|
margin-top: 2em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 18pt;
|
|
}
|
|
|
|
h2, .toc_title {
|
|
font-weight: bold;
|
|
font-size: 12pt;
|
|
margin-left: -40px;
|
|
}
|
|
|
|
h3, h4, h5, h6 {
|
|
font-size: 10pt;
|
|
margin-left: -20px;
|
|
}
|
|
|
|
.toc_category, .toc_stylepoint {
|
|
font-size: 10pt;
|
|
padding-top: .3em;
|
|
padding-bottom: .3em;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td, th {
|
|
border-top: 1px solid #CCC;
|
|
border-bottom: 1px solid #CCC;
|
|
border-left: 5px solid #CCC;
|
|
border-right: 5px solid #CCC;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
code,samp,var {
|
|
color: #060;
|
|
}
|
|
|
|
pre {
|
|
font-size: 10pt;
|
|
display: block;
|
|
color: #060;
|
|
background-color: #F8FFF8;
|
|
border-color: #F0FFF0;
|
|
border-style: solid;
|
|
border-top-width: 1px;
|
|
border-bottom-width: 1px;
|
|
border-right-width: 1px;
|
|
border-left-width: 5px;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
pre.badcode {
|
|
color: #C00;
|
|
background-color: #FFF8F8;
|
|
border-color: #FFF0F0;
|
|
}
|
|
|
|
.showhide_button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.link_button {
|
|
background-color: #F8F8FF;
|
|
border-color: #F0F0FF;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
font-size: 75%;
|
|
margin-top: 20px;
|
|
margin-left: -50px;
|
|
padding: 4px;
|
|
line-height: 0px;
|
|
}
|
|
|
|
address {
|
|
text-align: right;
|
|
}
|
|
|
|
hr {
|
|
margin-top: 10em;
|
|
border-width: 1px;
|
|
color: #FFF;
|
|
} |