summaryrefslogtreecommitdiffstats
path: root/sick-fits/frontend/components/styles/Title.js
diff options
context:
space:
mode:
Diffstat (limited to 'sick-fits/frontend/components/styles/Title.js')
-rw-r--r--sick-fits/frontend/components/styles/Title.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/sick-fits/frontend/components/styles/Title.js b/sick-fits/frontend/components/styles/Title.js
new file mode 100644
index 0000000..e1901ec
--- /dev/null
+++ b/sick-fits/frontend/components/styles/Title.js
@@ -0,0 +1,20 @@
+import styled from 'styled-components';
+
+const Title = styled.h3`
+ margin: 0 1rem;
+ text-align: center;
+ transform: skew(-5deg) rotate(-1deg);
+ margin-top: -3rem;
+ text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
+ a {
+ background: ${props => props.theme.red};
+ display: inline;
+ line-height: 1.3;
+ font-size: 4rem;
+ text-align: center;
+ color: white;
+ padding: 0 1rem;
+ }
+`;
+
+export default Title;