website view en/doc/cookbook/book.css @ rev 562
cn:update and fix some bugs
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Sat Nov 07 12:58:44 2009 +0800 (2009-11-07) |
parents | 86c34ce79f94 |
children |
line source
1 /*
2 CSS style for SliTaz GNU/Linux *book.
3 Pankso 2007 - www.slitaz.org
4 */
6 body {
7 font: 13px sans-serif, vernada, arial;
8 background: #222222;
9 margin: 0;
10 padding-bottom: auto;
11 }
13 #header {
14 background: #BFB06B url(images/css/header.png) repeat-x top;
15 color: black;
16 height: 50px;
17 border-top: 1px solid black;
18 border-bottom: 1px solid black;
19 }
20 #quicknav {
21 margin-right: 6px;
22 text-align: right;
23 font-size: 12px;
24 }
25 #quicknav {
26 margin-right: 6px;
27 }
29 #quicknav a {
30 background: inherit;
31 color: white;
32 }
34 #quicknav a:hover {
35 background: inherit;
36 color: #222222;
37 }
39 /* content. */
41 #content {
42 background: white url(images/css/content-tl.png) no-repeat top left;
43 color: black;
44 padding: 20px;
45 margin: 30px 50px 0px 50px;
46 width: auto;
47 text-align: justify;
48 }
50 #content li {
51 line-height: 1.5em;
52 text-align: left;
53 }
55 /* Footer. */
57 #footer {
58 font-size: 11px;
59 font-weight: bold;
60 background: #eaeaea url(images/css/footer-bl.png) no-repeat bottom left;
61 color: black;
62 height: 20px;
63 padding: 6px 0px 0px 10px;
64 margin: 0px 50px 0px 50px;
65 width: auto;
66 text-align: center ;
67 }
69 #footer a {
70 text-decoration: none;
71 background: #eaeaea;
72 color: #3E1220;
73 }
75 #footer a:hover {
76 background: #eaeaea;
77 color: #DF8F06;
78 }
80 /* Legal information */
82 #copy {
83 font-size: 11px ;
84 text-align: center ;
85 background: transparent;
86 color: #a8a8a8;
87 padding-top: 20px;
88 }
90 #copy a {
91 background: inherit;
92 color: #a8a8a8;
93 }
95 #copy a:hover {
96 background: inherit;
97 color: #EDEDED;
98 }
100 /* Div for round corners. */
102 .content-right, .footer-right {
103 width: 16px;
104 color: white;
105 background-color: #333333;
106 }
107 .content-right {
108 background: url(images/css/content-tr.png) no-repeat top right;
109 height: 16px;
110 right: 50px;
111 top: 82px;
112 position: absolute;
113 }
115 .footer-right {
116 background: url(images/css/footer-br.png) no-repeat bottom right;
117 height: 20px;
118 float: right;
119 }
121 /* General HTML entities for content. */
123 h1 {
124 margin: 0px 0px 0px 16px;
125 }
127 h2 {
128 margin: 12px 0;
129 color: #484B7C;
130 background: white;
131 }
133 h3 {
134 font-weight: bold;
135 color: #6c0023;
136 background: white;
137 }
139 a {
140 text-decoration: underline;
141 }
142 a:hover {
143 text-decoration: none;
144 }
146 pre {
147 padding: 5px;
148 color: black;
149 background: #e1e0b0;
150 }
151 pre.script {
152 padding: 10px;
153 color: black;
154 background: #e8e8e8;
155 border: 1px inset #333333;
156 }
158 code {
159 font-size: 12px;
160 color: #669900;
161 background: transparent;
162 }
164 li {
165 line-height: 1.4em;
166 }
168 hr {
169 border: 0pt none;
170 }