diff options
Diffstat (limited to 'public/css/discographie.css')
-rw-r--r-- | public/css/discographie.css | 314 |
1 files changed, 314 insertions, 0 deletions
diff --git a/public/css/discographie.css b/public/css/discographie.css new file mode 100644 index 0000000..8ed3700 --- /dev/null +++ b/public/css/discographie.css | |||
@@ -0,0 +1,314 @@ | |||
1 | /* public/discographie.css */ | ||
2 | |||
3 | .police_titre | ||
4 | { | ||
5 | color: #c9a068; | ||
6 | } | ||
7 | |||
8 | aside | ||
9 | { | ||
10 | display: flex; | ||
11 | flex-direction: column; | ||
12 | align-items: flex-end; | ||
13 | font-size: 80%; | ||
14 | font-family: 'Monospace'; | ||
15 | /*margin-right: 10px;*/ | ||
16 | /*position: absolute;*/ | ||
17 | position: relative; | ||
18 | bottom: 30px; | ||
19 | } | ||
20 | |||
21 | aside div | ||
22 | { | ||
23 | position: absolute; | ||
24 | } | ||
25 | |||
26 | #bouton_chronologie | ||
27 | { | ||
28 | width: 200px; | ||
29 | text-align: center; | ||
30 | font-size: large; | ||
31 | font-weight: bold; | ||
32 | /*text-decoration: underline;*/ | ||
33 | /*border: 1px red solid;*/ | ||
34 | margin: 0px; | ||
35 | /*position: relative; | ||
36 | bottom: 45px;*/ | ||
37 | } | ||
38 | |||
39 | #chronologie | ||
40 | { | ||
41 | width: 200px; | ||
42 | font-weight: bold; | ||
43 | /*padding: 5px;*/ | ||
44 | display: none; | ||
45 | z-index: 1; /* placer le menu déroulant au dessus */ | ||
46 | /*background-color: #9fa8d0;*/ | ||
47 | background-color: #a4afd4; | ||
48 | border: 2px #3d4c9d solid; | ||
49 | } | ||
50 | |||
51 | #chronologie p | ||
52 | { | ||
53 | margin: 8px; | ||
54 | } | ||
55 | |||
56 | #chronologie p a:visited | ||
57 | { | ||
58 | color: blue; | ||
59 | } | ||
60 | #chronologie p a:hover | ||
61 | { | ||
62 | color: black; | ||
63 | } | ||
64 | |||
65 | .linkChrono | ||
66 | { | ||
67 | text-decoration: none; | ||
68 | } | ||
69 | .linkChrono:hover | ||
70 | { | ||
71 | text-decoration: underline; | ||
72 | } | ||
73 | .noLinkChrono | ||
74 | { | ||
75 | text-decoration: none; | ||
76 | color: black; | ||
77 | } | ||
78 | |||
79 | /* PC uniquement, pour les smartphones prévoir un clic | ||
80 | => :checked et une checkbox | ||
81 | => ou la balise select qui crée un menu déroulant */ | ||
82 | aside:hover #chronologie | ||
83 | { | ||
84 | display: block; | ||
85 | } | ||
86 | |||
87 | section | ||
88 | { | ||
89 | /*border: 1px red solid;*/ | ||
90 | } | ||
91 | .flexArticles | ||
92 | { | ||
93 | /*display: flex;*/ | ||
94 | } | ||
95 | |||
96 | h3 | ||
97 | { | ||
98 | /*margin-top: 45px;*/ | ||
99 | } | ||
100 | |||
101 | form p | ||
102 | { | ||
103 | margin: 0px; | ||
104 | } | ||
105 | |||
106 | input | ||
107 | { | ||
108 | margin: 2px 0; | ||
109 | } | ||
110 | |||
111 | .boutonAlbum | ||
112 | { | ||
113 | margin-top: 45px; | ||
114 | padding-bottom: 20px; | ||
115 | border-bottom: 1px black solid; | ||
116 | } | ||
117 | .boutonAlbum a | ||
118 | { | ||
119 | padding: 2px; | ||
120 | border: 4px black groove; | ||
121 | } | ||
122 | |||
123 | #articles | ||
124 | { | ||
125 | display: flex; | ||
126 | justify-content: space-around; | ||
127 | flex-wrap: wrap; | ||
128 | align-items: flex-end; | ||
129 | } | ||
130 | |||
131 | article | ||
132 | { | ||
133 | margin: 5px 0px; | ||
134 | width: 32%; | ||
135 | /*min-width: 300px;*/ | ||
136 | } | ||
137 | .articleAvecEditeur | ||
138 | { | ||
139 | width: 100%; | ||
140 | } | ||
141 | |||
142 | .vignette | ||
143 | { | ||
144 | width: 100%; | ||
145 | } | ||
146 | |||
147 | figure | ||
148 | { | ||
149 | margin: 0px; | ||
150 | /*display: inline-block;*/ | ||
151 | } | ||
152 | |||
153 | figcaption | ||
154 | { | ||
155 | margin: 2px; | ||
156 | color: #666; | ||
157 | font-size: small; | ||
158 | font-weight: bold; | ||
159 | text-align: center; | ||
160 | } | ||
161 | |||
162 | a | ||
163 | { | ||
164 | display: inline-block; | ||
165 | /*border: 2px white solid;*/ | ||
166 | } | ||
167 | |||
168 | .articleSansEditeur a | ||
169 | { | ||
170 | border: 2px white solid; | ||
171 | } | ||
172 | .articleSansEditeur a:hover | ||
173 | { | ||
174 | border: 2px blue solid; | ||
175 | } | ||
176 | |||
177 | a:hover figure figcaption | ||
178 | { | ||
179 | text-decoration: underline; | ||
180 | } | ||
181 | |||
182 | .articleSansEditeur p | ||
183 | { | ||
184 | /*border: 1px black solid;*/ | ||
185 | text-align: center; | ||
186 | margin-top: 0px; | ||
187 | } | ||
188 | |||
189 | .articleSansEditeur img | ||
190 | { | ||
191 | vertical-align: middle; | ||
192 | } | ||
193 | |||
194 | /* image dans le formulaire */ | ||
195 | .imageFormulaire | ||
196 | { | ||
197 | float: right; | ||
198 | max-width: 25%; | ||
199 | } | ||
200 | |||
201 | /* page dédiée à un album */ | ||
202 | #albumHTML | ||
203 | { | ||
204 | width: 100%; | ||
205 | } | ||
206 | .linkAlbumHTML | ||
207 | { | ||
208 | color: blue; | ||
209 | } | ||
210 | |||
211 | |||
212 | @media screen and (min-width: 700px) | ||
213 | { | ||
214 | #titre | ||
215 | { | ||
216 | width: 630px; | ||
217 | height: 171px; | ||
218 | background-image: url("../mouette.png"); | ||
219 | } | ||
220 | |||
221 | #contenu | ||
222 | { | ||
223 | /*position: relative;*/ | ||
224 | /*bottom: 35px;*/ | ||
225 | } | ||
226 | |||
227 | #albumHTML | ||
228 | { | ||
229 | /* annuler le positionnement du contenu */ | ||
230 | margin-top: 55px; | ||
231 | } | ||
232 | } | ||
233 | |||
234 | @media screen and (max-width: 699px) | ||
235 | { | ||
236 | #titre | ||
237 | { | ||
238 | width: 480px; | ||
239 | height: 131px; | ||
240 | background-image: url("../mouette_petit.png"); | ||
241 | margin: auto; | ||
242 | } | ||
243 | |||
244 | #contenu | ||
245 | { | ||
246 | /*position: relative; | ||
247 | bottom: 24px;*/ | ||
248 | } | ||
249 | |||
250 | #albumHTML | ||
251 | { | ||
252 | /* annuler le positionnement du contenu */ | ||
253 | margin-top: 42px; | ||
254 | } | ||
255 | article | ||
256 | { | ||
257 | width: 40%; | ||
258 | } | ||
259 | } | ||
260 | |||
261 | @media screen and (max-width: 479px) | ||
262 | { | ||
263 | #titre | ||
264 | { | ||
265 | width: 320px; | ||
266 | height: 88px; | ||
267 | background-image: url("../mouette_mini.png"); | ||
268 | margin: auto; | ||
269 | } | ||
270 | |||
271 | #multicolonnes | ||
272 | { | ||
273 | flex-direction: column; | ||
274 | } | ||
275 | |||
276 | aside | ||
277 | { | ||
278 | width: 320px; | ||
279 | } | ||
280 | |||
281 | #bouton_chronologie | ||
282 | { | ||
283 | width: 130px; | ||
284 | font-size: initial; /* 150% est plus petit que "normal" */ | ||
285 | padding-top: 5px; | ||
286 | } | ||
287 | |||
288 | #chronologie | ||
289 | { | ||
290 | /*display: flex;*/ | ||
291 | } | ||
292 | |||
293 | #chronologie p | ||
294 | { | ||
295 | /*max-width: 80px;*/ | ||
296 | margin: 5px; | ||
297 | } | ||
298 | |||
299 | #contenu | ||
300 | { | ||
301 | /*position: relative;*/ | ||
302 | /* bottom: 15px;*/ | ||
303 | } | ||
304 | |||
305 | #albumHTML | ||
306 | { | ||
307 | /* annuler le positionnement du contenu */ | ||
308 | margin-top: 32px; | ||
309 | } | ||
310 | article | ||
311 | { | ||
312 | width: 48%; | ||
313 | } | ||
314 | } | ||