Skip to content

Commit

Permalink
Responsive V1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neutronltd committed Jan 11, 2025
1 parent 2d2911e commit 404630e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 27 deletions.
55 changes: 35 additions & 20 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ body {
.main-wrapper {
max-width: 1440px;
margin: 0 auto;
padding: 10px;
overflow: hidden;
}

/* Header */

.header {
background-color: rgba(245, 245, 245, 1);
ackground-color: rgba(245, 245, 245, 1);
display: flex;
width: 100%;
align-items: center;
gap: 40px 100px;
gap: 40px;
flex-wrap: nowrap;
padding: 24px 0;
justify-content: space-between;
flex-wrap: wrap;
padding: 24px 160px;
}

.header > .brand-title {
Expand Down Expand Up @@ -59,6 +59,7 @@ body {
background-color: rgba(198, 228, 214, 1);
align-self: center;
display: flex;
margin-top: 20px;
width: 100%;
max-width: 100%;
align-items: center;
Expand Down Expand Up @@ -86,13 +87,13 @@ body {
justify-content: start;
}

.hero > .hero-wrapper > .hero-subtitle {
.hero > .hero-wrapper > .hero-content > .hero-subtitle {
color: rgba(14, 14, 14, 0.5);
font-size: 24px;
font-weight: 500;
}

.hero > .hero-wrapper > .hero-heading {
.hero > .hero-wrapper > .hero-content > .hero-heading {
color: rgba(14, 14, 14, 1);
font-size: 56px;
font-weight: 700;
Expand All @@ -113,7 +114,7 @@ body {
cursor: pointer;
}

.hero > .hero-wrapper > .hero-image {
.hero > .hero-image {
object-fit: contain;
object-position: center;
width: 379px;
Expand Down Expand Up @@ -574,6 +575,7 @@ body {
border-radius: 24px;
background-color: rgba(255, 255, 255, 1);
display: flex;
flex-wrap: wrap;
width: 100%;
align-items: center;
gap: 32px;
Expand Down Expand Up @@ -675,13 +677,14 @@ body {

.donation > .amount-options {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
margin-top: 32px;
align-items: center;
gap: 24px;
font-size: 40px;
color: rgba(14, 14, 14, 0.8);
font-weight: 700;
flex-wrap: wrap;
}

.donation > .amount-options > .amount-box {
Expand All @@ -707,15 +710,19 @@ body {
display: flex;
margin-top: 32px;
width: 70%;
height: 70px;
height: 60px;
font-size: 20px;
color: rgba(14, 14, 14, 0.7);
color: rgba(14, 14, 14, 1);
font-weight: 400;
justify-content: center;
text-align: center;
padding: 0;
}

.donation > .custom-amount::placeholder {
color: rgba(14, 14, 14, 0.3);
}

.donation > .donate-button {
align-self: center;
border-radius: 8px;
Expand All @@ -741,7 +748,6 @@ body {
max-width: 100%;
align-items: center;
gap: 40px 64px;

justify-content: center;
padding: 80px 100px;
}
Expand All @@ -750,7 +756,7 @@ body {
align-self: stretch;
display: flex;
min-width: 240px;
width: 750px;
width: 100%;
flex-direction: column;
align-items: center;
justify-content: start;
Expand All @@ -760,7 +766,8 @@ body {
.newsletter > .newsletter-content > .newsletter-header {
align-self: stretch;
display: flex;
width: 100%;
width: 50%;
margin: auto;
flex-direction: column;
align-items: center;
text-align: center;
Expand All @@ -785,20 +792,25 @@ body {
display: flex;
margin-top: 24px;
align-items: center;
justify-content: start;
justify-content: space-between;
width: 60%;
max-width: 70%;
flex-wrap: nowrap;
}

.newsletter > .newsletter-content > .subscription-form > .email-input {
border-radius: 8px 0 0 8px;
background-color: rgba(255, 255, 255, 1);
min-width: 240px;
width: 600px;
flex-grow: 1;
font-size: 16px;
color: rgba(14, 14, 14, 0.3);
color: rgba(14, 14, 14, 1);
font-weight: 400;
padding: 18px 40px;
border: none;
min-width: 0;
}
.newsletter > .newsletter-content > .subscription-form > .email-input::placeholder {
color: rgba(14, 14, 14, 0.3);
}

.newsletter > .newsletter-content > .subscription-form > .subscribe-button {
Expand All @@ -810,6 +822,8 @@ body {
padding: 17px 34px;
border: none;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
}

.newsletter > .newsletter-content > .privacy-notice {
Expand Down Expand Up @@ -838,7 +852,8 @@ body {

.footer > .footer-title {
color: rgba(14, 14, 14, 1);
font: 700 32px Fira Sans, sans-serif;
font-size: 32px;
font-weight: 700;
}

.footer > .footer-divider {
Expand Down
13 changes: 6 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
</head>

<body>
<header class="header">
<h1 class="brand-title">Bangladesh 2.0</h1>
<button class="sign-button" type="button">Sign In</button>
</header>

<main class="main-wrapper">


<header class="header">
<h1 class="brand-title">Bangladesh 2.0</h1>
<button class="sign-button" type="button">Sign In</button>
</header>

<div class="hero">
<div class="hero-wrapper">
<div class="hero-content">
Expand Down Expand Up @@ -287,7 +286,7 @@ <h2 class="newsletter-title">Subscribe Newsletter</h2>
</div>
</div>
</main>

<footer class="footer">
<h2 class="footer-title">Bangladesh 2.0</h2>
<div class="footer-divider"></div>
Expand Down

0 comments on commit 404630e

Please sign in to comment.