Skip to content

Commit

Permalink
Merge pull request #1213 from rupeshv2121/main
Browse files Browse the repository at this point in the history
Fixes the Border radius Issues and Newsletter Alignment
  • Loading branch information
SurajPratap10 authored Oct 12, 2024
2 parents 5901fed + deef3e3 commit 35fed9c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion public/css/silder.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ padding-top:50px;
background-image: url(..//images/on.png);
background-size: cover;
font-family: 'Roboto Condensed', sans-serif;
height: 100%;
height: 65rem;
}

#team h2 {
Expand Down
10 changes: 7 additions & 3 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ footer {
height: 15vh;
width: 100%;
color: white;
margin-top: 5rem;
/* margin-top: 5rem; */
}

footer a {
Expand Down Expand Up @@ -3937,7 +3937,7 @@ footer {
height: 15vh;
width: 100%;
color: white;
margin-top: 5rem;
/* margin-top: 5rem; */
}

footer a {
Expand Down Expand Up @@ -6747,7 +6747,7 @@ footer a:hover {
footer {
width: 100%;
color: white;
margin-top: 5rem;
/* margin-top: 5rem; */
}

footer a {
Expand Down Expand Up @@ -9667,6 +9667,7 @@ button,
z-index: 2;
transition: 0.5s all;
opacity: 0;
border-radius: 2rem;
}

.cardEx:hover:before {
Expand All @@ -9680,6 +9681,7 @@ button,
position: absolute;
top: 0;
left: 0;
border-radius: 2rem;
}

.cardEx .info {
Expand Down Expand Up @@ -9960,6 +9962,7 @@ img {
padding: 20px 100px;
margin: 60px 0;
margin-top: 120px;
margin-bottom: -1.5rem;
}

#newsletter .news-text h4 {
Expand Down Expand Up @@ -10826,6 +10829,7 @@ form {
width: 60%;
height: 100%;
object-fit: cover;
border-radius: 2rem;
}

.container1 .about-image {
Expand Down
8 changes: 4 additions & 4 deletions views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,31 @@
<div class="di">
<h1>Some examples of images generated through DALL-E2</h1>
<div class="wrapper">
<div class="cardEx float-in">
<div class="cardEx float-in" style="border-radius: 2rem;">
<img loading="lazy" id="expImg1" src="1.webp" alt="Photograph of astronaut riding horse">
<div class="info">
<h1>Horse</h1>
<p>Photograph of an astronaut riding a horse.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg1')"> Download</button>
</div>
</div>
<div class="cardEx float-in">
<div class="cardEx float-in" style="border-radius: 2rem;">
<img loading="lazy" id="expImg2" src="2.webp" alt="oil painting of capybara wearing crown">
<div class="info">
<h1>Capybara</h1>
<p>An oil painting of a capybara wearing a crown.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg2')">Download</button>
</div>
</div>
<div class="cardEx float-in">
<div class="cardEx float-in" style="border-radius: 2rem;">
<img loading="lazy" id="expImg3" src="3.webp" alt="Synthwave sports car">
<div class="info">
<h1>Sports Car</h1>
<p>Synthwave sports car on a port road.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg3')"> Download </button>
</div>
</div>
<div class="cardEx float-in">
<div class="cardEx float-in" style="border-radius: 2rem;">
<img loading="lazy" id="expImg4" src="4.webp" alt="astronaut lounging in a resort">
<div class="info">
<h1>Astronaut</h1>
Expand Down

0 comments on commit 35fed9c

Please sign in to comment.