website view slitaz.css @ rev 985
webchat: utf-8 and russian link
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 20 19:58:37 2012 +0200 (2012-03-20) |
parents | 4f54009fb87b |
children | d21256a7ed5b |
line source
1 /*
2 CSS style for SliTaz Network - (C) 2012 SliTaz GNU/Linux
3 */
5 html {
6 min-height: 102%;
7 }
9 body {
10 background: #ffffff;
11 color: black;
12 font: 13px sans-serif, vernada, arial;
13 margin: 0;
14 min-width: 780px;
15 height: 100%;
16 }
18 a { text-decoration: underline; color: #215090; }
19 a:hover { text-decoration: none; color: blue; }
20 img { border: 0pt none; vertical-align: middle; }
21 h2 { color: #444; }
22 h3 { color: #666; font-size: 140%; }
23 h4 { color: #888; font-size: 120%; }
24 pre {
25 background-color: #f8f8f8;
26 border: 1px solid #ddd;
27 padding: 10px;
28 }
30 /* Header */
32 #header {
33 height: 40px;
34 background: #351a0a;
35 }
37 #header h1 {
38 margin: 0;
39 padding: 8px 0 0 42px;
40 width: 250px;
41 }
43 #header h1 a {
44 color: white;
45 text-decoration: none;
46 font-size: 20px;
47 font-style: italic;
48 }
50 #header h1 a:hover, #network a:hover {
51 color: #d66018;
52 }
54 /* Logo */
56 #logo {
57 background: url(images/logo.png) no-repeat left;
58 position: absolute;
59 float: left;
60 left: 0px;
61 top: 0px;
62 width: 40px;
63 height: 40px;
64 }
66 /* SliTaz Network */
68 #network {
69 float: right;
70 padding: 10px 5px 0;
71 font-size: 12px;
72 }
74 #network a { padding: 0 6px; }
76 /* Block */
78 #block {
79 min-height: 200px;
80 background: #d66018;
81 padding: 26px 10% 0px;
82 text-align: center;
83 color: #333;
84 border-bottom: 1px solid #f5f5f5;
85 }
87 #block_info {
88 text-align: justify;
89 width: 48%;
90 padding: 10px 10px 0 0;
91 }
93 #block a, #network a {
94 color: #fff;
95 font-weight: bold;
96 text-decoration: none;
97 }
99 #block h4 {
100 color: #351a0a;
101 margin: 0px;
102 font-weight: bold;
103 font-size: 110%;
104 }
106 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
107 #block_info a { font-weight: normal; }
108 #block ul { list-style-type: square; }
109 #block a:hover { color: #351a0a; }
111 /* Navigation */
113 #block_nav {
114 background: #cc5b17;
115 padding: 10px 10px 40px;
116 text-align: justify;
117 width: 48%;
118 float: right;
119 }
121 #block_nav ul {
122 list-style-type: none;
123 margin: 6px 0;
124 padding: 0;
125 }
127 #block_nav h4 img {
128 margin: 0 4px 0 0;
129 padding: 0;
130 }
132 /* Languages */
134 #lang {
135 position: absolute;
136 right: 0;
137 padding: 6px;
138 font-size: 11px;
139 }
141 #lang a {
142 text-decoration: none;
143 padding: 0 2px;
144 }
146 #lang a:hover {
147 text-decoration: underline;
148 }
150 /* Content */
152 #content {
153 padding: 30px 80px;
154 text-align: justify;
155 }
157 .news li {
158 list-style-type: square;
159 border-bottom: 1px dotted #BEBEBE;
160 margin-left: -25px;
161 padding: 4px 0px 4px 0px;
162 }
164 .news a, .feed-grid a { text-decoration: none; }
165 .news p a { text-decoration: underline; }
166 .news p a:hover { text-decoration: none; }
167 #twitter { margin: 20px 0; }
168 #gallery { text-align: center; }
170 #sponsor {
171 font-size: 90%;
172 background-color: #fbfbfb;
173 border: 2px solid #ddd;
174 width: 200px;
175 height: 160px;
176 float: right;
177 text-align: center;
178 margin: 10px 0px 20px 20px;
179 }
181 /* Classes */
183 .right_box { width: 48%; float: right; }
184 .left_box { width: 48%; float: left; }
186 .box {
187 margin: 20px 60px;
188 padding: 12px;
189 background: #efefef;
190 border: 1px solid #ddd;
191 }
193 .searchbox {
194 margin: 20px 80px;
195 padding: 12px;
196 background: #f8f8f8;
197 text-align: center;
198 border: 1px solid #ddd;
199 }
201 /* Activity Box */
203 .activity {
204 margin: 0 0 20px;
205 background: #efefef;
206 padding: 5px 2px 0;
207 border: 1px solid #ddd;
208 }
209 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
210 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
211 .activity a { text-decoration: none; }
212 .activity ul { list-style-type: none;
213 margin: 4px 0; padding: 0 4px; line-height: 150%; }
214 .activity_more { text-align: right; }
215 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
216 .activity_more a:hover { text-decoration: underline; }
218 .activity span, .news span {
219 color: #666;
220 font-size: 11px;
221 font-weight: normal;
222 }
224 /* Button */
226 .button a {
227 background-color: #b64b22;
228 color: #ffffff;
229 margin-right: 6px;
230 padding: 6px 10px;
231 font-size: 12px;
232 text-decoration: none;
233 font-weight: bold;
234 }
235 .button a:hover, input[type=submit]:hover {
236 background-color: #a3431f;
237 color: #ffffff;
238 }
240 /* Round corner */
242 #block_nav, pre, .box, .searchbox, .button a, #twitter, .activity,
243 .activity div, #sponsor {
244 -moz-border-radius: 4px;
245 -webkit-border-radius: 4px;
246 border-radius: 4px;
247 }
249 /* Form */
251 input[type=submit] {
252 border: 1px solid #b64b22;
253 background-color: #b64b22;
254 color: white;
255 font-weight: bold;
256 cursor: pointer;
257 padding: 4px 10px;
258 font-size: 14px;
259 margin-left: -5px;
260 -webkit-border-top-right-radius: 4px;
261 -webkit-border-bottom-right-radius: 4px;
262 -moz-border-radius-topright: 4px;
263 -moz-border-radius-bottomright: 4px;
264 border-top-right-radius: 4px;
265 border-bottom-right-radius: 4px;
266 }
268 input[type=submit]:hover { background-color: #a3431f; }
270 input[type=text] {
271 border: 1px solid #333333;
272 padding: 4px;
273 height: 17px;
274 width: 100%;
275 -webkit-border-top-left-radius: 4px;
276 -webkit-border-bottom-left-radius: 4px;
277 -moz-border-radius-topleft: 4px;
278 -moz-border-radius-bottomleft: 4px;
279 border-top-left-radius: 4px;
280 border-bottom-left-radius: 4px;
281 }
283 /* Footer */
285 #footer {
286 background: #f1f1f1;
287 text-align: center;
288 border-top: 1px solid #ddd;
289 padding: 40px;
290 color: #666;
291 clear: both;
292 margin-bottom: -2%;
293 }
295 #footer a { color: #666; padding: 0 2px; }
297 .year:after {
298 /* content: "2007-2012"; */
299 content: "2012";
300 }