Add hidden title to home and CV pages

This commit is contained in:
Paul Nicoué 2025-06-03 20:04:04 +02:00
parent 04d1096d2e
commit 2eec141073
6 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
// --------------------------------------------------
// A11Y
// --------------------------------------------------
@mixin visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0); // Legacy declaration for Internet Explorer
clip-path: inset(50%);
white-space: nowrap;
}

View file

@ -2,4 +2,5 @@
// ABSTRACTS (INDEX)
// --------------------------------------------------
@forward "a11y";
@forward "variables";

View file

@ -6,6 +6,10 @@
.cv {
.cv__title {
@include visually-hidden;
}
.cv__content {
display: grid;
grid-template-columns: auto 1fr;

View file

@ -6,6 +6,10 @@
.home {
.home__title {
@include visually-hidden;
}
.home__gallery {
display: flex;
flex-direction: column;