Skip to content

Commit

Permalink
Merge pull request #17 from BiscuiTech/develop
Browse files Browse the repository at this point in the history
Fixed Overlay display
  • Loading branch information
BiscuiTech authored Jan 27, 2020
2 parents d214428 + d9c4b4f commit fb3bc8a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
9 changes: 7 additions & 2 deletions src/components/Overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const OverlayPane = styled(animated.div)`
hsl(187, 71%, 50%) 50%,
hsl(34, 100%, 50%) 100%
);
display: flex;
flex-direction: column;
background-size: 300%;
animation: overlay-animation 4s infinite alternate;
@keyframes overlay-animation {
Expand All @@ -43,8 +45,8 @@ const LinkBox = styled.div`
display: flex;
flex-direction: column;
margin: auto;
width: 100%;
height: 100%;
/* width: 100%;
height: 100%; */
justify-content: center;
`;

Expand All @@ -62,6 +64,9 @@ const StyledLink = styled.a`
font-style: ${props => (props.current === true ? 'italic' : 'black')};
color: ${props => (props.current === true ? 'hsla(0, 0%, 90%,1) ' : 'white')};
font-weight: ${props => (props.current === true ? 400 : '200')};
@media (max-height: 500px) {
margin: 8px auto;
}
:after {
position: absolute;
left: 0;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Socials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';
import styled from 'styled-components';

const SocialsContainer = styled.div`
bottom: 0;
position: absolute;
/* bottom: 0;
position: absolute; */
margin: auto;
width: 100%;
margin: auto;
Expand Down
20 changes: 15 additions & 5 deletions src/components/Who.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ const WhoWrapper = styled.div`
const Img = styled.div`
grid-area: image;
align-self: center;
width: 480px;
height: 480px;
width: 100%;
max-width: 480px;
height: 100%;
max-height: 480px;
border-radius: 50%;
vertical-align: middle;
/* position: relative; */
overflow: hidden;
margin: auto;
margin-right: 24px;
img {
margin: 0 auto;
margin-top: -20%;
Expand All @@ -35,9 +38,16 @@ const Img = styled.div`
width: 100%;
}
@media (max-width: 900px) {
width: 88px;
height: 88px;
margin: 10% 24px 24px 24px;
width: 240px;
height: 240px;
margin: 10% 12px 6px 0px;
align-self: start;
float: left;
}
@media (max-width: 620px) {
width: 140px;
height: 140px;
margin: 10% 12px 6px 0px;
align-self: start;
float: left;
}
Expand Down

1 comment on commit fb3bc8a

@vercel
Copy link

@vercel vercel bot commented on fb3bc8a Jan 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.