Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/components/Layout/Layout.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,34 @@ export const LayoutContainer = styled.div`

export const LayoutContainerMain = styled.div`
min-height: calc(100vh - 256px);

padding: 60px 40px;

h1 {
font-size: 48px;
max-width: 900px;
margin: 0 auto;
margin-bottom: 18px;
}

@media (min-width: 768px) {
padding: 60px 40px;
h1 {
font-size: 60px;
}
}

@media (min-width: 992px) {
h1 {
font-size: 64px;
}
padding: 60px 20px;
}

@media (min-width: 1280px) {
h1 {
font-size: 72px;
}
padding: 80px 0;
}
`
11 changes: 1 addition & 10 deletions src/components/Section/HeroSection.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
import { Section } from "./Section"
import styled from "styled-components"

export const HeroSection = styled(Section)`
padding: 80px 0;

h1 {
font-size: 72px;
max-width: 900px;
margin: 0 auto;
margin-bottom: 18px;
}
`
export const HeroSection = styled(Section)``
Empty file added src/styles/global.css
Empty file.