Skip to content

Commit

Permalink
๐Ÿ’„ ์ฝ”๋“œํˆฌ๊ฒŒ๋” ๊ต์œก๊ณผ์ • ์Šคํƒ€์ผ ๊ฐœ์„ 
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLhead committed Sep 5, 2024
1 parent 330e430 commit de53a2a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/pageComponents/code-together/Course/Course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,19 @@ const TitleWrapper = styled.div`

const CourseListWrapper = styled.div`
width: 100%;
margin-top: 4rem;
padding: 8rem 0 16rem 0;
background-color: ${({ theme: { color } }) => color.surface.offWhite1};
@media ${({ theme }) => theme.device.mobile} {
padding: 4.8rem 0 5.6rem 0;
}
@media ${({ theme }) => theme.device.tablet} {
padding: 4.8rem 0 13.6rem 0;
}
@media ${({ theme }) => theme.device.desktop} {
padding: 8rem 0 16rem 0;
}
`;

const CourseList = styled.ul`
margin: 0 auto 6.4rem auto;
background-color: ${({ theme: { color } }) => color.surface.offWhite1};
display: flex;
flex-flow: row wrap;
& > *:nth-child(2n - 1) {
Expand All @@ -95,13 +100,14 @@ const CourseList = styled.ul`
@media ${({ theme }) => theme.device.mobile} {
flex-direction: column;
margin-bottom: 3.2rem;
padding: 0 2.4rem;
& > *:not(:last-child) {
margin-bottom: 2.4rem;
}
}
@media ${({ theme }) => theme.device.tablet} {
flex-direction: column;
padding: 8rem;
padding: 0 8rem;
& > *:not(:last-child) {
margin-bottom: 3.2rem;
}
Expand Down

0 comments on commit de53a2a

Please sign in to comment.