@@ -113,6 +113,8 @@ main {
113
113
margin : 8px ;
114
114
box-shadow : # dfdce3 4px 4px ;
115
115
cursor : pointer;
116
+ font-family : "Titillium Web" , sans-serif;
117
+ font-size : 1rem ;
116
118
}
117
119
118
120
.home : hover {
@@ -199,48 +201,50 @@ form p a:visited {
199
201
min-width : 100px ;
200
202
}
201
203
202
- # id-1 ,
203
- # id-3 ,
204
- # id-5 ,
205
- # id-7 ,
206
- # id-9 ,
207
- # id-11 ,
208
- # id-13 ,
209
- # id-15 {
210
- background-color : # 4abdac ;
211
- }
212
-
213
- # id-1 : hover ,
214
- # id-3 : hover ,
215
- # id-5 : hover ,
216
- # id-7 : hover ,
217
- # id-9 : hover ,
218
- # id-11 : hover ,
219
- # id-13 : hover ,
220
- # id-15 : hover {
221
- background-color : # 549c91 ;
222
- }
223
-
224
- # id-2 ,
225
- # id-4 ,
226
- # id-6 ,
227
- # id-8 ,
228
- # id-10 ,
229
- # id-12 ,
230
- # id-14 ,
231
- # id-16 {
232
- background-color : # f7b733 ;
233
- }
234
-
235
- # id-2 : hover ,
236
- # id-4 : hover ,
237
- # id-6 : hover ,
238
- # id-8 : hover ,
239
- # id-10 : hover ,
240
- # id-12 : hover ,
241
- # id-14 : hover ,
242
- # id-16 : hover {
243
- background-color : # a17927 ;
204
+ .home : nth-child (1n): hover {
205
+ background-color : # fe7f2d ;
206
+ transform : scale (1.1 );
207
+ transition : all 0.4s ease-out;
208
+ }
209
+
210
+ .home : nth-child (10n + 1) {
211
+ background-color : hsl (262 , 52% , 34% );
212
+ }
213
+
214
+ .home : nth-child (10n + 2) {
215
+ background-color : hsl (171 , 62% , 60% );
216
+ }
217
+
218
+ .home : nth-child (10n + 3) {
219
+ background-color : hsl (262 , 52% , 45% );
220
+ }
221
+
222
+ .home : nth-child (10n + 4) {
223
+ background-color : hsl (171 , 52% , 50% );
224
+ }
225
+
226
+ .home : nth-child (10n + 5) {
227
+ background-color : hsl (262 , 52% , 55% );
228
+ }
229
+
230
+ .home : nth-child (10n + 6) {
231
+ background-color : hsl (171 , 52% , 43% );
232
+ }
233
+
234
+ .home : nth-child (10n + 7) {
235
+ background-color : hsl (262 , 52% , 65% );
236
+ }
237
+
238
+ .home : nth-child (10n + 8) {
239
+ background-color : hsl (171 , 52% , 33% );
240
+ }
241
+
242
+ .home : nth-child (10n + 9) {
243
+ background-color : hsl (262 , 40% , 75% );
244
+ }
245
+
246
+ .home : nth-child (10n + 10) {
247
+ background-color : hsl (171 , 52% , 27% );
244
248
}
245
249
246
250
/* Nav Bar styles - MONIKA */
0 commit comments