-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
- About
-
+
+ About
+
-
- Contribute
-
+ Contribute
+
);
diff --git a/components/Header/style.js b/components/Header/style.js
index 4ad6b1e..8492fb2 100644
--- a/components/Header/style.js
+++ b/components/Header/style.js
@@ -1,6 +1,7 @@
// @flow
import styled from 'styled-components';
import { theme } from '../theme';
+import { hexa } from '../globals';
export const Container = styled.div`
display: grid;
@@ -18,10 +19,6 @@ export const Container = styled.div`
props.showHeaderShadow ? '0 4px 8px rgba(0,0,0,0.04)' : 'none'};
transition: all 0.2s ease-in-out;
- a {
- margin-left: 8px;
- }
-
@media (max-width: 968px) {
padding: 8px 16px;
grid-template-columns: 1fr 1fr;
@@ -41,6 +38,26 @@ export const ButtonRowContainer = styled.div`
justify-content: flex-end;
grid-area: actions;
align-items: center;
+
+ a {
+ margin-left: 8px;
+ }
+`;
+
+export const LogoLink = styled.a`
+ transition: all ${props => props.theme.animations.default};
+ display: inline-flex;
+ align-items: center;
+ border-radius: 6px;
+
+ &:hover {
+ transform: scale(1.2);
+ }
+ &:active, &:focus {
+ transform: scale(1.2);
+ box-shadow: 0 0 0 1px ${theme.bg.default},
+ 0 0 0 3px ${props => hexa(props.theme.text.tertiary, 0.25)};
+ }
`;
export const Label = styled.h1`
diff --git a/components/Page/style.js b/components/Page/style.js
index 20b4973..64859f9 100644
--- a/components/Page/style.js
+++ b/components/Page/style.js
@@ -1,6 +1,6 @@
// @flow
import styled from 'styled-components';
-import { tint } from '../globals';
+import { hexa, tint } from '../globals';
import { theme } from '../theme';
export const Container = styled.div`
@@ -113,8 +113,11 @@ export const ScrollToTop = styled.button`
transition: all 0.2s ease-in-out;
}
- &:active {
- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
+ &:active, &:focus {
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09),
+ 0 0 0 1px ${theme.bg.default},
+ 0 0 0 3px ${props => hexa(props.theme.brand.default, 0.5)};
+ outline: none;
transform: translateY(-2px);
transition: all 0.2s ease-in-out;
}
diff --git a/components/ShareButtons/index.js b/components/ShareButtons/index.js
index 76109f2..832d339 100644
--- a/components/ShareButtons/index.js
+++ b/components/ShareButtons/index.js
@@ -6,21 +6,21 @@ import { Container } from './style';
export default function ShareButtons() {
return (