slitaz-forge view people/slitaz.css @ rev 39

people: Update to new style and layout
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 28 15:12:12 2011 +0200 (2011-03-28)
parents 7775f0e4d0eb
children 0e91bc735875
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 .feed-grid { height: 180px; overflow: hidden; text-align: left; }
189 .feed-grid h3 {
190 margin: 15px 0 0; font-size: 16px;
191 padding: 0 22px;
192 background: url(images/feed.png) no-repeat left; }
193 .feed-grid span { font-size: 10px; color: #888; margin-left: 24px; }
194 .feed-grid ul { color: #666; }
195 .feed-grid a { color: #666; }
196 .feed-grid a:hover { color: blue; }
198 /* Button */
200 .button a {
201 background-color: #b64b22;
202 color: #ffffff;
203 margin-right: 6px;
204 padding: 6px 10px;
205 font-size: 12px;
206 text-decoration: none;
207 font-weight: bold;
208 }
209 .button a:hover, input[type=submit]:hover {
210 background-color: #a3431f;
211 color: #ffffff;
212 }
214 /* Round corner */
216 #block_nav, pre, .box, .searchbox, .button a, #twitter {
217 -moz-border-radius: 4px;
218 -webkit-border-radius: 4px;
219 border-radius: 4px;
220 }
222 /* Transition */
224 .box {
225 -webkit-transition-property: background-color;
226 -webkit-transition-duration: 2s;
227 -moz-transition-property: background-color;
228 -moz-transition-duration: 2s;
229 transition-property: background-color;
230 transition-duration: 2s;
231 }
233 /* Form */
235 input[type=submit] {
236 border: 1px solid #b64b22;
237 background-color: #b64b22;
238 color: white;
239 font-weight: bold;
240 cursor: pointer;
241 padding: 4px 10px;
242 font-size: 14px;
243 margin-left: -5px;
244 -webkit-border-top-right-radius: 4px;
245 -webkit-border-bottom-right-radius: 4px;
246 -moz-border-radius-topright: 4px;
247 -moz-border-radius-bottomright: 4px;
248 border-top-right-radius: 4px;
249 border-bottom-right-radius: 4px;
250 }
252 input[type=submit]:hover { background-color: #a3431f; }
254 input[type=text] {
255 border: 1px solid #333333;
256 padding: 4px;
257 height: 17px;
258 width: 100%;
259 -webkit-border-top-left-radius: 4px;
260 -webkit-border-bottom-left-radius: 4px;
261 -moz-border-radius-topleft: 4px;
262 -moz-border-radius-bottomleft: 4px;
263 border-top-left-radius: 4px;
264 border-bottom-left-radius: 4px;
265 }
267 /* Footer */
269 #footer {
270 background: #f1f1f1;
271 text-align: center;
272 border-top: 1px solid #ddd;
273 padding: 40px;
274 color: #666;
275 }
277 #footer a { color: #666; padding: 0 2px; }
279 .year:after {
280 /* content: "2007-2011"; */
281 content: "2011";
282 }