Exposition details in all concerned pages, converted to flexbox for design flexibility
This commit is contained in:
		@@ -38,7 +38,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <article class="explorer">
 | 
					    <article class="explorer">
 | 
				
			||||||
        <h1>Explorer</h1>
 | 
					        <h1>Explorer</h1>
 | 
				
			||||||
        <p>Cette section du site permet de générer une <img width="14rem" src="styles/icons/list.svg" alt="liste"> liste (aussi visible sous le format d'une <img width="16.5rem" src="styles/icons/frame.svg" alt="galerie"> galerie) en fonction de différents paramètres, listés ci-dessous. Il permet d'explorer l'œuvre de Ginou, y compris les tableaux dont nous ne possédons pas de photo.<br>
 | 
					        <p class="intro">Cette section du site permet de générer une <img width="14rem" src="styles/icons/list.svg" alt="liste"> liste (aussi visible sous le format d'une <img width="16.5rem" src="styles/icons/frame.svg" alt="galerie"> galerie) en fonction de différents paramètres, listés ci-dessous. Il permet d'explorer l'œuvre de Ginou, y compris les tableaux dont nous ne possédons pas de photo.<br>
 | 
				
			||||||
        En mode <img width="14rem" src="styles/icons/list.svg" alt="liste"> liste, l'icône <img width="16.5rem" src="styles/icons/eye-black.svg" alt="œil"> œil permet de voir le tableau en grand ; en mode <img width="16.5rem" src="styles/icons/frame.svg" alt="galerie"> galerie, il faut cliquer sur les tableaux.<br>
 | 
					        En mode <img width="14rem" src="styles/icons/list.svg" alt="liste"> liste, l'icône <img width="16.5rem" src="styles/icons/eye-black.svg" alt="œil"> œil permet de voir le tableau en grand ; en mode <img width="16.5rem" src="styles/icons/frame.svg" alt="galerie"> galerie, il faut cliquer sur les tableaux.<br>
 | 
				
			||||||
        Une ☆ étoile vide dans la colonne photo signifie que nous n'avons pas de photo pour un tableau ; une ★ étoile qu'elle est de mauvaise qualité ; deux ★★ étoiles qu'elle est acceptable ; et trois ★★★ étoiles qu'elle est tout à fait satisfaisante.<br>
 | 
					        Une ☆ étoile vide dans la colonne photo signifie que nous n'avons pas de photo pour un tableau ; une ★ étoile qu'elle est de mauvaise qualité ; deux ★★ étoiles qu'elle est acceptable ; et trois ★★★ étoiles qu'elle est tout à fait satisfaisante.<br>
 | 
				
			||||||
        Le symbole <img width="5rem" src="styles/icons/exclamation-mark.svg" alt="double point d'exclamation"> dans la colonne aide signifie que nous avons besoin d'aide pour obtenir une photo et que <a href="informations.html">vous pouvez contribuer</a>.<br>
 | 
					        Le symbole <img width="5rem" src="styles/icons/exclamation-mark.svg" alt="double point d'exclamation"> dans la colonne aide signifie que nous avons besoin d'aide pour obtenir une photo et que <a href="informations.html">vous pouvez contribuer</a>.<br>
 | 
				
			||||||
@@ -210,7 +210,7 @@
 | 
				
			|||||||
                </tr>
 | 
					                </tr>
 | 
				
			||||||
            </thead>
 | 
					            </thead>
 | 
				
			||||||
        </table>
 | 
					        </table>
 | 
				
			||||||
        <p class="result" class="center"></p>
 | 
					        <p class="result center"></p>
 | 
				
			||||||
    </article>
 | 
					    </article>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
@@ -452,16 +452,21 @@ jQuery(document).ready(function($)
 | 
				
			|||||||
                $("table").append(result);
 | 
					                $("table").append(result);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                // gallery
 | 
					                // gallery
 | 
				
			||||||
 | 
					                paintingHtml = '<div class="gallery-item">';
 | 
				
			||||||
                if (i.photo == "none")
 | 
					                if (i.photo == "none")
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    paintingHtml = '<a data-fancybox="exposition" href="images/unknown.jpg" data-fancybox-index="' + i.number + '">'
 | 
					                    paintingHtml += '<a data-fancybox="exposition" href="images/unknown.jpg" data-fancybox-index="' + i.number + '">'
 | 
				
			||||||
                    paintingHtml += '<img src="images/unknown.jpg" alt="Tableau ' + i.number + '"></a>'
 | 
					                    paintingHtml += '<img src="images/unknown.jpg" alt="Tableau ' + i.number + '"></a>'
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                else
 | 
					                else
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    paintingHtml = '<a data-fancybox="exposition" href="photos/paintings/normal/' + i.number + '.jpg" data-fancybox-index="' + i.number + '">'
 | 
					                    paintingHtml += '<a data-fancybox="exposition" href="photos/paintings/normal/' + i.number + '.jpg" data-fancybox-index="' + i.number + '">'
 | 
				
			||||||
                    paintingHtml += '<img src="photos/paintings/mini/' + i.number + '.jpg" alt="Tableau ' + i.number + '"></a>'
 | 
					                    paintingHtml += '<img src="photos/paintings/mini/' + i.number + '.jpg" alt="Tableau ' + i.number + '"></a>'
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					                paintingHtml += '<span class="item-title">' + i.title;
 | 
				
			||||||
 | 
					                if (i.year != '—')
 | 
				
			||||||
 | 
					                    paintingHtml += ' (' + i.year + ')';
 | 
				
			||||||
 | 
					                paintingHtml += '</span></div>';
 | 
				
			||||||
                $(".gallery").append(paintingHtml);
 | 
					                $(".gallery").append(paintingHtml);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            $(".explorer .result").append("La recherche donne un résultat de <strong>" + numberOfItem + " élément" + (numberOfItem > 1 ? "s" : "") + "</strong>.");
 | 
					            $(".explorer .result").append("La recherche donne un résultat de <strong>" + numberOfItem + " élément" + (numberOfItem > 1 ? "s" : "") + "</strong>.");
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -204,8 +204,12 @@ article.main p.signature {
 | 
				
			|||||||
/* Exposition */
 | 
					/* Exposition */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
article .gallery {
 | 
					article .gallery {
 | 
				
			||||||
    display:inline-block;
 | 
					 | 
				
			||||||
    position:relative;
 | 
					    position:relative;
 | 
				
			||||||
 | 
					    display:flex;
 | 
				
			||||||
 | 
					    flex-direction:row;
 | 
				
			||||||
 | 
					    justify-content:space-around;
 | 
				
			||||||
 | 
					    align-self:flex-end;
 | 
				
			||||||
 | 
					    flex-wrap:wrap;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    margin:auto;
 | 
					    margin:auto;
 | 
				
			||||||
    margin-top:0;
 | 
					    margin-top:0;
 | 
				
			||||||
@@ -378,7 +382,7 @@ article.explorer .gallery {
 | 
				
			|||||||
    text-align:center;
 | 
					    text-align:center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
article.explorer p {
 | 
					article.explorer p.intro {
 | 
				
			||||||
    width:55vw;
 | 
					    width:55vw;
 | 
				
			||||||
    margin:auto;
 | 
					    margin:auto;
 | 
				
			||||||
    margin-bottom:2rem;
 | 
					    margin-bottom:2rem;
 | 
				
			||||||
@@ -606,6 +610,14 @@ article.explorer table .photo {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Divers */
 | 
					/* Divers */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					article.divers .gallery {
 | 
				
			||||||
 | 
					    justify-content:flex-start;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					article.divers .gallery img {
 | 
				
			||||||
 | 
					    margin:0.7rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
article #stats {
 | 
					article #stats {
 | 
				
			||||||
    margin-top:2.5rem;
 | 
					    margin-top:2.5rem;
 | 
				
			||||||
    margin-bottom:1.5rem;
 | 
					    margin-bottom:1.5rem;
 | 
				
			||||||
@@ -621,7 +633,13 @@ article #stats .stat {
 | 
				
			|||||||
    margin-left:4vw;
 | 
					    margin-left:4vw;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media only screen and (max-width:1000px) {
 | 
					@media only screen and (max-width:600px) {
 | 
				
			||||||
 | 
					    article.divers .gallery {
 | 
				
			||||||
 | 
					        justify-content:center;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@media only screen and (max-width:1000px) {    
 | 
				
			||||||
    article #stats {
 | 
					    article #stats {
 | 
				
			||||||
        display:block;
 | 
					        display:block;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user