diff --git a/styles/Home.module.scss b/styles/Home.module.scss index 0022163..e2edf33 100644 --- a/styles/Home.module.scss +++ b/styles/Home.module.scss @@ -1,4 +1,5 @@ @import "mixins.module"; +@import "utilities.module"; .container { padding: 0 2rem; @@ -95,16 +96,3 @@ line-height: 1.5; } } - - -.srOnly { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} diff --git a/styles/utilities.module.scss b/styles/utilities.module.scss new file mode 100644 index 0000000..47a7900 --- /dev/null +++ b/styles/utilities.module.scss @@ -0,0 +1,11 @@ +.srOnly { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +}