/
style.css
151 lines (136 loc) · 7.16 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/*@import url("beige.css") screen;*/
/*@import url("white.css") screen;*/
body {font-family:Arial,sans-serif; margin:0; padding:0; font-size: 100%; line-height: 130%;
background:transparent url(bg/bg_plant.jpg) no-repeat fixed right 0;
}
#wrapper{max-width:960px; margin:0 auto;}
nav{width:100%; margin:0 auto; left:0; top:0;}
nav ul{list-style-type:none; margin:0; padding:0; height:37px; overflow:hidden; position:absolute; top:0; right:1em; display:inline-block;}
nav ul:after{content:"\0020"; display:block; height:0; clear:both;}
nav ul{zoom:1;}
nav ul li{list-style-type:none; margin:0 0 0 0px; padding:0; float:left; background:transparent url(bg/bg_topSearch3.gif) no-repeat scroll -5px 0; border-left:0px solid #dedede; height:37px;}
nav ul li.first{background-position:0 0;}
nav ul li.last{background-position:right 0;}
nav ul li.actived, #main-nav ul li:hover{background-image:url(bg/bg_topSearch3-on.gif);}
nav ul li a{text-decoration:none; color:#666; margin:0; height:37px; line-height:35px; padding:0 16px; display:block; text-shadow:2px 2px 6px #999;}
nav ul li.actived a{color:#f60; padding:0 24px; font-weight:bold; text-shadow:2px 2px 6px #FDA972;}
div.content {margin:-2em 1em 0; display:block;}
/*Table Of Content*/
div.toc{border:1px solid #ccc; background:#f8f8f8; float:right; padding:3px; position:fixed; top:4em; right:1em; z-index:1;
-moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; border-radius:4px;
-moz-opacity:.2; opacity:.2; -ms-filter:"opacity=20"; filter:alpha(opacity=20);
}
div.toc:hover{
-moz-box-shadow:0 0 16px #888; -webkit-box-shadow:0 0 16px #888; box-shadow:0 0 16px #888;
-moz-opacity:1; opacity:1; -ms-filter:"enabled=false"; filter:alpha(enabled=false);
}
div.toc ul{margin:0; padding:0 0 0 1em; *padding:0;}
div.toc>ul{padding:0;}
div.toc ul ul{*padding:0 0 0 8px;}
div.toc li{list-style-type: none; margin:0; padding:0 0 0 18px; background:transparent no-repeat scroll 0 -48px; font-size:.9em; line-height:18px; overflow:hidden;}
h1, h2, h3, h4, h5, h6 {
font-family:"Trebuchet MS", serif; line-height:1.5em;
margin-top: 1em; margin-bottom: 0.5em;
border-bottom:0px none; text-shadow:2px 2px 6px #ccc;
}
h1 {font-size: 2.0em; border-bottom:1px dashed #f60; color:#f60;}
h2 {font-size: 1.6em; border-bottom:1px solid #eee; font-weight:normal;}
h3 {font-size: 1.3em; font-weight:normal; border-bottom:1px dashed #ddd;}
h4 {font-size: 1.2em; font-weight:normal;}
h5 {font-size: 1.1em; font-weight:normal;}
h6 {font-size: 1.0em; font-weight:normal;}
h1:after{content:'¶'; color:#FDA972;}
h2:after{content:'¶¶'; color:#999;}
h3:after{content:'¶¶¶'; color:#999;}
h1:after, h2:after, h3:after{display:none;}
h1:hover:after, h2:hover:after, h3:hover:after{display:inline;}
p, pre, blockquote, table, ul, ol, dl {margin-top:.5em; margin-bottom:1em;}
ul ul, ul ol, ol ol, ol ul {margin:.1em 1em;}
li {margin: 0.1em 0;}
ul {margin-left: 2em; padding-left: 0.5em;}
dt {font-weight: bold;}
img{padding:5px; border:1px solid #eee;
-moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; border-radius:4px;
}
img:hover{
-moz-box-shadow:0 0 8px #666; -webkit-box-shadow:0 0 8px #666; box-shadow:0 0 8px #666;
}
a:hover img{
-moz-box-shadow:0 0 12px #333; -webkit-box-shadow:0 0 12px #333; box-shadow:0 0 12px #333;
}
pre{margin:.5em; padding:5px; overflow:hidden;
border-width: 0; border-style: none; border-color:#eee;
-moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; border-radius:4px;
line-height:1.5em; font-family:"Consolas","\5B8B\4F53"; font-size:1em;}
pre:hover{
border-color:#ddd; background:#f8f8f8;
overflow:auto; overflow-y:hidden; padding-bottom:18px\9;
-moz-box-shadow:-2px 0px 6px #ccc; -webkit-box-shadow:2px 2px 8px #666; box-shadow:2px 2px 8px #666;
}
pre.ascii-art{
line-height: 1em;
font-family: monospace; font-size: 0.85em;
}
blockquote{
margin:.5em 1em; padding:0.4em 50px; line-height:1.5em; min-height:50px;
border-width:0; border-color:#ccc; border-style:solid;
-moz-border-radius:8px; -khtml-border-radius:8px; -webkit-border-radius:8px; border-radius:8px;
background-color:#eee; background-image:url(bg/testy-quote-open.gif),url(bg/testy-quote-close.gif); background-position:left top,right bottom; background-repeat:no-repeat; *background:#eee url(bg/testy-quote-open.gif) no-repeat;}
code {
margin:1px 1px; padding: 0px; display:inline-block; border: 0px; border-style: none; line-height: 1em;
font-family: monospace;
}
table{
table-layout:fixed; border-collapse:collapse; border-spacing:0;
border-width:1px 0 0 1px; border-style:none #f60; border-color:#ccc;
}
table:hover{
-moz-box-shadow:0 0 8px #666; -webkit-box-shadow:0 0 8px #666; box-shadow:0 0 8px #666;
}
th, td{border-width:0 1px 1px 0; border-style:none; border-color:#ccc; padding: 0.3em;}
table th{background-color: #f0f0f0;}
hr {border: none; border-top: 1px solid #ccc; width: 100%;}
del {text-decoration: line-through; color: #777777;}
a{color:#002BB8; text-decoration:none;}
a:hover{text-decoration:underline;}
#wrapper article a[href^="http://"],
#wrapper article a[href^="https://"]{background:transparent url(bg/icons.png) no-repeat scroll right -16px; padding:0 16px 0 0;}
#wrapper article a.external{background:transparent url(bg/icons.png) no-repeat scroll right -16px; padding:0 16px 0 0; display:inline-block;}
#wrapper article a[href^="http://"]:hover,
#wrapper article a[href^="https://"]:hover{background-position:right -30px;}
#wrapper article a.external:hover{background-position:right -30px;}
h1 a[href^="http://"],
h1 a[href^="https://"],
h2 a[href^="http://"],
h2 a[href^="http://"],
h3 a[href^="http://"],
h3 a[href^="http://"],
h4 a[href^="http://"],
h4 a[href^="https://"],
h5 a[href^="https://"],
h5 a[href^="https://"],
h6 a[href^="https://"],
h6 a[href^="https://"]{background:transparent url(bg/popout.png) no-repeat scroll right bottom;}
h1 a[href^="http://"]:hover,
h1 a[href^="https://"]:hover,
h2 a[href^="http://"]:hover,
h2 a[href^="http://"]:hover,
h3 a[href^="http://"]:hover,
h3 a[href^="http://"]:hover,
h4 a[href^="http://"]:hover,
h4 a[href^="https://"]:hover,
h5 a[href^="https://"]:hover,
h5 a[href^="https://"]:hover,
h6 a[href^="https://"]:hover,
h6 a[href^="https://"]:hover{background-position:right top;}
.todo {font-weight: bold; background-color: #f0ece8; color: #a03020;}
.justleft {text-align: left;}
.justright {text-align: right;}
.justcenter {text-align: center;}
div.copyright{border-width:1px 0; border-style:solid; border-color:#ccc; color:#999; padding:5px; font-family:Georgia,Times,sans-serif; font-size:small; text-align:right; display:block; margin:0 1em;}
footer{border-width:1px 0 0; border-style:solid; border-color:#ccc; color:#999; padding:5px; font-family:Georgia,Times,sans-serif; font-size:small; text-align:right; display:block; margin:0 1em;}
footer:after{content:"\0020"; display:block; height:0; clear:both;}
footer{zoom:1;}
#back-home{padding-left:18px; float:left; line-height:16px; background:transparent url(bg/icons.png) no-repeat scroll -16px 0;}
#back-home:hover{background-position:0 0;}
footer p{margin:0; padding:0;}