slitaz-forge view tank/web/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 8ae65a4e430a
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: 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 {
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: 12px 5px 0;
70 font-size: 12px;
71 }
73 #network a { padding: 0 6px; }
74 #network a:hover { color: #cfcfcf; }
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 /* Classes */
171 .right_box { width: 48%; float: right; }
172 .left_box { width: 48%; float: left; }
174 .box {
175 margin: 20px 60px;
176 padding: 12px;
177 background: #efefef;
178 border: 1px solid #ddd;
179 }
181 .searchbox {
182 margin: 20px 80px;
183 padding: 12px;
184 background: #f8f8f8;
185 text-align: center;
186 border: 1px solid #ddd;
187 }
189 .feed-grid { height: 180px; overflow: hidden; text-align: left; }
190 .feed-grid h3 {
191 margin: 15px 0 0; font-size: 16px;
192 padding: 0 22px;
193 background: url(images/feed.png) no-repeat left; }
194 .feed-grid span { font-size: 10px; color: #888; margin-left: 24px; }
195 .feed-grid ul { color: #666; }
196 .feed-grid a { color: #666; }
197 .feed-grid a:hover { color: blue; }
199 /* Button */
201 .button a {
202 background-color: #b64b22;
203 color: #ffffff;
204 margin-right: 6px;
205 padding: 6px 10px;
206 font-size: 12px;
207 text-decoration: none;
208 font-weight: bold;
209 }
210 .button a:hover, input[type=submit]:hover {
211 background-color: #a3431f;
212 color: #ffffff;
213 }
215 /* Round corner */
217 #block_nav, pre, .box, .searchbox, .button a, #twitter {
218 -moz-border-radius: 4px;
219 -webkit-border-radius: 4px;
220 border-radius: 4px;
221 }
223 /* Transition */
225 .box {
226 -webkit-transition-property: background-color;
227 -webkit-transition-duration: 2s;
228 -moz-transition-property: background-color;
229 -moz-transition-duration: 2s;
230 transition-property: background-color;
231 transition-duration: 2s;
232 }
234 /* Form */
236 input[type=submit] {
237 border: 1px solid #b64b22;
238 background-color: #b64b22;
239 color: white;
240 font-weight: bold;
241 cursor: pointer;
242 padding: 4px 10px;
243 font-size: 14px;
244 margin-left: -5px;
245 -webkit-border-top-right-radius: 4px;
246 -webkit-border-bottom-right-radius: 4px;
247 -moz-border-radius-topright: 4px;
248 -moz-border-radius-bottomright: 4px;
249 border-top-right-radius: 4px;
250 border-bottom-right-radius: 4px;
251 }
253 input[type=submit]:hover { background-color: #a3431f; }
255 input[type=text] {
256 border: 1px solid #333333;
257 padding: 4px;
258 height: 17px;
259 width: 100%;
260 -webkit-border-top-left-radius: 4px;
261 -webkit-border-bottom-left-radius: 4px;
262 -moz-border-radius-topleft: 4px;
263 -moz-border-radius-bottomleft: 4px;
264 border-top-left-radius: 4px;
265 border-bottom-left-radius: 4px;
266 }
268 /* Footer */
270 #footer {
271 background: #f1f1f1;
272 text-align: center;
273 border-top: 1px solid #ddd;
274 padding: 40px;
275 color: #666;
276 }
278 #footer a { color: #666; padding: 0 2px; }
280 .year:after {
281 /* content: "2007-2014"; */
282 content: "2014";
283 }