Skip to content

Commit

Permalink
Standardize section banner style
Browse files Browse the repository at this point in the history
  • Loading branch information
leslieyip02 committed Mar 9, 2024
1 parent 7b897c6 commit cbb8957
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
4 changes: 3 additions & 1 deletion src/pages/about/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ section {
flex-col
items-center
justify-center
p-20
px-8
md:px-20
py-20
bg-primary
text-white
;
Expand Down
28 changes: 13 additions & 15 deletions src/pages/home/AnnouncementsCard.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
.container {
@apply
flex
flex-row
max-w-full
h-[30vh]
lg:h-[30vh]
items-center
justify-center
md:justify-around
px-2
md:gap-2
@apply
flex
flex-row
max-w-full
h-[30vh]
lg:h-[30vh]
items-center
justify-center
md:justify-around
px-2
md:gap-2
;
}

;
}

.container>img {
@apply
object-cover
Expand Down Expand Up @@ -71,4 +70,3 @@
;
}


14 changes: 6 additions & 8 deletions src/pages/home/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ section {
items-center
justify-center
h-[20vh]
px-4
px-8
md:px-20
py-20
;
}

Expand All @@ -43,24 +45,20 @@ section {

.section-header>h1 {
@apply
text-4xl
md:text-5xl
lg:text-6xl
text-3xl
text-white
font-heading
font-bold
pb-4
text-center
;
}

.carousel-container {
@apply
h-[60vh]
pt-6
px-0
md:px-6
lg:px-20
overflow-hidden
pb-4
;
}

Expand Down

0 comments on commit cbb8957

Please sign in to comment.