Skip to content

Commit

Permalink
Make h1 styling consistent - reduced padding on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpiontornado committed Jun 23, 2024
1 parent 6b85c07 commit 0095983
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 41 deletions.
6 changes: 3 additions & 3 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ const About = () => {
<title>About Us | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
ABOUT US
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ const Blog = ({ posts }: BlogProps) => {
<title>Blog | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__fadeInDown animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
BLOG POSTS
</h1>
</Col>
Expand Down
8 changes: 5 additions & 3 deletions pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ const BlogPost = ({ source, frontmatter }: BlogPostProps) => {
<title>{frontmatter.title} | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1>{frontmatter.title}</h1>
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
{frontmatter.title}
</h1>
</Col>
</Row>

Expand Down
6 changes: 3 additions & 3 deletions pages/charity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ const Charity = () => {
<title>Charity | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
CHARITY
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/checkout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const Checkout = () => {
</EmbeddedCheckoutProvider>
</div>
) : (
<section className="section section-lg">
<Row className="justify-content-center text-center ">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
CHECKOUT
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/checkout/return.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ const Return = () => {
<meta name="robots" content="noindex"></meta>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center ">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
SUCCESS
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const Events = () => {
<title>Events | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center ">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
EVENTS
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/merch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,10 @@ const Merch = ({
<title>Merch | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
MERCH
</h1>
</Col>
Expand Down
13 changes: 6 additions & 7 deletions pages/nominations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ const Nominations = () => {
<meta name="robots" content="noindex"></meta>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center ">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
VOTING CLOSED
</h1>
</Col>
Expand All @@ -84,11 +84,10 @@ const Nominations = () => {
<Head>
<title>Nominations | UNSW Co-op Society</title>
</Head>
<section className="section section-lg">
{/* Title */}
<Row className="justify-content-center text-center">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
2023 EXEC NOMINEES
</h1>
</Col>
Expand Down
8 changes: 4 additions & 4 deletions pages/podcast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const Podcast = () => {
<title>Podcast | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center">
<Col lg={8}>
<h1 className="animate__animated animate__fadeInDown animate__fast">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
PODCAST
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/publications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const Publications = () => {
<title>Publications | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center ">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
PUBLICATIONS
</h1>
</Col>
Expand Down
6 changes: 3 additions & 3 deletions pages/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const Team = () => {
<title>Team | UNSW Co-op Society</title>
</Head>

<section className="section section-lg">
<Row className="justify-content-center text-center mb-3 mb-sm-4 mb-md-5">
<section className="section section-sm">
<Row className="justify-content-around text-center">
<Col lg="8">
<h1 className="animate__animated animate__zoomIn animate__fast">
<h1 className="animate__animated animate__zoomIn animate__fast pb-4 mt-3 mt-sm-5">
MEET THE TEAM
</h1>
</Col>
Expand Down

0 comments on commit 0095983

Please sign in to comment.