Skip to content

Commit

Permalink
Tweak showcase styles
Browse files Browse the repository at this point in the history
This pushes the black text box up and to the left to leave more space for text.
  • Loading branch information
trvrb committed Jun 12, 2024
1 parent 9f72478 commit 4bc2acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions static-site/src/components/Cards/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ export const CardOuter = styled.div<{$squashed: boolean}>`
export const CardTitle = styled.div<{$squashed: boolean}>`
font-family: ${(props) => props.theme.generalFont};
font-weight: 500;
font-size: ${(props) => props.$squashed ? "22px" : "26px"};
font-size: ${(props) => props.$squashed ? "21px" : "25px"};
@media (max-width: 768px) {
font-size: 22px;
}
position: absolute;
border-radius: 3px;
padding: 10px 20px 10px 20px;
top: 40px;
padding: 10px 20px 10px 10px;
top: 15px;
left: 20px;
color: white;
background: rgba(0, 0, 0, 0.7);
Expand Down
2 changes: 1 addition & 1 deletion static-site/src/components/splash/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Splash = () => {
<HugeSpacer/>

<Styles.H1>
Featured resources
Featured analyses
</Styles.H1>

<BigSpacer/>
Expand Down

0 comments on commit 4bc2acc

Please sign in to comment.