slitaz-forge view pro/slitaz.css @ rev 384

2014
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 04 14:12:10 2014 +0000 (2014-01-04)
parents d31df0170214
children c1ac675db867
line source
1 /*
2 CSS style for SliTaz Network - (C) 2014 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 {
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: 12px 5px 0;
71 font-size: 12px;
72 }
74 #network a { padding: 0 4px; }
75 #network a:hover { color: #cfcfcf; }
77 /* Block */
79 #block {
80 min-height: 200px;
81 background: #d66018;
82 padding: 26px 10% 0px;
83 text-align: center;
84 color: #222;
85 border-bottom: 1px solid #f5f5f5;
86 }
88 #block_info {
89 text-align: justify;
90 width: 48%;
91 padding: 10px 10px 0 0;
92 }
94 #block a, #network a {
95 color: #fff;
96 font-weight: bold;
97 text-decoration: none;
98 }
100 #block h4 {
101 color: #351a0a;
102 margin: 0px;
103 font-weight: bold;
104 font-size: 110%;
105 }
107 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
108 #block_info a { font-weight: normal; }
109 #block ul { list-style-type: square; }
110 #block a:hover { color: #351a0a; }
112 /* Navigation */
114 #block_nav {
115 background: #cc5b17;
116 padding: 10px 10px 40px;
117 text-align: justify;
118 width: 48%;
119 float: right;
120 }
122 #block_nav ul {
123 list-style-type: none;
124 margin: 6px 0;
125 padding: 0;
126 }
128 #block_nav h4 img {
129 margin: 0 4px 0 0;
130 padding: 0;
131 }
133 /* Languages */
135 #lang {
136 float: right;
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 /* Classes */
172 .right_box { width: 48%; float: right; }
173 .left_box { width: 48%; float: left; }
175 .box {
176 margin: 20px 60px;
177 padding: 12px;
178 background: #efefef;
179 border: 1px solid #ddd;
180 }
182 .searchbox {
183 margin: 20px 80px;
184 padding: 12px;
185 background: #f8f8f8;
186 text-align: center;
187 border: 1px solid #ddd;
188 }
190 /* Activity Box */
192 .activity {
193 margin: 0 0 20px;
194 background: #eaeaea;
195 padding: 5px 2px 0;
196 border: 1px solid #ddd;
197 }
198 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
199 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
200 .activity a { text-decoration: none; }
201 .activity ul { list-style-type: none;
202 margin: 4px 0; padding: 0 4px; line-height: 150%; }
203 .activity_more { text-align: right; }
204 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
205 .activity_more a:hover { text-decoration: underline; }
207 .activity span, .news span {
208 color: #666;
209 font-size: 11px;
210 font-weight: normal;
211 }
213 /* Button */
215 .button a {
216 background-color: #b64b22;
217 color: #ffffff;
218 margin-right: 6px;
219 padding: 6px 10px;
220 font-size: 12px;
221 text-decoration: none;
222 font-weight: bold;
223 }
224 .button a:hover, input[type=submit]:hover {
225 background-color: #a3431f;
226 color: #ffffff;
227 }
229 /* Round corner */
231 #block_nav, pre, .box, .searchbox, .button a, #twitter, .activity,
232 .activity div {
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 clear: both;
292 margin-bottom: -2%;
293 }
295 #footer a { color: #666; padding: 0 2px; }
297 .year:after {
298 /* content: "2007-2014"; */
299 content: "2014";
300 }