aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-29 22:57:03 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 16:58:20 +0800
commit5294c31997a20e4ff9daf25b62f5b78e42419daf (patch)
treeb8942c3c10310754527220b27de58aa42b4d35c4 /packages
parentb461147389537b4808c60bcd3206e6dfce76f017 (diff)
downloaddexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar.gz
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar.bz2
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar.lz
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar.xz
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.tar.zst
dexon-sol-tools-5294c31997a20e4ff9daf25b62f5b78e42419daf.zip
Format styles
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx28
1 files changed, 19 insertions, 9 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx
index 0775813d9..660832c60 100644
--- a/packages/website/ts/@next/constants/globalStyle.tsx
+++ b/packages/website/ts/@next/constants/globalStyle.tsx
@@ -1,11 +1,11 @@
-import { createGlobalStyle } from 'styled-components';
-import { cssReset } from 'ts/@next/constants/cssReset';
-import { colors } from 'ts/style/colors';
+import {createGlobalStyle} from 'styled-components';
+import {cssReset} from 'ts/@next/constants/cssReset';
+import {colors} from 'ts/style/colors';
-// Not sure if cssReset is already imported into index.tsx
-// Also: currently createglobalStyle from styled-components is
-// throwing a warning about how there's not typing exported from styled-comps
-const GlobalStyles = createGlobalStyle`
+// Not sure if cssReset is already imported into index.tsx Also: currently
+// createglobalStyle from styled-components is throwing a warning about how
+// there's not typing exported from styled-comps
+const GlobalStyles = createGlobalStyle `
${cssReset};
@font-face {
@@ -32,7 +32,17 @@ const GlobalStyles = createGlobalStyle`
-webkit-font-smoothing: antialiased;
color: #fff;
}
-`;
+ .visuallyHidden {
+ position: absolute !important;
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
+ clip: rect(1px, 1px, 1px, 1px);
+ padding:0 !important;
+ border:0 !important;
+ height: 1px !important;
+ width: 1px !important;
+ overflow: hidden;
+ }
+`;
-export { GlobalStyles }
+export {GlobalStyles};