Fix exposition centering regression

This commit is contained in:
Théo Marchal 2021-01-30 18:33:11 +01:00
parent cd0f86f9a2
commit 79413bb01a
3 changed files with 6 additions and 3 deletions

View File

@ -33,7 +33,7 @@
</nav> </nav>
</header> </header>
<article> <article class="exposition">
<h1>Exposition</h1> <h1>Exposition</h1>
<div id="gallery"></div> <div id="gallery"></div>
</article> </article>

View File

@ -51,7 +51,6 @@
margin:0; margin:0;
margin-right:-3rem; margin-right:-3rem;
padding:0rem; padding:0rem;
} }
.fancybox-custom-layout .fancybox-close-small:hover { .fancybox-custom-layout .fancybox-close-small:hover {

View File

@ -199,7 +199,7 @@ article #gallery {
margin-top:0; margin-top:0;
} }
article #gallery.exposition { article.exposition #gallery {
text-align:center; text-align:center;
} }
@ -337,6 +337,10 @@ article.painting .container .metadata span.content {
/* Explorer */ /* Explorer */
article.explorer #gallery {
text-align:center;
}
article.explorer p { article.explorer p {
width:55vw; width:55vw;
margin:auto; margin:auto;