361 lines
5.9 KiB
CSS
361 lines
5.9 KiB
CSS
@font-face {
|
|
font-family:Rubik;
|
|
src:url('fonts/Rubik-VariableFont_wght.ttf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family:HotAugust;
|
|
src:url('fonts/hot-august-night.medium.ttf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family:Commissioner;
|
|
src:url('fonts/Commissioner-VariableFont_wght.ttf');
|
|
}
|
|
|
|
body {
|
|
text-align:center;
|
|
margin:auto;
|
|
display:block;
|
|
font-family:'Rubik', Helvetica;
|
|
}
|
|
|
|
a {
|
|
color:#38686A;
|
|
text-decoration:none;
|
|
}
|
|
|
|
header {
|
|
border-top:.2rem solid #187795;
|
|
box-shadow:0 .4rem .4rem 0 rgba(0,0,0,.04);
|
|
border-bottom:.1rem solid #eff0f3;
|
|
margin-bottom:1.5rem;
|
|
}
|
|
|
|
header nav ul {
|
|
padding:0;
|
|
margin:0.6rem;
|
|
}
|
|
|
|
header nav ul li {
|
|
display:inline;
|
|
list-style-type:none;
|
|
margin:0 2.8rem;
|
|
padding:0;
|
|
}
|
|
|
|
header nav ul li.title {
|
|
font-weight:bold;
|
|
font-size:1.8rem;
|
|
font-family:'HotAugust', 'Comic Sans MS';
|
|
color:#187795;
|
|
}
|
|
|
|
header nav ul li a:hover,
|
|
header nav ul li.selected a {
|
|
color:#2589BD;
|
|
}
|
|
|
|
header nav ul li a {
|
|
padding:0;
|
|
}
|
|
|
|
@media only screen and (min-width:500px) and (max-width: 1200px) {
|
|
header nav ul li.title {
|
|
display:block;
|
|
margin-bottom:0.5rem;
|
|
}
|
|
|
|
header nav ul li {
|
|
margin:0 1rem;
|
|
}
|
|
}
|
|
|
|
header nav .mobile-menu-open,
|
|
header nav .mobile-menu-close {
|
|
display:none;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
header nav {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
header nav .mobile-menu-open {
|
|
display:block;
|
|
position:absolute;
|
|
right:1rem;
|
|
font-size:1.5rem;
|
|
cursor:pointer;
|
|
}
|
|
|
|
header nav.active .mobile-menu-open {
|
|
display:none;
|
|
}
|
|
|
|
header nav.active .mobile-menu-close {
|
|
display:block;
|
|
position:absolute;
|
|
right:1rem;
|
|
font-size:1.5rem;
|
|
cursor:pointer;
|
|
}
|
|
|
|
header nav.active .mobile-menu-close span {
|
|
}
|
|
|
|
|
|
header nav ul li {
|
|
display:none;
|
|
}
|
|
|
|
header nav.active ul li {
|
|
display:block;
|
|
font-size:1.2rem;
|
|
padding:0.2rem;
|
|
}
|
|
|
|
header nav.active ul li:nth-child(2) {
|
|
padding-top:1rem;
|
|
}
|
|
|
|
header nav ul li.title {
|
|
font-size:1.8rem;
|
|
}
|
|
|
|
header nav ul li.title {
|
|
display:inline;
|
|
}
|
|
}
|
|
|
|
article {
|
|
width:85vw;
|
|
margin:auto;
|
|
display:block;
|
|
text-align:left;
|
|
}
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
article {
|
|
width:95vw;
|
|
}
|
|
}
|
|
|
|
article h1 {
|
|
text-align:center;
|
|
}
|
|
|
|
article p {
|
|
font-family: 'Commissioner', Helvetica;
|
|
}
|
|
|
|
article.main {
|
|
width:55vw;
|
|
text-align:justify;
|
|
}
|
|
|
|
article.main img {
|
|
margin:auto;
|
|
max-width:30vw;
|
|
text-align:center;
|
|
display:block;
|
|
}
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
/*@media only screen and (max-width: 1000px) {*/
|
|
article.main {
|
|
width:85vw;
|
|
}
|
|
|
|
article.main img {
|
|
max-width:85vw;
|
|
}
|
|
}
|
|
|
|
article.main p.signature {
|
|
margin-top:2rem;
|
|
margin-bottom:2rem;
|
|
font-style:italic;
|
|
}
|
|
|
|
|
|
/* Exposition */
|
|
|
|
article #gallery {
|
|
display:inline-block;
|
|
position:relative;
|
|
|
|
margin:auto;
|
|
margin-top:0;
|
|
text-align:center;
|
|
}
|
|
|
|
article #gallery img {
|
|
max-height:30vh;
|
|
max-width:40vw;
|
|
margin:0.5rem;
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
article #gallery img {
|
|
max-height:85vh;
|
|
max-width:85vw;
|
|
}
|
|
}
|
|
|
|
|
|
/* Cartel (expo & painting) */
|
|
|
|
#info {
|
|
width:300px;
|
|
max-width:70vw;
|
|
box-shadow:.2rem .2rem .2rem .2rem rgba(0,0,0,.1);
|
|
padding:0.65rem 1.15rem 0.65rem 1.15rem;
|
|
position:relative;
|
|
display:block;
|
|
text-align:left;
|
|
margin:auto;
|
|
margin-bottom:1.5rem;
|
|
}
|
|
|
|
#info .info {
|
|
font-size:1.2rem;
|
|
position:absolute;
|
|
top:0.4rem;
|
|
right:1rem;
|
|
font-family:monospace;
|
|
}
|
|
|
|
#info .title {
|
|
font-weight:bold;
|
|
font-style:italic;
|
|
margin-right:0.65rem;
|
|
}
|
|
|
|
#info .format {
|
|
display:block;
|
|
margin-top:0.3rem;
|
|
margin-bottom:1.15rem;
|
|
}
|
|
|
|
#info .comment {
|
|
display:block;
|
|
}
|
|
|
|
|
|
/* Painting */
|
|
|
|
article.painting .container {
|
|
display:flex;
|
|
flex-direction:row;
|
|
justify-content:center;
|
|
align-self: flex-end;
|
|
position:relative;
|
|
margin-bottom:1.8rem;
|
|
}
|
|
|
|
article.painting .container img {
|
|
max-height:75vh;
|
|
max-width:85vw;
|
|
display:block;
|
|
text-align:center;
|
|
margin:auto;
|
|
}
|
|
|
|
article.painting .container ul.metadata {
|
|
width:15vw;
|
|
display:block;
|
|
margin:auto;
|
|
margin-left:0;
|
|
position:absolute;
|
|
bottom:0;
|
|
list-style-type: square;
|
|
}
|
|
|
|
article.painting .container .metadata span.title {
|
|
font-variant:small-caps;
|
|
}
|
|
|
|
article.painting .container .metadata span.content {
|
|
font-size:0.9em;
|
|
}
|
|
|
|
@media only screen and (min-width:800px) and (max-width: 1200px) {
|
|
article.painting .container {
|
|
display:block;
|
|
}
|
|
|
|
article.painting .container ul.metadata {
|
|
position:relative;
|
|
columns:3;
|
|
width:80vw;
|
|
margin:auto;
|
|
margin-top:1rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width:800px) {
|
|
article.painting .container {
|
|
display:block;
|
|
}
|
|
|
|
article.painting .container ul.metadata {
|
|
position:relative;
|
|
columns:2;
|
|
width:80vw;
|
|
margin:auto;
|
|
margin-top:1rem;
|
|
}
|
|
}
|
|
|
|
|
|
/* Divers */
|
|
|
|
article #stats {
|
|
margin-top:2.5rem;
|
|
margin-bottom:1.5rem;
|
|
|
|
display:flex;
|
|
flex-direction:row;
|
|
justify-content:center;
|
|
}
|
|
|
|
article #stats #stat {
|
|
width:28vw;
|
|
margin-right:4vw;
|
|
margin-left:4vw;
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
article #stats {
|
|
display:block;
|
|
}
|
|
|
|
article #stats #stat {
|
|
width:85vw;
|
|
text-align:center;
|
|
margin:auto;
|
|
margin-top:3rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1001px) and (max-width: 1200px) {
|
|
article #stats {
|
|
display:block;
|
|
}
|
|
|
|
article #stats #stat {
|
|
width:55vw;
|
|
text-align:center;
|
|
margin:auto;
|
|
margin-top:3rem;
|
|
}
|
|
}
|
|
|
|
/* Informations */
|
|
|
|
.mail {
|
|
font-weight:bold;
|
|
font-size:1.2rem;
|
|
} |