Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules\
Comment thread
20100215 marked this conversation as resolved.
Outdated

# Logs
logs
*.log
Expand Down
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)``
22 changes: 22 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.HeroSection{
padding: 80px 0;
}

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

@media(min-width: 768px){

}

@media(min-width: 992px){

}

@media(min-width: 1280px){

}
Comment thread
20100215 marked this conversation as resolved.
Outdated