17
17
flex-direction : column;
18
18
justify-content : center;
19
19
align-items : center;
20
- background-color : rgba (0 , 0 , 0 , 0.3 ); /* Grayish background with 50 % opacity */
20
+ background-color : rgba (0 , 0 , 0 , 0.3 ); /* Grayish background with 30 % opacity */
21
21
border-radius : 10px ;
22
22
box-shadow : 0 0 10px rgba (206 , 192 , 192 , 0.2 );
23
23
backdrop-filter : blur (5px ); /* Apply a blur effect */
@@ -26,21 +26,14 @@ body {
26
26
margin : 0 auto;
27
27
height : 300px ; /* Fixed height for the box */
28
28
overflow-y : auto; /* Allow vertical scrolling if needed */
29
- text-align : center; /* Left-align text */
30
- font-family : 'Bebas Neue' , sans-serif;
31
- font-family : 'Fjalla One' , sans-serif;
32
- font-family : 'Merriweather' , serif;
33
- font-family : 'Montserrat' , sans-serif;
34
- font-family : 'Oswald' , sans-serif;
35
- font-family : 'Poppins' , sans-serif;
36
- font-family : 'Signika' , sans-serif;
37
- font-family : 'Teko' , sans-serif;
38
- font-family : 'Titillium Web' , sans-serif;/* Use a monospace font for proper text alignment */
29
+ text-align : center; /* Center-align text */
39
30
}
40
31
41
32
h1 {
42
- margin-top : 6 0 px ;
33
+ margin-top : 60 px ;
43
34
color : # fff ;
35
+ font-family : 'Bebas Neue' , sans-serif;
36
+ font-size : 36px ;
44
37
}
45
38
46
39
button {
@@ -51,21 +44,19 @@ button {
51
44
font-size : 18px ;
52
45
border-radius : 5px ;
53
46
cursor : pointer;
54
- margin-top : 5 px ;
47
+ margin-top : 10 px ;
55
48
transition : transform 0.2s ease; /* Add transition for smooth scaling */
49
+ font-family : 'Fjalla One' , sans-serif;
56
50
}
57
51
58
52
button : hover {
59
53
background-color : # 0056b3 ;
60
- transform : scale (1.05 ); /* Scale up by 10 % on hover */
54
+ transform : scale (1.05 ); /* Scale up by 5 % on hover */
61
55
}
62
56
63
- .joke-container {
64
- margin-top : 3px ;
65
- }
66
-
67
- # jokeText {
57
+ # quoteText {
68
58
font-size : 18px ;
69
59
color : # fff ;
70
- line-height : 1.2 ; /* You can adjust this value as needed for spacing */
60
+ line-height : 1.5 ; /* You can adjust this value as needed for spacing */
61
+ font-family : 'Merriweather' , serif;
71
62
}
0 commit comments