Skip to content

Commit

Permalink
changed styling
Browse files Browse the repository at this point in the history
  • Loading branch information
maitri-vv committed Oct 8, 2023
1 parent 3c34f95 commit b6dc53a
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 29 deletions.
77 changes: 58 additions & 19 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ h2{
font-size: 3rem;
line-height: 1.5;
font-weight: bold;
text-shadow: 2px 2px grey;
}
h3{
font-family: 'Montserrat';
Expand Down Expand Up @@ -240,7 +241,7 @@ p{
.carousel-control-prev-icon,
.carousel-control-next-icon {
background-color: transparent; /* Remove default icon background color */
color: #fff; /* Icon color */
color: #f03c57; /* Icon color */
font-size: 24px; /* Adjust the icon size */
line-height: 50px; /* Vertically center the icon */
}
Expand All @@ -258,16 +259,65 @@ p{



#press{
background-color: #ef8172;
#press {
background-color: #fff;
text-align: center;
padding-bottom: 2%;
}
.press-logo{
width: 15%;
margin: 20px 20px 50px;


#press {
background-color: #fff;
text-align: center;
padding: 2% 0;
}

.sponsor-card {
display: inline-block;
margin: 20px;
transition: transform 0.3s;
border-radius: 20px; /* Adjust the border-radius to round the corners slightly */
overflow: hidden; /* Hide overflowing logos */
}

.sponsor-card:hover {
transform: scale(1.1);
}

.circle {
width: 150px; /* Adjust the width and height to create a circle */
height: 150px; /* Adjust the width and height to create a circle */
background-color: #876445; /* Background color for the circle */
display: flex;
justify-content: center;
align-items: center;
}

.press-logo {
width: 100px; /* Adjust the width of logos as needed */
height: 100px; /* Adjust the height of logos as needed */
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.9);
color: black;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s;
}

.sponsor-card:hover .overlay {
opacity: 1;
}


#pricing{
padding: 100px;
}
Expand Down Expand Up @@ -364,6 +414,7 @@ p{
max-width: 900px;
margin: 0 auto;
padding: 0 1.5em;
text-align: center;
}

.cart-header {
Expand Down Expand Up @@ -512,7 +563,7 @@ input {
margin-top: 50px;
}

.container {
.container1 {
flex: 0 1 700px;
margin: auto;
padding: 10px;
Expand Down Expand Up @@ -738,16 +789,4 @@ input {
::-webkit-scrollbar-thumb {
background-color: #876445;
border-radius: 10px;


/*Press section*/
#press {
background-color: #ca965c;
padding-bottom: 3%;
}

.press-logo {
margin: 20px 20px 30px;
width: 15%;

}
Binary file modified img/press/ccd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/press/illy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/press/starbucks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 42 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>Coffee Shop</title>
<title>Coffee-Bean</title>
<!--Favicon-->
<link rel="icon" href="/img/icon.ico" type="image/x-icon">
<!--font-->
Expand Down Expand Up @@ -363,17 +363,49 @@ <h2 class="section-header">CART</h2>
<h3 class="cta-heading" id="cta-heading">"A bad day with coffee is better than a good day without it."</h3>

<br><br><br>
</section>

</section>
<section class="container content-section">
<hr>
<h2 class="section-header">SPONSORS</h2>
<p>At Coffee-Bean, we're grateful to our sponsors, who share our passion for coffee and community. Their support helps us bring you the finest coffee experience.</p>
<section id="press">
<div class="sponsor-card">
<div class="circle">
<img class="press-logo" src="img/press/starbucks.png" alt="Starbucks">
</div>
<div class="overlay">
<p>Sponsor: Starbucks</p>
</div>
</div>
<div class="sponsor-card">
<div class="circle">
<img class="press-logo" src="img/press/ccd.png" alt="Cafe Coffee Day">
</div>
<div class="overlay">
<p>Sponsor: Cafe Coffee Day</p>
</div>
</div>
<div class="sponsor-card">
<div class="circle">
<img class="press-logo" src="img/press/costa.png" alt="Costa Coffee">
</div>
<div class="overlay">
<p>Sponsor: Costa Coffee</p>
</div>
</div>
<div class="sponsor-card">
<div class="circle">
<img class="press-logo" src="img/press/illy.png" alt="Illy">
</div>
<div class="overlay">
<p>Sponsor: Illy</p>
</div>
</div>
</section>



<section id="press">
<section class="colored-section" id="press">
<img class="press-logo" src="img/press/starbucks.png" alt="tc-logo">
<img class="press-logo" src="img/press/ccd.png" alt="tnw-logo">
<img class="press-logo" src="img/press/costa.png" alt="biz-insider-logo">
<img class="press-logo" src="img/press/illy.png" alt="mashable-logo">
</section>
</section>

<section id="contact">
<div class="background">
Expand Down

0 comments on commit b6dc53a

Please sign in to comment.