diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-07-03 13:58:34 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-07-03 13:58:34 -0700 |
commit | 06c1670ea01f19c3d44871f4b6c3032dc8e66816 (patch) | |
tree | eee885b15c623661b4879fde082512fcfcf1f3d1 /src/globals.css | |
parent | 719333ee43d690a771eb78a47f0f532adb52e101 (diff) |
Define css globals
Diffstat (limited to 'src/globals.css')
-rw-r--r-- | src/globals.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/globals.css b/src/globals.css new file mode 100644 index 0000000..fb562bc --- /dev/null +++ b/src/globals.css @@ -0,0 +1,59 @@ +@custom-media --breakpointSm (min-width: 750px); +@custom-media --breakpointMd (min-width: 970px); +@custom-media --breakpointLg (min-width: 1170px); + +:root { + --red: #F35656; + --fontColor: #ffffff; + --bgColor: #3C7BAE; + + --logoColor: #ffffff; + --logoSize { + font-size: 40vw; + @media(--breakpointSm) { + font-size: 20vw; + } + @media(--breakpointLg) { + font-size: 275px; + } + } + + --marginXs: 8px; + --marginSm: 16px; + --marginMd: 24px; + --marginLg: 48px; + + --btnFontSize: { + font-size: 1em; + @media(--breakpointSm) { + font-size: 1.6vw; + } + } + --btnBorder: 0.5px solid #ffffff; + --borderRadiusBtn: 6px; + --btnPaddingVertical: 10px; + --btnPaddingHorziontal: 10px; + --btnPadding: { + padding: 2vw 4vw; + @media(--breakpointLg) { + padding: 1vw 2vw; + } + } + + --hoverTransition { + transition: 0.4s cubic-bezier(0.7, 0, 0.3, 1); + } +} + +.marginMixin { + margin: var(--marginXs) 0; + @media(--breakpointSm) { + margin: var(--marginSm) 0; + } + @media(--breakpointMd) { + margin: var(--marginMd) 0; + } + @media(--breakpointLg) { + margin: var(--marginLg) 0; + } +} |