/[drupal]/contributions/themes/ability/style.css~
ViewVC logotype

Contents of /contributions/themes/ability/style.css~

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Feb 17 16:35:36 2008 UTC (21 months, 1 week ago) by xactive
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1, DRUPAL-6--2
Initial commit of example module. Here is a brief description of what this module does.
1 /**
2 * Salamander theme, for Drupal 5
3 * Xactive, xactive[at]art4linux.org
4 *
5 **
6 * by uncomment the corresponding css call you can change the subtheme
7 * you can modify the page width (fixed or fluid) by changing #page { width: 95% or 950px }
8 **
9 */
10
11
12 @import "css/salamander1.css";
13 /*@import "css/salamander2.css";*/
14
15 @import "style-mini.css";
16
17 body {
18 margin: 0;
19 padding: 15px 0;
20 font-family: Verdana, sans-serif;
21 font-size: 8pt;
22 line-height: 125%;
23 color: #000;
24 background-color: #8596aa;
25 min-width: 780px;
26 }
27
28 #page {
29 margin: 0 auto;
30 width: 97%; /* 95% or 950px */
31 }
32
33 tbody {
34 border: none;
35 }
36
37 tr.odd td, tr.even td {
38 padding: 0.3em;
39 }
40
41 h1, h2, h3, h4, h4 {
42 padding-bottom: 5px;
43 margin: 10px 0;
44 }
45
46 h1 {
47 font-size: 160%;
48 }
49
50 h2 {
51 font-size: 125%;
52 }
53
54 h3 {
55 font-size: 110%;
56 }
57
58 h4 {
59 font-size: 100%;
60 }
61
62 p {
63 margin-top: 0.5em;
64 margin-bottom: 0.9em;
65 }
66 a {
67 text-decoration: none;
68 font-weight: normal;
69 }
70 a:hover {
71 text-decoration: underline;
72 color: #f7800a;
73 }
74
75 #section2 a:hover {
76 text-decoration: underline;
77 color: #f7800a;
78 }
79
80 fieldset {
81 border: 1px solid #ccc;
82 }
83 pre {
84 background-color: #eee;
85 padding: 0.75em 1.5em;
86 font-size: 12px;
87 border: 1px solid #ddd;
88 }
89 table {
90 font-size: 1em;
91 }
92 .form-item label {
93 font-size: 1em;
94 color: #222;
95 }
96 .item-list .title {
97 color: #222;
98 }
99 .links {
100 margin: 0;
101 }
102 .comment .links {
103 margin-bottom: 0;
104 }
105
106 #header, #content {
107 width: 100%;
108 }
109
110 table.sections {
111 width: 100%;
112 padding: 0;
113 }
114
115 .clr {
116 clear: both;
117 }
118
119 td.section.width49 {
120 width: 50%;
121 }
122
123 td.section.width33 {
124 width: 33%;
125 }
126
127 #masthead {
128 float: none;
129 clear: both;
130 line-height: normal;
131 }
132
133 #logo-title {
134 float: left;
135 margin: 0;
136 padding: 10px;
137 }
138
139 #logo {
140 vertical-align: baseline;
141 }
142
143 #logo img {
144 padding: 0;
145 margin: 0;
146 border: 0;
147 }
148
149 h1#site-name {
150 margin: 0;
151 padding: 50px 0 0 0;
152 }
153
154 #site-name a, #site-name a:hover {
155 font-weight: bold;
156 color: #fff;
157 font-size: 140%;
158 }
159
160 #site-slogan {
161 font-size: 11px;
162 color: #000;
163 font-style: italic;
164 padding-top: 4px;
165 margin-left: 20px;
166 }
167
168 #mission {
169 font-weight: normal;
170 padding: 1em 1em 0.75em 2em;
171 margin: 20px 10px;
172 color: #000;
173 font-size: 85%;
174 border: solid 1px #104a91;
175 }
176 #mission a, #mission a:visited {
177 font-weight: normal;
178 color: #104a91;
179 }
180
181 #search {
182 padding-top: 0px;
183 padding-right: 10px;
184 float: right;
185 }
186
187 #search .form-text, #search .form-submit {
188 border: 1px solid #369;
189 font-size: 1.1em;
190 height: 1.5em;
191 vertical-align: middle;
192 }
193 #search .form-text {
194 width: 8em;
195 padding: 0 0.5em;
196 }
197
198 /* Primary and Secondary links */
199
200 #primary {
201 line-height: 30px;
202 }
203
204 #primary ul {
205 padding:0;
206 margin:0;
207 list-style:none;
208 }
209
210 #primary li {
211 display:inline;
212 }
213
214 #primary a {
215 font-weight: bold;
216 display: block;
217 float: left;
218 padding: 0px 14px;
219 margin: 0px 1px 0px 0px;
220 font-size: 95%;
221 }
222
223 #primary a {
224 background-position:0% 0px;
225 }
226
227 #primary a:hover {
228 text-decoration: none;
229 background-position:0% -42px;
230 }
231
232 #primary a.active {
233 background-position: 0% -84px;
234 }
235
236 #secondary {
237 }
238
239 #secondary ul {
240 margin:0;
241 padding:0;
242 list-style:none;
243 }
244 #secondary li {
245 margin:0;
246 padding:0;
247 display:inline;
248 }
249
250 #secondary li a {
251 float:left;
252 display:block;
253 font-size: 90%;
254 padding:0px 14px 0px 14px;
255 }
256
257 #secondary a:hover {
258 text-decoration: none;
259 color: #f7800a;
260 }
261
262 #secondary a.active {
263 font-weight:bold;
264 }
265
266 #navlist {
267 font-size: 1.0em;
268 padding: 0 0.8em 1.2em 0;
269 color: #fff;
270 }
271 #navlist a {
272 font-weight: bold;
273 color: #fff;
274 }
275 #subnavlist {
276 padding: 0.5em 1.2em 0.4em 0;
277 font-size: 0.8em;
278 color: #fff;
279 }
280 #subnavlist a {
281 font-weight: bold;
282 color: #fff;
283 }
284 ul.links li {
285 border-left: 1px solid #ddd;
286 }
287 ul.links li.first {
288 border: none;
289 }
290
291 #main {
292 padding: 10px;
293 }
294
295 #help {
296 font-size: 0.9em;
297 margin-bottom: 1em;
298 }
299
300 .messages {
301 background-color: #eee;
302 border: 1px solid #ccc;
303 padding: 0.3em;
304 margin-bottom: 1em;
305 }
306 .error {
307 border-color: red;
308 border: 3px solid;
309 background-color: #ff3333;
310 }
311
312 #middlecontainer {
313 padding:0px 0px 0px 0px;
314 }
315
316 #sidebar-left {
317 width: 180px;
318 vertical-align: top;
319 background-color: #fff8d1;
320 }
321
322 #sidebar-right {
323 width: 240px;
324 vertical-align: top;
325 background-color: #fddfbc;
326 }
327
328 #sidebar-left .block, #sidebar-right .block {
329 padding-top: 10px;
330 padding-bottom: 15px;
331 padding-left: 10px;
332 padding-right: 10px;
333 }
334
335 #footer {
336 text-align: center;
337 color:#fff;
338 margin:0;
339 font-size: 75%;
340 padding: 1em;
341 }
342
343 #footer a {
344 font-weight:bold;
345 color: #ffe400;
346 }
347
348 #footer .block {
349 padding: 0;
350 }
351
352 div#breadcrumb {
353 padding-left:14px;
354 clear: both;
355 font-size: 75%;
356 border-bottom: 1px solid #8596aa;
357 }
358
359 .title, .title a {
360 font-weight: bold;
361 margin: 0 auto;
362 }
363 .submitted {
364 color: #ef8441;
365 font-size: 0.8em;
366 }
367 .links {
368 color: #b8541b;
369 }
370 .links a {
371 font-weight: bold;
372 }
373 .block, .box {
374 padding: 0 0 1.5em 0;
375 }
376 .block {
377 padding-bottom: 0.75em;
378 margin-bottom: 1.5em;
379 }
380
381 .section .block, .section .box {
382 padding: 0;
383 padding-bottom: 0;
384 margin-bottom: 15px;
385 }
386
387 .block .title {
388 margin-bottom: .25em;
389 }
390
391 .node {
392 margin: .5em 0 2em 0;
393 }
394 /*
395 .sticky {
396 padding: .5em;
397 background-color: #eee;
398 border: solid 1px #ddd;
399 }
400 */
401 .node .content, .comment .content {
402 margin: .5em 0 .5em 0;
403 }
404 .node .taxonomy {
405 font-size: 0.8em;
406 padding-left: 1em;
407 }
408 .node .taxonomy a {
409 font-weight: normal;
410 }
411 .comment {
412 border: 1px solid #73a2d7;
413 padding: .5em;
414 margin-bottom: 1em;
415 }
416
417 .comment .title a {
418 font-weight: normal;
419 }
420 .comment .new {
421 text-align: right;
422 font-weight: bold;
423 font-size: 0.8em;
424 float: right;
425 color: red;
426 }
427 .node .picture, .comment .picture {
428 float: right;
429 margin: 0.5em;
430 }
431
432 #aggregator .feed-source {
433 background-color: #eee;
434 border: 1px solid #ccc;
435 padding: 1em;
436 margin: 1em 0;
437 }
438 #aggregator .news-item .categories, #aggregator .source, #aggregator .age {
439 font-style: italic;
440 font-size: 0.9em;
441 }
442 #aggregator .title {
443 margin-bottom: 0.5em;
444 }
445 #aggregator h3 {
446 margin-top: 1em;
447 }
448 #forum table {
449 width: 100%;
450 }
451 #forum td {
452 padding: 0.5em;
453 }
454 #forum td.forum, #forum td.posts {
455 background-color: #eee;
456 }
457 #forum td.topics, #forum td.last-reply {
458 background-color: #ddd;
459 }
460 #forum td.container {
461 background-color: #ccc;
462 }
463 #forum td.container a {
464 color: #555;
465 }
466 #forum td.statistics, #forum td.settings, #forum td.pager {
467 height: 1.5em;
468 border: 1px solid #bbb;
469 }
470 #forum td .name {
471 }
472 #forum td .links {
473 padding-top: 0.7em;
474 font-size: 0.9em;
475 }
476 #profile .profile {
477 clear: both;
478 border: 1px solid #73a2d7;
479 padding: .5em;
480 margin: 1em 0em;
481 }
482 #profile .profile .name {
483 padding-bottom: 0.5em;
484 }
485 .block-forum h3 {
486 margin-bottom: .5em;
487 }
488 div.admin-panel .description {
489 color: #8e6126;
490 }
491 div.admin-panel .body {
492 background: #f4f4f4;
493 }
494 div.admin-panel h3 {
495 color: #fff;
496 padding: 5px 8px 5px;
497 margin: 0;
498 }
499
500
501 /* some table stuff */
502
503 div#section1 td.section, div#section2 td.section {
504 padding: 10px 20px 0 20px;
505 }
506
507 /* ====== Addons ====== */
508
509 .legal {
510 margin-left: 75px;
511 }
512 #user-login-form {
513 text-align: left !important;
514 }
515
516 /* tables */
517
518 table {
519 margin: 0 0 0 0;
520 width: 100%;
521 }
522
523 thead th {
524 border-bottom: 1px solid #065bb0;
525 color: #000;
526 font-size: 90%;
527 font-weight: bold;
528 color: #000;
529 /* background: url(images/bg-thead.gif) repeat-x bottom left; */
530 padding: 4px 5px 0 5px;
531 }
532
533 tr.even, tr.odd {
534 border-color: #fff;
535 }
536
537 tr.even {
538 background-color: #f2f5fa; /* pole nieparzystae tabeli */
539 }
540
541 tr.odd {
542 background-color: #f2f5fa;
543 }
544
545 td.active {
546 background: #eeeeee;
547 }
548
549 td {
550 padding: 3px;
551 }
552
553 td.menu-disabled {
554 background-color: #2b2b2b;
555 }
556
557
558 /* tabs */
559
560 ul.primary {
561 text-align: right;
562 border-bottom: 2px solid #d4e4ff;
563 }
564
565 ul.primary li a {
566 background: #f2f5fa;
567 border-color: #d4e4ff;
568 }
569
570 ul.primary li a.active {
571 background: #feff8c;
572 border-color: #d4e4ff;
573 border-bottom: 0;
574 }
575
576 ul.primary li a:hover {
577 background-color: #d4e4ff;
578 border-color: #d4e4ff;
579 }
580
581 ul.secondary {
582 padding: 0;
583
584 }
585 ul.secondary li {
586 margin: 0;
587 }
588 ul.secondary li.active a, ul.secondary li a:hover {
589 border-bottom: 3px solid #BABFC6;
590 }

  ViewVC Help
Powered by ViewVC 1.1.2