-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
76 lines (69 loc) · 1.23 KB
/
styles.css
File metadata and controls
76 lines (69 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* General Styles */
body {
background-color: bisque;
font-family: sans-serif;
text-align: center;
}
/* Navigation Bar */
nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 10px;
background-color: #ffcc00;
border-radius: 10px;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
text-decoration: none;
font-weight: bold;
color: black;
padding: 10px 15px;
border-radius: 5px;
transition: 0.3s;
}
nav ul li a:hover {
background-color: #ffd633;
}
/* Heading */
h1 {
text-align: center;
font-family: sans-serif;
margin-top: 20px;
}
/* Image Styling */
img {
border-radius: 10px;
display: block;
margin: auto;
width: 50%;
margin-top: 20px;
}
/* Button Styling */
button {
background-color: #ff5733;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
margin: 10px;
transition: 0.3s ease-in-out;
}
button:hover {
background-color: #d84315;
transform: scale(1.05);
}
button:active {
background-color: #b52e0c;
transform: scale(0.95);
}
/* Quiz Result Styling */
#result {
font-size: 18px;
font-weight: bold;
margin-top: 10px;
}