Create static/style.css
Browse files- static/style.css +68 -0
static/style.css
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
background-color: #f5f5f5;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
|
8 |
+
.container {
|
9 |
+
max-width: 800px;
|
10 |
+
margin: 50px auto;
|
11 |
+
padding: 20px;
|
12 |
+
background-color: #fff;
|
13 |
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
14 |
+
border-radius: 8px;
|
15 |
+
}
|
16 |
+
|
17 |
+
h1, h2 {
|
18 |
+
color: #333;
|
19 |
+
}
|
20 |
+
|
21 |
+
form {
|
22 |
+
display: flex;
|
23 |
+
flex-direction: column;
|
24 |
+
}
|
25 |
+
|
26 |
+
label {
|
27 |
+
margin-top: 10px;
|
28 |
+
font-weight: bold;
|
29 |
+
}
|
30 |
+
|
31 |
+
input[type="text"], input[type="number"] {
|
32 |
+
margin-top: 5px;
|
33 |
+
padding: 10px;
|
34 |
+
font-size: 16px;
|
35 |
+
border: 1px solid #ccc;
|
36 |
+
border-radius: 4px;
|
37 |
+
}
|
38 |
+
|
39 |
+
button {
|
40 |
+
margin-top: 20px;
|
41 |
+
padding: 10px;
|
42 |
+
font-size: 16px;
|
43 |
+
color: #fff;
|
44 |
+
background-color: #007BFF;
|
45 |
+
border: none;
|
46 |
+
border-radius: 4px;
|
47 |
+
cursor: pointer;
|
48 |
+
}
|
49 |
+
|
50 |
+
button:hover {
|
51 |
+
background-color: #0056b3;
|
52 |
+
}
|
53 |
+
|
54 |
+
.result {
|
55 |
+
margin-top: 20px;
|
56 |
+
padding: 10px;
|
57 |
+
background-color: #e9ecef;
|
58 |
+
border-left: 5px solid #007BFF;
|
59 |
+
border-radius: 4px;
|
60 |
+
}
|
61 |
+
|
62 |
+
.correct {
|
63 |
+
border-left-color: #28a745;
|
64 |
+
}
|
65 |
+
|
66 |
+
.incorrect {
|
67 |
+
border-left-color: #dc3545;
|
68 |
+
}
|