diff options
Diffstat (limited to 'public/discographie.css')
-rw-r--r-- | public/discographie.css | 202 |
1 files changed, 202 insertions, 0 deletions
diff --git a/public/discographie.css b/public/discographie.css new file mode 100644 index 0000000..326cfbb --- /dev/null +++ b/public/discographie.css | |||
@@ -0,0 +1,202 @@ | |||
1 | /* public/discographie.css */ | ||
2 | |||
3 | .police_titre | ||
4 | { | ||
5 | color: #c9a068; | ||
6 | } | ||
7 | |||
8 | #multicolonnes | ||
9 | { | ||
10 | /*display: flex;*/ | ||
11 | } | ||
12 | |||
13 | aside | ||
14 | { | ||
15 | display: flex; | ||
16 | flex-direction: column; | ||
17 | align-items: flex-end; | ||
18 | font-size: 80%; | ||
19 | font-family: 'Monospace'; | ||
20 | /*margin-right: 10px;*/ | ||
21 | /*position: absolute;*/ | ||
22 | } | ||
23 | |||
24 | aside div | ||
25 | { | ||
26 | position: absolute; | ||
27 | } | ||
28 | |||
29 | #bouton_chronologie | ||
30 | { | ||
31 | width: 200px; | ||
32 | text-align: center; | ||
33 | font-size: large; | ||
34 | font-weight: bold; | ||
35 | /*text-decoration: underline;*/ | ||
36 | /*border: 1px red solid;*/ | ||
37 | margin: 13px 0 0 0; | ||
38 | } | ||
39 | |||
40 | #chronologie | ||
41 | { | ||
42 | width: 200px; | ||
43 | font-weight: bold; | ||
44 | /*padding: 5px;*/ | ||
45 | display: none; | ||
46 | z-index: 1; /* placer le menu déroulant au dessus */ | ||
47 | background-color: #9fa8d0; | ||
48 | } | ||
49 | |||
50 | #chronologie p | ||
51 | { | ||
52 | margin: 8px; | ||
53 | } | ||
54 | |||
55 | /* PC uniquement, pour les smartphones prévoir un clic | ||
56 | => :checked et une checkbox | ||
57 | => ou la balise select qui crée un menu déroulant */ | ||
58 | aside:hover #chronologie | ||
59 | { | ||
60 | display: block; | ||
61 | } | ||
62 | |||
63 | section | ||
64 | { | ||
65 | /*border: 1px red solid;*/ | ||
66 | } | ||
67 | |||
68 | h3 | ||
69 | { | ||
70 | margin-top: 45px; | ||
71 | } | ||
72 | |||
73 | form p | ||
74 | { | ||
75 | margin: 0px; | ||
76 | } | ||
77 | |||
78 | input | ||
79 | { | ||
80 | margin: 2px 0; | ||
81 | } | ||
82 | |||
83 | .boutonAlbum | ||
84 | { | ||
85 | margin-top: 45px; | ||
86 | padding-bottom: 20px; | ||
87 | border-bottom: 1px black solid; | ||
88 | } | ||
89 | .boutonAlbum a | ||
90 | { | ||
91 | padding: 2px; | ||
92 | border: 4px black groove; | ||
93 | } | ||
94 | |||
95 | article | ||
96 | { | ||
97 | margin: 5px 0px; | ||
98 | } | ||
99 | |||
100 | figure | ||
101 | { | ||
102 | margin: 0px; | ||
103 | display: inline-block; | ||
104 | } | ||
105 | |||
106 | figcaption | ||
107 | { | ||
108 | margin: 2px; | ||
109 | color: #666; | ||
110 | font-size: small; | ||
111 | font-weight: bold; | ||
112 | text-align: center; | ||
113 | } | ||
114 | |||
115 | a | ||
116 | { | ||
117 | |||
118 | display: inline-block; | ||
119 | } | ||
120 | |||
121 | article a:hover | ||
122 | { | ||
123 | border: 2px blue solid; | ||
124 | } | ||
125 | |||
126 | |||
127 | a:hover figure figcaption | ||
128 | { | ||
129 | text-decoration: underline; | ||
130 | } | ||
131 | |||
132 | @media screen and (min-width: 700px) | ||
133 | { | ||
134 | #titre | ||
135 | { | ||
136 | width: 630px; | ||
137 | height: 171px; | ||
138 | background-image: url("mouette.png"); | ||
139 | } | ||
140 | |||
141 | #contenu | ||
142 | { | ||
143 | position: relative; | ||
144 | bottom: 35px; | ||
145 | } | ||
146 | } | ||
147 | |||
148 | @media screen and (max-width: 699px) | ||
149 | { | ||
150 | #titre | ||
151 | { | ||
152 | width: 480px; | ||
153 | height: 131px; | ||
154 | background-image: url("mouette_petit.png"); | ||
155 | margin: auto; | ||
156 | } | ||
157 | |||
158 | #contenu | ||
159 | { | ||
160 | position: relative; | ||
161 | bottom: 24px; | ||
162 | } | ||
163 | } | ||
164 | |||
165 | @media screen and (max-width: 479px) | ||
166 | { | ||
167 | #titre | ||
168 | { | ||
169 | width: 320px; | ||
170 | height: 88px; | ||
171 | background-image: url("mouette_mini.png"); | ||
172 | margin: auto; | ||
173 | } | ||
174 | |||
175 | #multicolonnes | ||
176 | { | ||
177 | flex-direction: column; | ||
178 | } | ||
179 | |||
180 | aside | ||
181 | { | ||
182 | width: 320px; | ||
183 | } | ||
184 | |||
185 | #chronologie | ||
186 | { | ||
187 | display: flex; | ||
188 | |||
189 | } | ||
190 | |||
191 | #chronologie p | ||
192 | { | ||
193 | max-width: 80px; | ||
194 | margin: 2px; | ||
195 | } | ||
196 | |||
197 | #contenu | ||
198 | { | ||
199 | position: relative; | ||
200 | bottom: 15px; | ||
201 | } | ||
202 | } | ||