aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/constants
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-04 23:41:01 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-04 23:41:01 +0800
commit871ec6cfbc778d3090f108fc349d4cda77a81cf6 (patch)
tree0ee036f82c42457b5a48fc87af771dd02ed9d726 /packages/website/ts/@next/constants
parent3c7dca37f5f596aa47978e3a706db7a181747d01 (diff)
downloaddexon-0x-contracts-871ec6cfbc778d3090f108fc349d4cda77a81cf6.tar.gz
dexon-0x-contracts-871ec6cfbc778d3090f108fc349d4cda77a81cf6.tar.zst
dexon-0x-contracts-871ec6cfbc778d3090f108fc349d4cda77a81cf6.zip
Adds sa bit of polish to landing page
Diffstat (limited to 'packages/website/ts/@next/constants')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx5
-rw-r--r--packages/website/ts/@next/constants/utilities.tsx1
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx
index fd9e67cb4..b22a5c6db 100644
--- a/packages/website/ts/@next/constants/globalStyle.tsx
+++ b/packages/website/ts/@next/constants/globalStyle.tsx
@@ -61,6 +61,11 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> `
color: inherit;
text-decoration: none;
}
+
+ svg + p,
+ img + p {
+ padding-top: 30px;
+ }
`);
export { GlobalStyles };
diff --git a/packages/website/ts/@next/constants/utilities.tsx b/packages/website/ts/@next/constants/utilities.tsx
index 7d9313583..35956c47b 100644
--- a/packages/website/ts/@next/constants/utilities.tsx
+++ b/packages/website/ts/@next/constants/utilities.tsx
@@ -9,6 +9,7 @@ interface PaddingSizes {
const PADDING_SIZES: PaddingSizes = {
'default': '30px',
'large': '60px',
+ 'small': '15px',
};
export const getCSSPadding = (value: number | Array<string | number>): string => {