hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit f9f8e35f09659cecfffc32f648b15bf69aa3d8a3
parent c5d644c33cdb26223cf6a0ef86dd04c8f5135eea
Author: Hugo Soucy <hugo.soucy@toumoro.com>
Date:   Wed, 21 Oct 2020 09:04:01 -0400

Add the focusable & hoverable classes

Diffstat:
Mstatic/src/css/global/_a11y.scss | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/static/src/css/global/_a11y.scss b/static/src/css/global/_a11y.scss @@ -8,4 +8,16 @@ padding:0 !important; position: absolute !important; width: 1px !important; + + &.focusable:focus, + &.hoverable:hover { + clip: auto; + height: auto !important; + margin: 0 !important; + overflow: visible; + padding: 0 !important; + position: static !important; + white-space: inherit; + width: auto !important; + } }