website view slitaz.css @ rev 946

Add forum activity to main pages
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 20:28:01 2012 +0100 (2012-03-13)
parents 595035653911
children 4f54009fb87b
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 float: right;
136 padding: 6px;
137 font-size: 11px;
138 }
140 #lang a {
141 text-decoration: none;
142 padding: 0 2px;
143 }
145 #lang a:hover {
146 text-decoration: underline;
147 }
149 /* Content */
151 #content {
152 padding: 30px 80px;
153 text-align: justify;
154 }
156 .news li {
157 list-style-type: square;
158 border-bottom: 1px dotted #BEBEBE;
159 margin-left: -25px;
160 padding: 4px 0px 4px 0px;
161 }
163 .news a, .feed-grid a { text-decoration: none; }
164 .news p a { text-decoration: underline; }
165 .news p a:hover { text-decoration: none; }
166 #twitter { margin: 20px 0; }
167 #gallery { text-align: center; }
169 #sponsor {
170 font-size: 90%;
171 background-color: #efefef;
172 border: 1px solid #ddd;
173 width: 200px;
174 height: 140px;
175 float: right;
176 text-align: center;
177 }
179 /* Classes */
181 .right_box { width: 48%; float: right; }
182 .left_box { width: 48%; float: left; }
184 .box {
185 margin: 20px 60px;
186 padding: 12px;
187 background: #efefef;
188 border: 1px solid #ddd;
189 }
191 .searchbox {
192 margin: 20px 80px;
193 padding: 12px;
194 background: #f8f8f8;
195 text-align: center;
196 border: 1px solid #ddd;
197 }
199 /* Activity Box */
201 .activity {
202 margin: 0 0 20px;
203 background: #efefef;
204 padding: 5px 2px 0;
205 border: 1px solid #ddd;
206 }
207 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
208 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
209 .activity a { text-decoration: none; }
210 .activity ul { list-style-type: none;
211 margin: 4px 0; padding: 0 4px; line-height: 150%; }
212 .activity_more { text-align: right; }
213 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
214 .activity_more a:hover { text-decoration: underline; }
216 .activity span, .news span {
217 color: #666;
218 font-size: 11px;
219 font-weight: normal;
220 }
222 /* Button */
224 .button a {
225 background-color: #b64b22;
226 color: #ffffff;
227 margin-right: 6px;
228 padding: 6px 10px;
229 font-size: 12px;
230 text-decoration: none;
231 font-weight: bold;
232 }
233 .button a:hover, input[type=submit]:hover {
234 background-color: #a3431f;
235 color: #ffffff;
236 }
238 /* Round corner */
240 #block_nav, pre, .box, .searchbox, .button a, #twitter, .activity,
241 .activity div, #sponsor {
242 -moz-border-radius: 4px;
243 -webkit-border-radius: 4px;
244 border-radius: 4px;
245 }
247 /* Form */
249 input[type=submit] {
250 border: 1px solid #b64b22;
251 background-color: #b64b22;
252 color: white;
253 font-weight: bold;
254 cursor: pointer;
255 padding: 4px 10px;
256 font-size: 14px;
257 margin-left: -5px;
258 -webkit-border-top-right-radius: 4px;
259 -webkit-border-bottom-right-radius: 4px;
260 -moz-border-radius-topright: 4px;
261 -moz-border-radius-bottomright: 4px;
262 border-top-right-radius: 4px;
263 border-bottom-right-radius: 4px;
264 }
266 input[type=submit]:hover { background-color: #a3431f; }
268 input[type=text] {
269 border: 1px solid #333333;
270 padding: 4px;
271 height: 17px;
272 width: 100%;
273 -webkit-border-top-left-radius: 4px;
274 -webkit-border-bottom-left-radius: 4px;
275 -moz-border-radius-topleft: 4px;
276 -moz-border-radius-bottomleft: 4px;
277 border-top-left-radius: 4px;
278 border-bottom-left-radius: 4px;
279 }
281 /* Footer */
283 #footer {
284 background: #f1f1f1;
285 text-align: center;
286 border-top: 1px solid #ddd;
287 padding: 40px;
288 color: #666;
289 clear: both;
290 margin-bottom: -2%;
291 }
293 #footer a { color: #666; padding: 0 2px; }
295 .year:after {
296 /* content: "2007-2012"; */
297 content: "2012";
298 }