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