Skip to content

Commit

Permalink
chore: add back previous mobile style, general aesthetic updates
Browse files Browse the repository at this point in the history
* keeping mobile the way it was before so that it is unaffected by
all the recent changes in this branch.
* add box shadow & border to the header
* move padding to be only for desktop display
* remove box-shadow on header in dark mode
  • Loading branch information
moonlight-komorebi committed Oct 29, 2021
1 parent 387859a commit 4ca9cf2
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/templates/QuickstartDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,14 @@ const QuickstartDetails = ({ data, location }) => {
css={css`
border-bottom: none;
display: grid;
grid-template-areas:
'logo title cta'
'logo summ cta';
grid-column-gap: 1rem;
grid-row-gap: 1rem;
grid-template-areas:
'title logo'
'summ logo'
'cta logo';
justify-content: normal;
justify-self: center;
padding-bottom: 8px;
padding-top: 8px;
row-gap: 1rem;
width: 101%;
Expand All @@ -129,10 +128,21 @@ const QuickstartDetails = ({ data, location }) => {
@media (min-width: 760px) {
background: var(--primary-background-color);
border: 1px solid var(--border-color);
border-radius: 0.25rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
grid-template-areas:
'logo title cta'
'logo summ cta';
padding: 8px 0;
position: sticky;
top: var(--global-header-height);
z-index: 80;
}
.dark-mode & {
box-shadow: none;
}
`}
>
{quickstart.logoUrl && (
Expand Down

0 comments on commit 4ca9cf2

Please sign in to comment.