-
Notifications
You must be signed in to change notification settings - Fork 18
Updated smaller footer #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
9b59c59
1040048
cfc5ed3
2f6f360
3fe6735
124a7f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ export const footerContainer = css` | |
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
height: ${spacing(37.5)}; | ||
padding: ${spacing(2.5)} ${spacing(12.5)}; | ||
height: ${spacing(20.5)}; | ||
padding: ${spacing(2)} ${spacing(12.5)}; | ||
background-color: ${color.secondary}; | ||
@media (max-width: ${breakpoints.values.md}px) { | ||
padding: ${spacing(2.5)} ${spacing(5)} ${spacing(3.75)} ${spacing(5)}; | ||
|
@@ -54,7 +54,8 @@ export const bottomContainer = css` | |
`; | ||
|
||
export const lemoncodeIcon = css` | ||
height: ${spacing(12.5)}; | ||
height: ${spacing(12)}; | ||
|
||
padding-bottom: ${spacing(1)} | ||
`; | ||
|
||
export const iconContainer = css` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -569,8 +569,8 @@ form textarea { | |
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
height: 30rem; | ||
padding: 2rem 10rem; | ||
height: 16rem; | ||
padding: 0rem 10rem; | ||
|
||
background-color: var(--color-dark); | ||
} | ||
|
||
|
@@ -604,8 +604,15 @@ form textarea { | |
} | ||
|
||
.footer__logo { | ||
height: 10rem; | ||
width: 11.2rem; | ||
height: 9rem; | ||
width: 10.2rem; | ||
} | ||
|
||
@media only screen and (max-width: 728px) { | ||
.footer__logo { | ||
height: 9rem; | ||
width: 8.5rem; | ||
} | ||
|
||
} | ||
|
||
.footer__list { | ||
|
@@ -660,8 +667,8 @@ form textarea { | |
top: 0.8rem; | ||
right: 1.6rem; | ||
fill: var(--color-light); | ||
height: 10rem; | ||
width: 10rem; | ||
height: 8rem; | ||
width: 8rem; | ||
|
||
} | ||
|
||
.footer__icon-list { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think is not a good idea you use these properties in the container and each container element, don't necessary and are confusing. This is my propsed CSS for your analysis and study. :-)
`import { css } from 'emotion';
import { theme } from 'core/theme';
const { palette, spacing, breakpoints } = theme;
const color = palette.customPalette;
export const footerContainer = css
display: flex; flex-direction: column; justify-content: space-between; background-color: ${color.secondary};
;// you have change the name in footer.component.tsx
export const logoContainer = css
display: flex; justify-content: center; align-items: center;
;export const bottomContainer = css
display: flex; justify-content: space-between; padding: ${spacing(3)}; border-top: 1px solid ${color.primary}; @media (max-width: ${breakpoints.values.md}px) { flex-direction: column; justify-content: center; align-items: center; }
;export const lemoncodeIcon = css
max-width: 100px; padding: ${spacing(3)} 0;
;export const iconContainer = css
display: flex; justify-content: space-between; width: 50%; margin: 0; padding: 0 0 ${spacing(1)}; list-style: none; @media (min-width: ${breakpoints.values.sm}px) { width: 20%; } @media (min-width: ${breakpoints.values.lg}px) { width: 10%; }
;export const icon = css
font-size: 1.5rem; color: ${color.greyLight}; &:hover { cursor: pointer; color: ${color.primary}; }
;export const githubIcon = css
height: ${spacing(2.75)}; fill: ${color.greyLight}; &:hover { cursor: pointer; fill: ${color.primary}; }
;export const copyright = css
color: ${color.greyLight}; @media (max-width: ${breakpoints.values.xs}px) { margin-top: ${spacing(0.8)}; }
;`