Skip to content

Commit

Permalink
minor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lukethacoder committed Nov 28, 2018
1 parent ea463e1 commit 525aae1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/box/box.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ import styled from 'styled-components';

export const Container = styled.div`
padding: 2rem 4rem;
max-width: 700px;
max-width: 1080px;
margin: 0 auto;
min-height: 250px;
display: flex;
align-items: center;
`;
3 changes: 2 additions & 1 deletion src/components/header/header.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const Container = styled.header`
justify-content: space-between;
align-items: center;
padding: 4rem;
max-width: 1080px;
margin: 0 auto;
a {
color: #757575;
transition: color 0.2s ease;
Expand Down
5 changes: 4 additions & 1 deletion src/components/title/title.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import styled from 'styled-components';
import MEDIA from 'helpers/mediaTemplates';

export const Text = styled.span`
display: block;
/* display: block; */
@media (min-width: 750px) {
max-width: 650px;
}
font-weight: ${({ size }) => () => {
switch (size) {
case 'large':
Expand Down

0 comments on commit 525aae1

Please sign in to comment.