Projet

Général

Profil

Paste
Télécharger (16,1 ko) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / themes / mayo / css / style.css @ 3753f249

1

    
2
* {
3
  margin: 0;
4
  padding: 0;
5
}
6
body {
7
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', Baskerville, serif;
8
  line-height: 1.5em;
9
  font-size: 87.5%; /* = 14px assuming browser's regular font size is 16px */
10
}
11
ul {
12
  margin: 0;
13
  padding: 0;
14
  list-style-type: disc;
15
  margin-left: 10px;
16
}
17
ol {
18
  margin: 0;
19
  padding: 0;
20
  margin-left: 10px;
21
}
22
a {
23
  text-decoration: none;
24
}
25
a:hover, a:active, a:focus {
26
  text-decoration: underline;
27
}
28
em {
29
  font-style: italic;
30
}
31
/* p,a,strong,em,li,dl,dt { */
32
p,li,dl,dt {
33
  margin: 6px 0;
34
  line-height: 1.5em;
35
}
36
dd {
37
  margin-left: 2.5em;
38
}
39
table {
40
  width: 100%;
41
  margin: 4px 0px;
42
}
43
h1 {
44
  font-size: 1.4em;
45
}
46
h2 {
47
  font-size: 1.3em;
48
}
49
h3 {
50
  font-size: 1.2em;
51
}
52
h4 {
53
  font-size: 1.15em;
54
}
55
h5 {
56
  font-size: 1em;
57
}
58
fieldset {
59
  border-width: 1px;
60
  border-style: solid;
61
}
62
#site-name, #site-slogan {
63
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', Baskerville, serif;
64
}
65

    
66
/*------- end of default section --------*/
67

    
68
.spacer {
69
  display: block;
70
  margin-top: 10px;
71
}
72

    
73
/**
74
 * Header
75
 */
76
#header {
77
  padding: 0px;
78
  display: block;
79
  border-style: solid;
80
  border-width: 1px;
81
  overflow: hidden;
82
}
83
#header-watermark {
84
  margin: 0;
85
  padding: 0;
86
  height: 200px;
87
  background-image: none;
88
  background-repeat: no-repeat;
89
  background-position: top center;
90
}
91
div#logo {
92
  float: left;
93
}
94
#name-and-slogan {
95
  float: left;
96
}
97
#site-name a,
98
#header h1 a,
99
#header h1 a:link,
100
#header h1 a:visited {
101
  font-weight: 800;
102
  text-decoration: none;
103
  line-height: 1em;
104
  font-size: 34px; /* we do not want it changed by text scaling */
105
}
106
#site-slogan {
107
  font-weight: normal;
108
  font-style: italic;
109
  margin-bottom: 5px;
110
  font-size: 15px; /* we do not want it changed by text scaling */
111
  line-height: 1em;
112
}
113

    
114
/**
115
 * Footer
116
 */
117
#footer-wrapper {
118
  text-align: center;
119
  clear: both;
120
  display: block;
121
  margin: 0px;
122
  padding: 10px;
123
  font-size: 0.9em;
124
  font-weight: normal;
125
}
126
#footer-wrapper .column-block {
127
  border-style: solid;
128
  border-width: 0px;
129
}
130
#footer-wrapper .column-block h2 {
131
  font-size: 1.5em;
132
}
133
#footer .block {
134
  margin: 5px 0px;
135
}
136

    
137
/**
138
 * Menu bar (for sub menus)
139
 */
140
#submenubar,
141
#menubar {
142
  padding: 0px;
143
  margin: 0px;
144
  border-bottom-style: solid;
145
  border-bottom-width: 1px;
146
  padding: 4px 0px;
147
}
148
#submenubar ul,
149
#menubar ul {
150
  padding: 0px;
151
  margin: 0px;
152
}
153

    
154
/**
155
 * Top menus (#main-menu, #secondary-menu)
156
 */
157
#navigation {
158
  margin: 0px;
159
  padding: 4px 0px 4px 4px;
160
  border-bottom-style: solid;
161
  border-bottom-width: 1px;
162
  overflow: hidden;
163
}
164
#navigation ul {
165
  margin: 0px;
166
  padding: 0px;
167
  list-style: none;
168
}
169
#navigation ul li {
170
  margin: 0px;
171
  padding: 0px;
172
  margin-right: 0px;
173
  padding: 2px 4px 2px 0px;
174
  border-right-style: solid;
175
  border-right-width: 1px;
176
}
177
#navigation ul li.active {
178
}
179
#navigation ul li a {
180
  padding: 2px 4px;
181
  font-weight: normal;
182
  font-size: 0.9em;
183
}
184
#navigation ul li a:hover {
185
}
186
#navigation #main-menu {
187
  margin: 0;
188
  padding: 0px;
189
  float: left;
190
}
191
#navigation #secondary-menu {
192
  margin: 0;
193
  padding: 0px;
194
  float: right;
195
}
196

    
197
/**
198
 * Banner area (#banner-top, #banner-bottom)
199
 */
200
.banner p {
201
  padding: 0px;
202
  margin: 0px;
203
}
204
#banner-top,
205
#banner-bottom {
206
  padding: 0px;
207
  border: none;
208
  width: 100%;
209
}
210

    
211
/**
212
 * Highlighted
213
 */
214
#highlighted .block {
215
  margin-bottom: 10px;
216
}
217

    
218
.column-block {
219
  font-size: 0.9em;
220
  margin: 0px;
221
  border-style: solid;
222
  border-width: 1px;
223
}
224
.column-block h2 {
225
  font-size: 1.25em;
226
  line-height: 1em;
227
  padding: 2px 0px;
228
  margin: 0px 0px 3px 0px;
229
  border-bottom-style: solid;
230
  border-bottom-width: 1px;
231
}
232

    
233
/**
234
 * Sidebar
235
 */
236
.sidebar * {
237
  padding: 0;
238
  margin: 0;
239
  line-height: 1.6em;
240
}
241
.sidebar .block {
242
  padding: 5px 10px;
243
  font-size: 0.9em;
244
  margin-bottom: 10px;
245
  border-style: solid;
246
  border-width: 1px;
247
}
248
.column-block h2,
249
.sidebar h2 {
250
  background: transparent;
251
  line-height: 1em;
252
  border-bottom-style: solid;
253
  border-bottom-width: 1px;
254
  margin: 4px 0px 2px 0px;
255
  padding: 2px 0px;
256
  font-size: 1.25em;
257
}
258
.column-block .content,
259
.sidebar .block .content {
260
  padding: 5px 2px;
261
  /*overflow: hidden; Removed for Superfish */
262
}
263

    
264
.column-block table tr th,
265
.sidebar .block table tr th {
266
  border-style: solid;
267
  border-width: 0px;
268
  padding: 0px 4px;
269
  background: none;
270
  border-bottom-width: 3px;
271
}
272
.column-block table tr td,
273
.sidebar .block table tr td {
274
  padding: 2px 4px;
275
  border-style: solid;
276
  border-width: 0px;
277
  border-bottom-width: 1px;
278
  background: none;
279
}
280

    
281
.sidebar .block ul {
282
  margin: 0px;
283
  padding: 0px;
284
}
285
.sidebar .block ul.links {
286
  margin-top: 10px;
287
  text-align: right;
288
}
289
.sidebar .block ul.links li {
290
  display: inline;
291
  margin-left: 15px;
292
}
293
.sidebar .block .menu {
294
  padding-left: 10px;
295
  padding-bottom: 5px;
296
}
297

    
298
/**
299
 * Page
300
 */
301
#breadcrumb {
302
  font-size: 1em;
303
  font-style: italic;
304
  padding-left: 5px;
305
}
306

    
307
#breadcrumb a {
308
  font-size: 1em;
309
  font-style: italic;
310
}
311

    
312
#page-title {
313
  padding: 4px 8px;
314
  font-size: 1.3em;
315
  margin-bottom: 10px;
316
}
317
#content .block h2 { /* main content: block title */
318
  padding: 4px 8px;
319
  font-size: 1.25em;
320
}
321
.action-links {
322
  padding-left: 10px;
323
}
324

    
325
/**
326
 * Pager
327
 */
328
div.item-list .pager {
329
  border: none;
330
  padding: 0px;
331
}
332
div.item-list ul.pager {
333
  margin: 10px 0px;
334
  margin-top: 10px;
335
  padding: 1px 0px;
336
  overflow: hidden;
337
  list-style-type: none;
338
}
339
div.item-list ul.pager li {
340
  display: inline;
341
  margin: 0px;
342
  padding: 0px;
343
  line-height: 1em;
344
  padding: 2px 0px;
345
}
346
div.item-list ul.pager li.pager-current {
347
  padding: 2px 8px;
348
}
349

    
350
div.item-list ul.pager li a {
351
  margin: 0px;
352
  padding: 2px 8px;
353
}
354

    
355
/**
356
 * tabs
357
 */
358
div.tabs .secondary,
359
div.tabs .primary {
360
  border: none;
361
  padding: 0px;
362
  margin: 8px 0px;
363
  margin: 8px 0px 0px 0px;
364
  list-style-type: none;
365
}
366
ul.secondary li,
367
ul.primary li {
368
  padding: 2px 0px;
369
  margin: 0px;
370
  line-height: 1em;
371
}
372
ul.secondary li a,
373
ul.primary li a {
374
  margin: 0px;
375
  padding: 2px 8px;
376
  background: transparent;
377
}
378

    
379
div.tabs .secondary,
380
div.tabs .primary {
381
  margin-bottom: 10px;
382
}
383

    
384
div.tabs .secondary li a,
385
div.tabs .primary li a {
386
  border-width: 1px;
387
}
388

    
389
div.tabs .secondary li a.active,
390
div.tabs .primary li a.active {
391
  background: url('../images/dark.png') repeat top left;
392
}
393

    
394
div.tabs ul.secondary li a {
395
  font-size: 0.85em;
396
  margin: 0px;
397
}
398
div.tabs ul.secondary li {
399
  border-style: solid;
400
  border-width: 1px;
401
  padding: 0px;
402
  margin-bottom: 2px;
403
}
404

    
405
/**
406
 * node
407
 */
408
.node {
409
  margin: 0;
410
  padding: 15px 12px 10px 14px;
411
  margin-bottom: 10px;
412

    
413
  border-style: solid;
414
  border-width: 1px;
415
}
416
.node-sticky {
417
  border-width: 0px;
418
}
419

    
420
#content .node h2 { /* main content: node title */
421
  padding: 0px;
422
  background: transparent;
423
  border-bottom-style: solid;
424
  border-bottom-width: 1px;
425
  font-size: 1.45em;
426
}
427

    
428
.node .submitted {
429
  font-size: 0.75em;
430
}
431

    
432
.node ul,
433
.node ol {
434
  padding-left: 15px;
435
}
436
.node ul.links {
437
  padding: 0px;
438
  font-size: 0.75em;
439
  float: right;
440
  clear: both;
441
}
442
.node .user-picture {
443
  float: right;
444
  padding: 0px 0px 10px 10px;
445
  background-color: inherit;
446
}
447

    
448
/**
449
 * Comment
450
 */
451
.comment {
452
  padding: 8px 10px;
453
  margin-bottom: 10px;
454
  border-style: solid;
455
  border-width: 1px;
456
}
457
.comment-unpublished {
458
  background: url(../images/unpublished.png) repeat top right;
459
}
460
.comment-spam {
461
  background: url(../images/spam.png) repeat top right;
462
}
463
.comment h3 {
464
  border-bottom-style: solid;
465
  border-bottom-width: 1px;
466
}
467
#comments h2.title {
468
  margin-bottom: 5px;
469
  font-size: 1.3em;
470
}
471
.comment .submitted {
472
  font-size: 0.75em;
473
}
474
.comment ul.links {
475
  padding: 0px;
476
  font-size: 0.75em;
477
  float: right;
478
  clear: both;
479
}
480
.comment .user-picture {
481
  float: right;
482
  padding: 4px 0px 10px 10px;
483
  background-color: inherit;
484
}
485

    
486
/**
487
 * User profile
488
 */
489
.profile .user-picture {
490
  margin: 0px;
491
  padding: 5px;
492
}
493
/* =============================================================================
494
   SEARCH
495
   ========================================================================== */
496
/**
497
 * Header searchbox form
498
 * - no 'submit' button
499
 * - add search magnifier image
500
 * - use javascript to show prompt
501
 */
502
 #header-searchbox form div {
503
   display: inline;
504
 }
505
 /* text field header search */
506
.form-item-search-block-form .form-text {
507
  border: 1px solid #ccc;
508
  border-right: none;
509
  float: left; /* LTR */
510
  height: 14px;
511
  padding: 6px;
512
  color: #4e4e4e;
513
  background-color: #FAFAFA;
514
}
515
/* submit button */
516
#header-searchbox form input.form-submit {
517
  border:none;
518
  width:31px;
519
  height:26px;
520
  border: 1px solid #ccc;
521
  border-left: 0;
522
  text-indent:-9999px;
523
  margin:0;
524
  background: none;
525
  padding: 0;
526
}
527
#header .form-item-search-block-form {
528
  float: right;
529
  margin: 0px;
530
}
531
#header-searchbox {
532
  float: right;
533
  overflow: hidden;
534
}
535
/*#header-searchbox .form-submit:hover,
536
#header-searchbox .form-submit:focus,
537
#header-searchbox .form-submit:active {
538
  cursor: pointer;
539
}*/
540

    
541
/*
542
 *  Search block form
543
 *  - submit replaced by magnify image.
544
 *  - says 'search this site'
545
 */
546

    
547
#block-search-form .block .inner .content {
548
  padding-top: 0;
549
}
550

    
551
/* text field search block */
552
.block-search .form-item input.form-search,
553
.white_bg .region-header .block-search .form-item input.form-search,
554
.white_bg #navigation .block-search .form-item input.form-search {
555
  border: 1px solid #ccc;
556
  border-right: none;
557
  float: left; /* LTR */
558
  height: 14px;
559
  padding: 6px;
560
  color: #4e4e4e;
561
  background-color: #FAFAFA;
562
}
563
/* submit button */
564
.block-search form input.form-submit {
565
  border:none;
566
  width:31px;
567
  height:26px;
568
  border: 1px solid #ccc;
569
  border-left: 0;
570
  text-indent:-9999px;
571
  margin:0;
572
  background: none;
573
  padding: 0;
574
}
575

    
576
/*.block-search .form-submit:hover,
577
.block-search .form-submit:focus,
578
.block-search .form-submit:active {
579
  cursor: pointer;
580
}*/
581

    
582
/*#search-block-form input[type="submit"] {
583
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
584
}*/
585
/************************/
586
/**
587
 * Form
588
 */
589
.pushbutton, button, .form-submit {
590
  margin: 2px;
591
  padding: 2px 10px;
592
  color: #555555;
593
  cursor: pointer;
594
  font-size: 0.9em;
595
  border: solid 1px #888888;
596
  background: #fff url(../images/button.gif) repeat-x center;
597
}
598
.pushbutton:hover, button:hover, .form-submit:hover {
599
  color: #111111;
600
  border: solid 1px #666666;
601
  background: #fff url(../images/button-o.gif) repeat-x center;
602
}
603

    
604
/**
605
 * Font resize controls
606
 */
607
#header-fontsizer {
608
  float: right;
609
  margin: 0;
610
  margin-right: 20px;
611
  padding: 0px;
612
  border-width: 0px;
613
  line-height: 1.2em;
614

    
615
}
616
.decreaseFont {
617
  padding-right: 22px;
618
  padding-bottom: 25px;
619
  background: url('../images/fontsizer-1.png') no-repeat top left;
620
  margin-right: 1px;
621
}
622
.resetFont {
623
  padding-right: 21px;
624
  padding-bottom: 25px;
625
  background: url('../images/fontsizer-2.png') no-repeat top left;
626
}
627
.increaseFont {
628
  padding-right: 23px;
629
  padding-bottom: 25px;
630
  background: url('../images/fontsizer-3.png') no-repeat top left;
631
  margin-left: 1px;
632
}
633
.decreaseFont:hover {
634
  background: url('../images/fontsizer-1-o.png') no-repeat top left;
635
}
636
.resetFont:hover {
637
  background: url('../images/fontsizer-2-o.png') no-repeat top left;
638
}
639
.increaseFont:hover {
640
  background: url('../images/fontsizer-3-o.png') no-repeat top left;
641
}
642
#header-fontsizer a,
643
#header-fontsizer a:visited,
644
#header-fontsizer a:focus,
645
#header-fontsizer a:active {
646
 /* suppress dotted frame around the links for IE */
647
 border: none;
648
 outline: none;
649
}
650

    
651
/**
652
 * Other
653
 */
654
table.views-view-grid tr td {
655
  padding: 15px;
656
}
657
.filter-wrapper {
658
  border: none;
659
  margin-top: 5px;
660
  padding: 5px;
661
  font-size: 0.9em;
662
}
663
.filter-wrapper ul li {
664
  margin-left: 10px;
665
}
666
.field-type-taxonomy-term-reference {
667
  overflow: hidden;
668
  margin-bottom: 0.5em;
669
}
670
.field-type-taxonomy-term-reference .field-label {
671
  float: left;
672
  overflow: hidden;
673
}
674
.field-type-taxonomy-term-reference .field-items {
675
  overflow: hidden;
676
}
677
.field-type-taxonomy-term-reference .field-items .field-item {
678
  float: left;
679
  margin: 0 0.6em;
680
  padding: 0px;
681
}
682
.field-type-text-with-summary {
683
  /*clear: left;*/ /* do not use 'both' */
684
}
685

    
686
table tr {
687
  border-style: solid;
688
  border-width: 0px;
689
}
690
table tr td {
691
  padding: 4px 6px;
692
  border-style: solid;
693
  border-width: 0px;
694
}
695
table tr th {
696
  border-style: solid;
697
  padding: 4px 6px;
698
  border-width: 0px;
699
  border-right-width: 1px;
700
}
701
table thead * {
702
  padding: 2px 3px;
703
  border-bottom: none;
704
  border-width: 0px;
705
}
706
table tbody {
707
  border-width: 0px;
708
}
709
table.sticky-enabled tr td {
710
  padding: 2px 3px;
711
  border-style: solid;
712
  border-width: 0px;
713
}
714
tr.even td.active,
715
tr.odd td.active {
716
  background-image: url('../images/dark.png');
717
}
718
tr.even,
719
tr.odd {
720
  border-width: 0px;
721
}
722
blockquote {
723
  padding: 0px 10px;
724
  border-left-style: solid;
725
  border-left-width: 5px;
726
  font-style: italic;
727
}
728

    
729
/**
730
 * Superfish menu
731
 */
732
.sf-menu li a {
733
  /* root menu items */
734
  font-size: 0.9em;
735
  padding: 2px 8px;
736
  border: none;
737
  border-right-style: solid;
738
  border-right-width: 1px;
739
  /* background-color is set by colors.css */
740
  /* border-right-color is set by colors.css */
741
  font-weight: normal;
742
}
743
.sf-menu li.last a {
744
  /* last item of the root menu */
745
  border-right: none;
746
}
747
.sf-menu li.last ul li a,
748
.sf-menu li ul li a,
749
.sf-menu li ul li.last a {
750
  /* all other child menu items */
751
  border-style: solid;
752
  border-width: 1px;
753
  /* border-color is set by colors.css */
754
}
755
.sf-menu li.menuparent a {
756
  /* item with child menu - adding some spaces for arrows */
757
  padding: 8px 19px 2px 8px;  /* Added 6px at top for alignment*/
758
}
759
.sf-menu li a.sfHover,
760
.sf-menu li a:hover {
761
  /* background-color is set by colors.css */
762
}
763
.sf-menu li:hover ul,
764
.sf-menu li.sfHover ul {
765
  top: 2.8em;  /* Added 1.0em to bring down child items */
766
}
767
.sf-sub-indicator {
768
  background: url('../images/sf-arrows.png') no-repeat -10px -110px;
769
}
770
a > .sf-sub-indicator {
771
  top: 1em; /* .2em drop in arrows */
772
}
773
.sf-menu ul {
774
  -khtml-border-radius: 0px;  /* for old Safari, KHTML */
775
  -moz-border-radius: 0px;    /* for Firefox */
776
  -webkit-border-radius: 0px; /* for old Safari, KHTML */
777
  border-radius: 0px;         /* for CSS3 */
778
  border-width: 1px;
779
  border-style: solid;
780
}
781

    
782
/**
783
 * Nice menus
784
 */
785
ul.nice-menu {
786
  line-height: 1em;
787
  margin: 0px;
788
  padding: 0px;
789
}
790
ul.nice-menu,
791
ul.nice-menu ul,
792
ul.nice-menu li {
793
  /* remove all borders */
794
  border: 0;
795
}
796
ul.nice-menu li {
797
  /* height of root menu items */
798
  line-height: 1.2em;
799
}
800
ul.nice-menu li a {
801
  /* root menu items */
802
  font-size: 0.9em;
803
  padding: 4px 8px;
804
  border: none;
805
  border-right-style: solid;
806
  border-right-width: 1px;
807
  /* background-color is set by colors.css */
808
  /* border-right-color is set by colors.css */
809
}
810
ul.nice-menu li.last a {
811
  /* last item of the root menu */
812
  border-right: none;
813
}
814

    
815
ul.nice-menu li ul {
816
  margin: 0;
817
  padding: 0px;
818
}
819

    
820
ul.nice-menu li.last ul li a,
821
ul.nice-menu li ul li a,
822
ul.nice-menu li ul li.last a {
823
  /* all other chile menu items */
824
  border-style: solid;
825
  border-width: 1px;
826
border-width: 0px;
827
  /* border-color is set by colors.css */
828
}
829
ul.nice-menu li.menuparent a {
830
  /* root menu item that has drop down menu */
831
  background-image: url('../images/arrow-down.png');
832
  background-repeat: no-repeat;
833
  background-position: 98%;
834
  /* background-color is set by colors.css */
835
}
836
ul.nice-menu li a {
837
  /* root menu item that has no drop down menu */
838
  /* background-color is set by colors.css */
839
}
840
ul.nice-menu li {
841
  padding: 0px;
842
}
843
ul.nice-menu li ul li.menuparent a:hover,
844
ul.nice-menu li ul li.menuparent:hover,
845
ul.nice-menu li ul li.menuparent {
846
  /* drop down menu item that has child menu */
847
  background-image: url('../images/arrow-right.png');
848
  background-repeat: no-repeat;
849
  background-position: 95%;
850
  /* background-color is set by colors.css */
851
}
852
ul.nice-menu li.menuparent ul {
853
  padding-top: -5px;
854
}
855
ul.nice-menu li.menuparent li a {
856
  background: none; /* do not delete! */
857
}
858
ul.nice-menu li.menuparent li {
859
  background: none; /* do not delete! */
860
}
861
ul.nice-menu li ul li.menuparent li a:hover {
862
  background: none; /* do not delete! */
863
}
864

    
865
/**
866
 * Overlay layout for admin pages
867
 */
868
.overlay #main,
869
.overlay #content {
870
  width: auto;
871
  float: none;
872
}
873
.overlay #skip-link,
874
.overlay .region-page-top,
875
.overlay #header,
876
.overlay #page-title,
877
.overlay #featured,
878
.overlay #sidebar-first,
879
.overlay #sidebar-second,
880
.overlay #footer-wrapper,
881
.overlay #banner-top,
882
.overlay #banner-bottom,
883
.overlay #highlighted,
884
.overlay #navigation {
885
  display: none;
886
}
887
.overlay #messages {
888
  width: auto;
889
}
890
.overlay #page-wrapper {
891
  width: 100%;
892
}
893
.overlay #page {
894
  margin: 0;
895
  padding: 0px;
896
}
897
#overlay-content {
898
  margin: 0;
899
  padding: 0px;
900
}
901