Skip to content
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

[www] Refactor Homepage and Navigation & convert diagram to html/css #1605

Merged
merged 21 commits into from
Jul 27, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use typography rhythm for Diagram Gatsby logo and container
…and increase its size for Desktop along the way.
  • Loading branch information
Florian Kissling committed Jul 25, 2017
commit d1f7f810f5ed37828d662b9604a5f14f7729a06e
18 changes: 13 additions & 5 deletions www/src/components/diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,26 @@ const Gatsby = ({ children }) =>
<div
css={{
...borderAndBoxShadow,
padding: `1rem`,
padding: rhythm(1),
margin: `0 auto`,
width: `6.5rem`,
height: `6.5rem`,
width: rhythm(5.5),
height: rhythm(5.5),
[presets.Desktop]: {
width: rhythm(6),
height: rhythm(6),
},
}}
>
<img
src={logo}
css={{
display: `inline-block`,
height: rhythm(1.6),
width: rhythm(1.6),
height: rhythm(1.75),
width: rhythm(1.75),
[presets.Desktop]: {
width: rhythm(2.25),
height: rhythm(2.25),
},
margin: 0,
verticalAlign: `middle`,
}}
Expand Down