Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rishinhk004 committed Oct 8, 2024
1 parent 37e4d10 commit 451405b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 34 deletions.
43 changes: 14 additions & 29 deletions src/Components/About/Tecno/Tecno.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
font-style: normal;
}
.nitsParent {
margin: 1rem;
margin: 2rem;
@media screen and (min-width: 640px) {
margin: 2rem;
}
Expand Down Expand Up @@ -104,29 +104,32 @@
width: 100%;
}
.brochure {
position: absolute;
right: 0;
bottom: 5.5rem;
display: flex;
height: 0.5rem;
width: 18rem;
padding-right: 4rem;
height: 50px;
width: 100%;
justify-content: end;
align-items: center;
justify-content: center;
padding-right: 55px;
padding-top: 10px;
padding-bottom: 16px;
gap: 10px;
margin-top: 20px;
.btn {
color: #000;
width: 100%;
width: 100px;
border-radius: 5px;
height: 40px;
width: 180px;
display: flex;
gap: 10px;
align-items: center;
justify-content: center;
margin-top: 20px;
font-size: 15px;
padding: 1rem;
height: 3rem;
font-weight: bold;
font-family: "StarJedi", sans-serif;
background-color: white;
margin-left: 55px;
}
}
a {
Expand Down Expand Up @@ -172,22 +175,4 @@
0% 100%
);
}
@media screen and (max-width: 1100px) {
.NitsHacks {
height: 6rem;
.brochure {
width: 28rem;
}
}
}
@media screen and (max-width: 500px) {
.NitsHacks {
.brochure {
height: 9rem;
.btn {
height: 5rem;
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/Components/Sponsor/Card/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Card = ({ photo, link }) => {
<div className={styles.wrapper}>
<div className={styles.box}>
<a href={link} target="_blank" rel="noreferrer">
<img src={photo} className={styles.img} alt="logo" />
<img src={photo} className={styles.im} alt="logo" />
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Sponsor/Card/Card.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
background: none;
}

.img {
.im {
height: 50%;
width: 70%;
scale: 0.8;
Expand Down
3 changes: 3 additions & 0 deletions src/Components/Sponsor/Sponsor.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
.sponsor {
display: flex;
flex-direction: column;
margin-top: 2rem;
gap: 2rem;
align-items: center;
justify-content: center;
overflow-x: hidden;
margin-top: 2rem;
width: 100vw;
}
.heading {
Expand Down
8 changes: 5 additions & 3 deletions src/Pages/Home/Home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
.home {
min-height: 100vh;
background-color: black;
h1 {
font-weight: bold;
}
overflow-x: hidden;
.aboutsec {
margin-bottom: 1rem;
height: fit-content;
padding-bottom: 2rem;
}
}

0 comments on commit 451405b

Please sign in to comment.