From a4b2e766936937cf36ef51e747a8f03a24db3453 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 24 Oct 2018 15:07:35 +0200 Subject: [PATCH] scss/definitions: Don't show screen reader text on screen --- scss/_definitions.scss | 8 ++++++++ style.css | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/scss/_definitions.scss b/scss/_definitions.scss index 400ddb9..b0719e9 100644 --- a/scss/_definitions.scss +++ b/scss/_definitions.scss @@ -79,3 +79,11 @@ $color-font: #444; &-info { @include background-color($color-info, #FFF); } &-success { @include background-color($color-success, #FFF); } } + +/* 1.3 - Screen Reader */ + +@media screen { + .screen-reader-text { + display: none; + } +} diff --git a/style.css b/style.css index 5fcd271..48e0a83 100644 --- a/style.css +++ b/style.css @@ -110,6 +110,11 @@ background-color: #75b82d !important; color: #FFF; } +/* 1.3 - Screen Reader */ +@media screen { + .screen-reader-text { + display: none; } } + /* * 2 - Typography ( _typography.scss ) *