typographie · separateurs
Plusieurs styles de séparateurs (ligne simple, pointillés, avec cercle) et un exemple d'intertitre numéroté pour découper un long contenu.
Couleurs
<style>
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500&display=swap');
.bn-separators {
--bn-sep-accent: #E6E4DD;
padding: 2.5rem;
font-family: 'Inter', sans-serif;
background: #0B0F10;
display: flex;
flex-direction: column;
gap: 2rem;
}
.bn-separators__row {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.bn-separators__label {
font-size: 0.7rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #979793;
}
.bn-sep {
border: none;
margin: 0;
}
.bn-sep--line {
height: 1px;
background: rgba(230, 228, 221, 0.15);
}
.bn-sep--dotted {
height: 1px;
background-image: linear-gradient(to right, rgba(230, 228, 221, 0.3) 40%, transparent 0%);
background-position: bottom;
background-size: 8px 1px;
background-repeat: repeat-x;
}
.bn-sep--circle {
display: flex;
align-items: center;
gap: 0.75rem;
}
.bn-sep--circle span {
flex: 1;
height: 1px;
background: rgba(230, 228, 221, 0.15);
}
.bn-sep__circle {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1px solid var(--bn-sep-accent);
flex-shrink: 0;
}
/* --- Intertitre --- */
.bn-intertitre {
padding-top: 1rem;
}
.bn-intertitre__number {
display: block;
font-family: 'Bebas Neue', sans-serif;
font-size: 1.1rem;
letter-spacing: 0.06em;
color: var(--bn-sep-accent);
margin-bottom: 0.4rem;
}
.bn-intertitre__title {
font-family: 'Bebas Neue', sans-serif;
font-size: 1.6rem;
letter-spacing: 0.02em;
color: #E6E4DD;
margin: 0 0 0.5rem;
}
.bn-intertitre__text {
color: #979793;
font-size: 0.9rem;
line-height: 1.6;
margin: 0;
max-width: 480px;
}
</style>
<div class="bn-separators" data-fx-root>
<div class="bn-separators__row">
<span class="bn-separators__label">Ligne simple</span>
<hr class="bn-sep bn-sep--line" />
</div>
<div class="bn-separators__row">
<span class="bn-separators__label">Pointillés</span>
<hr class="bn-sep bn-sep--dotted" />
</div>
<div class="bn-separators__row">
<span class="bn-separators__label">Avec cercle central</span>
<div class="bn-sep bn-sep--circle">
<span></span>
<em class="bn-sep__circle"></em>
<span></span>
</div>
</div>
<div class="bn-intertitre">
<span class="bn-intertitre__number">01</span>
<h3 class="bn-intertitre__title">Une exploration permanente</h3>
<p class="bn-intertitre__text">
Chaque projet est une tentative de saisir l'invisible, de donner forme
à ce qui n'a pas encore de nom.
</p>
</div>
</div>