Skip to content

Commit

Permalink
Merge pull request #1469 from saloni8780/goa
Browse files Browse the repository at this point in the history
FIX NEW GOA CSS/HTML
  • Loading branch information
PriyaGhosal authored Oct 25, 2024
2 parents d57fb74 + b2b1cac commit ca2ca22
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 148 deletions.
72 changes: 72 additions & 0 deletions goa-resort.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,68 @@
/* Body Styling */
body {
background-color: #f0f8ff;
color: #333;
}
/* Heading and Quote Styling */
h1.display-3 {
font-family: 'Arial', sans-serif;
color: #ff6347; /* Warm color like the sun */
font-weight: 700;
text-transform: uppercase;
}

p.lead {
font-family: 'Georgia', serif;
color: #333;
font-size: 3rem;
font-style: italic;
}
/* Color Changing Text */
.color-changing-text {
animation: color-change 5s linear infinite;
}

/* Color Changing Animation */
@keyframes color-change {
0% {
color: #ff6347; /* Tomato */
}
25% {
color: #ff4500; /* Orange Red */
}
50% {
color: #1e90ff; /* Dodger Blue */
}
75% {
color: #32cd32; /* Lime Green */
}
100% {
color: #ff6347; /* Back to Tomato */
}
}


/* Carousel Styling */
.carousel-item {
height: 500px;
background-color: #000;
}

.carousel-item img {
height: 500px;
object-fit: cover;
}

.carousel-caption h5 {
font-size: 2rem;
font-weight: bold;
}

.carousel-caption p {
font-size: 1.2rem;
}

/* Resort Card Styling */
.resort-card {
transition: transform 0.3s ease-in-out;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
Expand All @@ -17,6 +77,7 @@ body {
object-fit: cover;
}

/* Button Styling */
.btn-primary {
background-color: #4a90e2;
border-color: #4a90e2;
Expand All @@ -27,16 +88,27 @@ body {
border-color: #3a7bc8;
}

/* Star Rating Color */
.text-warning {
color: #ffc107 !important;
}

/* Icon Sizing */
.bi {
font-size: 1.2rem;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
.card-img-top {
height: 150px;
}

.carousel-item {
height: 300px;
}

.carousel-item img {
height: 300px;
}
}
Loading

0 comments on commit ca2ca22

Please sign in to comment.