diff --git a/index.html b/index.html index d6e4689d..170c405c 100644 --- a/index.html +++ b/index.html @@ -147,9 +147,9 @@

Wireless Controllers for PlayStation 4

(2252 reviews)

- Overall Rating: -

4.1★

+ Overall Rating4.1
+
@@ -177,9 +177,9 @@

Controllers for Xbox One and Series X

(1189 reviews)

- Overall Rating: -

4.8★

+ Overall Rating4.8
+
@@ -209,9 +209,9 @@

Wireless Controllers for Nintendo Switch

(3145 reviews)

- Overall Rating: -

4.2★

+ Overall Rating4.2
+
@@ -241,9 +241,9 @@

VR Headset from Meta

(871 reviews)

- Overall Rating: -

4.2★

+ Overall Rating4.2
+
@@ -273,9 +273,9 @@

VR Headset from Apple

(235 reviews)

- Overall Rating: -

4.8★

+ Overall Rating4.8
+
@@ -305,9 +305,9 @@

High Performance Gaming Mouse

(9256 reviews)

- Overall Rating: -

5.0★

+ Overall Rating5.0
+
@@ -336,9 +336,9 @@

Mechanical Gaming Keyboard

(6184 reviews)

- Overall Rating: -

4.5★

+ Overall Rating4.5
+
@@ -367,9 +367,9 @@

Wireless Gaming Headset

(8452 reviews)

- Overall Rating: -

4.7★

+ Overall Rating4.7
+
@@ -398,9 +398,9 @@

Ergonomic Gaming Chair

(3564 reviews)

- Overall Rating: -

4.8★

+ Overall Rating4.8
+
diff --git a/style.css b/style.css index 83f7ea5e..7990a2f9 100644 --- a/style.css +++ b/style.css @@ -733,10 +733,18 @@ button { align-items: center; } +.overall-rating .rating-value { + margin-left: 8px; /* Adds space between the heading and rating */ + color: #ff3c6d; /* Sets the rating value to pink */ + font-weight: 600; /* Makes the rating value bold */ + line-height: 1; +} + .overall-rating .star { - margin-left: 5px; - color: #ff3c6d; - font-weight: 600; + margin-left: 2px; /* Small gap between the rating value and the star */ + color: #ff3c6d; /* Star color is pink as well */ + font-weight: 600; + line-height: 1; } .footer {