website view slitaz.css @ rev 796

Improve main page, rm grid add pretty activity box
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 30 04:30:56 2011 +0200 (2011-03-30)
parents 8aabf6246259
children c750cc8467b8
line source
1 /*
2 CSS style for SliTaz Network - (C) 2011 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: 900px;
15 }
17 a { text-decoration: underline; color: #215090; }
18 a:hover { text-decoration: none; color: blue; }
19 img { border: 0pt none; vertical-align: middle; }
20 h2 { color: #444; }
21 h3 { color: #666; font-size: 140%; }
22 h4 { color: #888; font-size: 120%; }
23 pre {
24 background-color: #f8f8f8;
25 border: 1px solid #ddd;
26 padding: 10px;
27 }
29 /* Header */
31 #header {
32 height: 40px;
33 background: #351a0a;
34 }
36 #header h1 {
37 margin: 0;
38 padding: 8px 0 0 42px;
39 width: 250px;
40 }
42 #header h1 a {
43 color: white;
44 text-decoration: none;
45 font-size: 20px;
46 font-style: italic;
47 }
49 #header h1 a:hover, #network a:hover {
50 color: #d66018;
51 }
53 /* Logo */
55 #logo {
56 background: url(images/logo.png) no-repeat left;
57 position: absolute;
58 float: left;
59 left: 0px;
60 top: 0px;
61 width: 40px;
62 height: 40px;
63 }
65 /* SliTaz Network */
67 #network {
68 float: right;
69 padding: 10px 5px 0;
70 font-size: 12px;
71 }
73 #network a { padding: 0 6px; }
75 /* Block */
77 #block {
78 min-height: 200px;
79 background: #d66018;
80 padding: 26px 10% 0px;
81 text-align: center;
82 color: #333;
83 border-bottom: 1px solid #f5f5f5;
84 }
86 #block_info {
87 text-align: justify;
88 width: 48%;
89 padding: 10px 10px 0 0;
90 }
92 #block a, #network a {
93 color: #fff;
94 font-weight: bold;
95 text-decoration: none;
96 }
98 #block h4 {
99 color: #351a0a;
100 margin: 0px;
101 font-weight: bold;
102 font-size: 110%;
103 }
105 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
106 #block_info a { font-weight: normal; }
107 #block ul { list-style-type: square; }
108 #block a:hover { color: #351a0a; }
110 /* Navigation */
112 #block_nav {
113 background: #cc5b17;
114 padding: 10px 10px 40px;
115 text-align: justify;
116 width: 48%;
117 float: right;
118 }
120 #block_nav ul {
121 list-style-type: none;
122 margin: 6px 0;
123 padding: 0;
124 }
126 #block_nav h4 img {
127 margin: 0 4px 0 0;
128 padding: 0;
129 }
131 /* Languages */
133 #lang {
134 float: right;
135 padding: 6px;
136 font-size: 11px;
137 }
139 #lang a {
140 text-decoration: none;
141 padding: 0 2px;
142 }
144 #lang a:hover {
145 text-decoration: underline;
146 }
148 /* Content */
150 #content {
151 padding: 30px 80px;
152 text-align: justify;
153 }
155 #news li {
156 list-style-type: square;
157 border-bottom: 1px dotted #BEBEBE;
158 margin-left: -25px;
159 padding: 4px 0px 4px 0px;
160 }
162 #news a, .feed-grid a { text-decoration: none; }
163 #news p a { text-decoration: underline; }
164 #news p a:hover { text-decoration: none; }
165 #twitter { margin: 20px 0; }
166 #gallery { text-align: center; }
168 /* Classes */
170 .right_box { width: 48%; float: right; }
171 .left_box { width: 48%; float: left; }
173 .box {
174 margin: 20px 60px;
175 padding: 12px;
176 background: #efefef;
177 border: 1px solid #ddd;
178 }
180 .searchbox {
181 margin: 20px 80px;
182 padding: 12px;
183 background: #f8f8f8;
184 text-align: center;
185 border: 1px solid #ddd;
186 }
188 /* Activity Box */
190 .activity {
191 height: 120px;
192 overflow: hidden;
193 margin: 0 0 20px;
194 background: #eaeaea;
195 padding: 5px 2px 25px;
196 border: 1px solid #ddd;
197 }
198 .activity div { height: 75px; overflow: hidden;
199 padding: 0px 10px 10px; background: #fff; margin-top: 5px; }
200 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
201 .activity a { text-decoration: none; }
202 .activity ul { list-style-type: none;
203 margin: 4px 0; padding: 0 4px; line-height: 150%; }
204 .activity span { color: #666; font-size: 11px; font-weight: normal; }
205 .activity, .activity div {
206 -moz-border-radius: 4px;
207 -webkit-border-radius: 4px;
208 border-radius: 4px;
209 }
210 .activity_more { text-align: right; }
211 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
212 .activity_more a:hover { text-decoration: underline; }
214 /* Button */
216 .button a {
217 background-color: #b64b22;
218 color: #ffffff;
219 margin-right: 6px;
220 padding: 6px 10px;
221 font-size: 12px;
222 text-decoration: none;
223 font-weight: bold;
224 }
225 .button a:hover, input[type=submit]:hover {
226 background-color: #a3431f;
227 color: #ffffff;
228 }
230 /* Round corner */
232 #block_nav, pre, .box, .searchbox, .button a, #twitter {
233 -moz-border-radius: 4px;
234 -webkit-border-radius: 4px;
235 border-radius: 4px;
236 }
238 /* Transition */
240 .box {
241 -webkit-transition-property: background-color;
242 -webkit-transition-duration: 2s;
243 -moz-transition-property: background-color;
244 -moz-transition-duration: 2s;
245 transition-property: background-color;
246 transition-duration: 2s;
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 }
293 #footer a { color: #666; padding: 0 2px; }
295 .year:after {
296 /* content: "2007-2011"; */
297 content: "2011";
298 }