Perso.css · TXT
/* --------------------------------------------------------- */
/* Feuille de style personnelle, qui surcharge Bootstrap 5.2 */
/* --------------------------------------------------------- */





/* Fonts (old)
@font-face {
    font-family: 'futuracondensed_extrabold';
    src: url('fonts/futura-condensedextrabold-04-webfont.woff2') format('woff2'),
         url('fonts/futura-condensedextrabold-04-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'futuracondensed_medium';
    src: url('fonts/futura-condensedmedium-03-webfont.woff2') format('woff2'),
         url('fonts/futura-condensedmedium-03-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'futuramedium';
    src: url('fonts/futura-medium-01-webfont.woff2') format('woff2'),
         url('fonts/futura-medium-01-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'futuramedium_italic';
    src: url('fonts/futura-mediumitalic-02-webfont.woff2') format('woff2'),
         url('fonts/futura-mediumitalic-02-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*/


/* Fonts */
@font-face {
    font-family: 'system_fontlight';
    src: url('fonts/helveticaneuedeskinterface-light-webfont.woff2') format('woff2'),
         url('fonts/helveticaneuedeskinterface-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}







/* Réglages généraux */
body {
	font-family: system_fontlight;
	font-size:1.1em;
	color: rgb(90,90,90);
	background-color: white;
	min-height: 75rem; /* Pour navbar fixed */
	padding-top: 4.5rem; /* Pour navbar fixed */
}

h1,h2 {
	font-family: system_fontlight;
}

h3 {
	font-family: system_fontlight;
}

.card-body h3 {
	font-size: 1.1em;
}

h2.spip {
	font-family: system_fontlight;
	text-transform: none;
	color: rgb(90,90,90);
	font-size:1.3em;
	border-bottom: 1px;
	border-bottom: 2px dotted;
	border-bottom: medium dashed rgb(60, 179, 113);
	margin-right:20%;
	margin-bottom:1em;
}

a {
	text-decoration: none;
}
a:hover {
	opacity: 0.7;	
}





/* Surbrillance sur les liens sur les images */
a:hover img.img-fluid {
	opacity: 0.7;
	transition: opacity 1s !important;
}
a img.img-fluid {
	opacity: 1;
	transition: opacity 1s !important;
}




/* Les trucs qui étaient de base dans le modèle de Bootstrap */
	
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
.bd-placeholder-img-lg {
  font-size: 3.5rem;
}
}

.b-example-divider {
height: 3rem;
background-color: rgba(0, 0, 0, .1);
border: solid rgba(0, 0, 0, .15);
border-width: 1px 0;
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
flex-shrink: 0;
width: 1.5rem;
height: 100vh;
}

.bi {
vertical-align: -.125em;
fill: currentColor;
}

.nav-scroller {
position: relative;
z-index: 2;
height: 2.75rem;
overflow-y: hidden;
}

.nav-scroller .nav {
display: flex;
flex-wrap: nowrap;
padding-bottom: 1rem;
margin-top: -1px;
overflow-x: auto;
text-align: center;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}



/* Citations */
blockquote {
	padding:2em;
	margin-left:15%;
	margin-right:15%;
	margin-top:2em;
	margin-bottom:2em;
	border-left: 1em solid rgb(60, 179, 113);
	background-color: rgb(240, 240, 240);
	border-radius: 3em;
	font-family:classical_garamond_bold;
	font-size
}


/* Images dans les articles */
.media img {
	width:100%;
	height:auto;
}





/* Navbar */
.navbar a {
	color: white;
}

.navbar a:hover {
	color: white;
	opacity: 0.5;
}

.navbar-brand {
	font-family: system_fontlight;
}
@media (max-width: 768px) { /* Pour réduire la taille de la police sur écran de téléphone, et que le burger reste à droite */
	.navbar-brand {
		font-size: 1em;
	}
}
a.navbar-brand {
	color: rgb(0,157,224) !important;
}
a:hover.navbar-brand {
	color: rgb(243,121,88) !important;
}
.navbar-nav {
	font-family: system_fontlight;
}

.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
.bd-placeholder-img-lg {
  font-size: 3.5rem;
}
}

.b-example-divider {
height: 3rem;
background-color: rgba(0, 0, 0, .1);
border: solid rgba(0, 0, 0, .15);
border-width: 1px 0;
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
flex-shrink: 0;
width: 1.5rem;
height: 100vh;
}

.bi {
vertical-align: -.125em;
fill: currentColor;
}

.nav-scroller {
position: relative;
z-index: 2;
height: 2.75rem;
overflow-y: hidden;
}

.nav-scroller .nav {
display: flex;
flex-wrap: nowrap;
padding-bottom: 1rem;
margin-top: -1px;
overflow-x: auto;
text-align: center;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}

a.courante {
	color: rgb(90,90,90);
}





/* Page d'accueil : photo plein écran, affichée entière */
.hero-accueil {
	width: 100%;
	text-align: center;
	background-color: #ffffff;
}

.hero-accueil-img {
	max-width: 100%;
	max-height: calc(100vh - 4.5rem); /* moins la hauteur de la navbar fixe */
	width: auto;
	height: auto;
	display: inline-block;
}

.hero-accueil-caption {
	text-align: center;
	margin: 0.5rem 0 3em 0;
	width: 100%;
}

.hero-accueil-caption h2 {
	font-size: 1.15em;
	margin: 0;
	color: rgb(90,90,90);
	font-weight: normal;
}

@media (max-width: 768px) {
	.hero-accueil-img {
		max-height: calc(70vh - 4.5rem);
	}
	.hero-accueil-caption {
		margin: 0.25rem 0 2em 0;
	}
	.hero-accueil-caption h2 {
		font-size: 0.55em;
	}
}


/* Légende du titre sur la page article, sous la photo */
.article-caption {
	text-align: center;
	margin: 1rem 0;
	width: 100%;
}
.article-caption h2 {
	font-size: 1.15em;
	margin: 0;
	color: rgb(90,90,90);
	font-weight: normal;
}
 
/* Navigation précédent / suivant entre articles : flèches ancrées sur l'écran */
.nav-oeuvre-fleche {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2.5em;
	line-height: 1;
	color: rgb(90,90,90) !important;
	z-index: 50;
	text-decoration: none;
	padding: 0.2em 0.4em;
}
.nav-oeuvre-fleche:hover {
	color: rgb(90,90,90) !important;
	opacity: 0.5;
}
.nav-oeuvre-gauche {
	left: 0.5rem;
}
.nav-oeuvre-droite {
	right: 0.5rem;
}
@media (max-width: 768px) {
	.nav-oeuvre-fleche {
		font-size: 1.6em;
	}
}
 
/* Vignettes carrées uniformes : image entière, centrée, sans rognage */
.vignette-carre {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.vignette-carre img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}
 
/* Toutes les images dans le corps de texte (article ou rubrique), quelle que soit leur origine */
.corps-texte img {
	max-width: 100%;
	max-height: 85vh;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto 1em auto;
}
 
/* Menu principal : sous-menu déroulant au survol */
.menu-avec-sous-menu {
	position: relative;
}
.menu-avec-sous-menu .sous-menu-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	min-width: 210px;
	padding: 0.4em 0;
	margin: 0;
	list-style: none;
	z-index: 1100;
	text-align: left;
}
.menu-avec-sous-menu:hover .sous-menu-nav {
	display: block;
}
.sous-menu-nav li {
	padding: 0;
}
.sous-menu-nav a {
	display: block;
	padding: 0.5em 1.2em;
	color: rgb(90,90,90);
	white-space: nowrap;
}
.sous-menu-nav a:hover {
	background-color: #f5f5f5;
	opacity: 1;
}
@media (max-width: 992px) {
	/* Sur mobile (menu burger déroulé), le sous-menu s'affiche en ligne plutôt qu'en superposition */
	.menu-avec-sous-menu .sous-menu-nav {
		display: block;
		position: static;
		box-shadow: none;
		border: none;
		border-left: 2px solid #eee;
		margin-left: 1em;
	}
}
 
/* Icône Instagram de la navbar : socle blanc pour ressortir sur fond rouge */
.icone-instagram-socle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	margin-right: 8px;
}
.icone-instagram-socle img {
	height: 22px;
	width: 22px;
}
 
/* Footer */
footer {
	color: rgb(90,90,90);
	margin-top:2em;
	padding-top:1em;
	border-top : 3px solid;
	
}
footer a {
	color: rgb(90,90,90);
}
footer a:hover {
	color: rgb(90,90,90);
	opacity: 0.5;
}
a .liens_noirs { /* Pour que les textes de lien soient noirs */
	color: rgb(90,90,90);
}


/* Header */
header a {
	color: rgb(90,90,90);
}
header a:hover {
	color: rgb(90,90,90);
	opacity: 0.5;
}

/* Fil d'Ariane : sous-menu déroulant au survol */
.breadcrumb-item {
	position: relative;
}
.breadcrumb-item .sous-menu-ariane {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	min-width: 200px;
	padding: 0.4em 0;
	margin: 0;
	list-style: none;
	z-index: 200;
	text-align: left;
}
.breadcrumb-item:hover .sous-menu-ariane {
	display: block;
}
.sous-menu-ariane li {
	padding: 0;
}
.sous-menu-ariane a {
	display: block;
	padding: 0.4em 1em;
	color: rgb(90,90,90);
	white-space: nowrap;
}
.sous-menu-ariane a:hover {
	background-color: #f5f5f5;
	opacity: 1;
}
