diff --git a/review.html b/review.html index eaf1a7f..0b35799 100644 --- a/review.html +++ b/review.html @@ -15,6 +15,14 @@ height: 80px; } + nav.dark-mode { + background-color: black; + + .nav-items a { + color: white; + } + } + .nav-items { flex-grow: 1; text-align: center; @@ -30,33 +38,34 @@ } .navbar ul li:hover a { - background-color: #555; - transform: scale(1.2); /* Popup effect */ -} - -.navbar ul li:hover::after { - content: ""; - position: absolute; - width: 100%; - height: 4px; - background-color: #00aced; - top: 100%; - left: 0; - transform: scaleX(1); - transition: all 0.3s ease; -} - -.navbar ul li::after { - content: ""; - position: absolute; - width: 100%; - height: 4px; - background-color: transparent; - top: 100%; - left: 0; - transform: scaleX(0); - transition: all 0.3s ease; -} + background-color: #555; + transform: scale(1.2); + /* Popup effect */ + } + + .navbar ul li:hover::after { + content: ""; + position: absolute; + width: 100%; + height: 4px; + background-color: #00aced; + top: 100%; + left: 0; + transform: scaleX(1); + transition: all 0.3s ease; + } + + .navbar ul li::after { + content: ""; + position: absolute; + width: 100%; + height: 4px; + background-color: transparent; + top: 100%; + left: 0; + transform: scaleX(0); + transition: all 0.3s ease; + } .card { transition: transform 0.3s ease, box-shadow 0.3s ease; @@ -67,6 +76,15 @@ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); } + .card.dark-mode { + background-color: black; + box-shadow: 0px 4px 12px rgba(244, 231, 231, 0.872); + + p { + color: white; + } + } + .logo { height: 40px; width: auto; @@ -83,6 +101,45 @@ .rating-star { color: #fbbf24; } + + .theme-switch { + display: inline-block; + width: 60px; + height: 30px; + border-radius: 30px; + background: linear-gradient(49deg, #ffffff, #0644ff); + position: relative; + cursor: pointer; + transition: background 0.3s ease-in-out; + vertical-align: middle; + } + + .theme-switch::before { + content: ''; + position: absolute; + top: 3px; + left: 3px; + width: 24px; + height: 24px; + background-size: contain; + background-repeat: no-repeat; + background-position: center; + transition: left 0.3s ease-in-out, background-image 0.3s ease-in-out; + background-image: url('Assets/moon.png'); + } + + .theme-switch.dark-theme { + background: linear-gradient(82deg, #4d1fff, #ffffff); + } + + .theme-switch.dark-theme::before { + left: 33px; + background-image: url('Assets/sun.png'); + } + + .review-section.dark-mode { + background-color: black; + } @@ -93,9 +150,11 @@
Read what our customers have to say about our car rental service!
- +March 25, 2024
The car rental service was excellent! The car was in perfect condition, and the process was smooth and hassle-free.
+The car rental service was excellent! The car was in perfect condition, + and the process was smooth and hassle-free.
April 10, 2024
Great service and friendly staff! I will definitely rent a car from Cabrental again in the future.
+Great service and friendly staff! I will definitely rent a car from + Cabrental again in the future.
Mark Wilson
May 5, 2024
I had an amazing experience with Cabrental. The car was clean and the booking process was seamless.
+I had an amazing experience with Cabrental. The car was clean and the + booking process was seamless.
June 14, 2024
I love the convenience of renting a car from Cabrental. Their service is always reliable and efficient.
+I love the convenience of renting a car from Cabrental. Their service is + always reliable and efficient.
July 20, 2024
Cabrental has been my go-to car rental service for years. They always provide top-notch service and quality cars.
+Cabrental has been my go-to car rental service for years. They always + provide top-notch service and quality cars.
August 15, 2024
The customer service at Cabrental is outstanding! They go above and beyond to ensure a great experience.
+The customer service at Cabrental is outstanding! They go above and beyond + to ensure a great experience.
© 2024 Cabrental. All rights reserved.
+ +