1 | <?php |
---|
2 | /*************************************************************************** |
---|
3 | * style.inc.php * |
---|
4 | * ------------------- * |
---|
5 | * application : PhpWebGallery 1.3 <http://phpwebgallery.net> * |
---|
6 | * author : Pierrick LE GALL <pierrick@z0rglub.com> * |
---|
7 | * * |
---|
8 | * $Id: style.inc.php 57 2003-08-24 07:40:56Z z0rglub $ |
---|
9 | * * |
---|
10 | ***************************************************************************/ |
---|
11 | |
---|
12 | /*************************************************************************** |
---|
13 | * * |
---|
14 | * This program is free software; you can redistribute it and/or modify * |
---|
15 | * it under the terms of the GNU General Public License as published by * |
---|
16 | * the Free Software Foundation; * |
---|
17 | * * |
---|
18 | ***************************************************************************/ |
---|
19 | $user['style'] = '<style type="text/css"> |
---|
20 | a { |
---|
21 | text-decoration:none; |
---|
22 | } |
---|
23 | a:hover { |
---|
24 | text-decoration:underline; |
---|
25 | } |
---|
26 | a.back, body { |
---|
27 | color:'.$user['couleur_text_fond'].'; |
---|
28 | } |
---|
29 | body,table,input { |
---|
30 | font-family:arial,sans-serif; |
---|
31 | font-size:12px; |
---|
32 | } |
---|
33 | .imgLink { |
---|
34 | border:1px solid '.$user['couleur_text_fond'].'; |
---|
35 | } |
---|
36 | .titrePage,.titreMenu,.menu,.info, a { |
---|
37 | color:'.$user['couleur_text'].'; |
---|
38 | } |
---|
39 | .titreMenu,.menu,.info { |
---|
40 | margin-bottom:5px; |
---|
41 | white-space:nowrap; |
---|
42 | } |
---|
43 | .menu,.titrePage,.info { |
---|
44 | margin-left:2px; |
---|
45 | margin-right:2px; |
---|
46 | } |
---|
47 | .menuInfoCat { |
---|
48 | font-family:sans-serif; |
---|
49 | font-size:11px; |
---|
50 | } |
---|
51 | .totalImages { |
---|
52 | text-align:center; |
---|
53 | margin-top:5px; |
---|
54 | font-family:sans-serif; |
---|
55 | font-size:11px; |
---|
56 | } |
---|
57 | .titreMenu { |
---|
58 | font-weight:600; |
---|
59 | text-align:center; |
---|
60 | } |
---|
61 | .info { |
---|
62 | text-align:right; |
---|
63 | } |
---|
64 | .titrePage { |
---|
65 | white-space:nowrap; |
---|
66 | font-weight:500; |
---|
67 | font-size:18px; |
---|
68 | text-align:center; |
---|
69 | } |
---|
70 | .comments,.infoCat,.navigationBar { |
---|
71 | margin-top:10px; |
---|
72 | margin-bottom:10px; |
---|
73 | } |
---|
74 | .comments { |
---|
75 | text-align:justify; |
---|
76 | font-style:italic; |
---|
77 | } |
---|
78 | .navigationBar { |
---|
79 | text-align:center; |
---|
80 | } |
---|
81 | .infoCat { |
---|
82 | text-align:left; |
---|
83 | } |
---|
84 | .thumbnail { |
---|
85 | font-size:11px; |
---|
86 | text-align:center; |
---|
87 | } |
---|
88 | .copyright { |
---|
89 | font-size:11px; |
---|
90 | text-align:center; |
---|
91 | font-family:sans-serif; |
---|
92 | letter-spacing:0.3mm; |
---|
93 | } |
---|
94 | .commentImage { |
---|
95 | font-weight:bold; |
---|
96 | text-align:center; |
---|
97 | font-size:17px; |
---|
98 | } |
---|
99 | .bouton { |
---|
100 | background:#EEEEEE; |
---|
101 | } |
---|
102 | input { |
---|
103 | border-width:1; |
---|
104 | border-color:#000000; |
---|
105 | background:#ffffff; |
---|
106 | color: #000000; |
---|
107 | } |
---|
108 | body {'; |
---|
109 | $image = './theme/'.$user['theme'].'/background.gif'; |
---|
110 | if ( @is_file( $image ) ) |
---|
111 | { |
---|
112 | $user['style'].= ' |
---|
113 | background-image:url('.$image.');'; |
---|
114 | } |
---|
115 | else |
---|
116 | { |
---|
117 | $user['style'].= ' |
---|
118 | background-color:'.$user['couleur_fond'].';'; |
---|
119 | } |
---|
120 | $user['style'].= ' |
---|
121 | margin:5px; |
---|
122 | } |
---|
123 | table { |
---|
124 | border-collapse:collapse; |
---|
125 | } |
---|
126 | table.thumbnail { |
---|
127 | border-collapse:separate; |
---|
128 | } |
---|
129 | td { |
---|
130 | font-family:sans-serif; |
---|
131 | padding:0; |
---|
132 | } |
---|
133 | .errors { |
---|
134 | text-align:left; |
---|
135 | margin-top:5px; |
---|
136 | margin-bottom:5px; |
---|
137 | background-color:red; |
---|
138 | font-weight:bold; |
---|
139 | border:1px solid black; |
---|
140 | color:white; |
---|
141 | } |
---|
142 | div.information { |
---|
143 | text-align:center; |
---|
144 | border:2px solid '.$user['couleur_text_fond'].'; |
---|
145 | margin:10px;padding:5px; |
---|
146 | } |
---|
147 | </style>'; |
---|