-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
81 lines (72 loc) · 1.69 KB
/
style.css
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
77
78
79
80
81
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f0f0f0;
margin: 0;
background-image: url('math.jpg');
background-size: cover; /* Cover the entire background */
background-position: center; /* Center the background image */
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
background-color: rgba(255, 255, 255, 0.8); /* Add some transparency to the container */
border-radius: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px; /* Set a specific width for the container */
padding: 20px;
}
.title {
text-align: center;
color: #333;
margin-bottom: 20px; /* Add some space below the title */
}
.form-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.quiz-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.input-field {
padding: 10px;
margin: 10px 0;
width: 95%;
border: 1px solid #ddd; /* Add a subtle border to the input fields */
border-radius: 10px;
}
.action-button {
padding: 10px;
margin: 10px 0;
width: 100%;
cursor: pointer;
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease; /* Smooth transition for the hover effect */
}
.action-button:hover {
background-color: #45a049;
}
.switch-text {
text-align: center;
margin-top: 10px;
}
.switch-text button {
background: none;
border: none;
cursor: pointer;
color: #0f01cf;
text-decoration: underline;
}
.quiz-container {
display: none;
}