Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,45 @@
|
|
1 |
-
body {
|
2 |
-
padding: 2rem;
|
3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
4 |
-
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
.card {
|
19 |
-
max-width: 620px;
|
20 |
-
margin: 0 auto;
|
21 |
-
padding: 16px;
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
+
/* Parent Container */
|
3 |
+
.parent {
|
4 |
+
display: flex;
|
5 |
+
justify-content: center; /* Center horizontally */
|
6 |
+
align-items: center; /* Center vertically */
|
7 |
+
height: 100vh; /* Full height of the screen */
|
8 |
+
background-color: lightgray;
|
9 |
}
|
10 |
|
11 |
+
/* Child Box */
|
12 |
+
.container {
|
13 |
+
width: 400px;
|
14 |
+
height: 450px;
|
15 |
+
border: 5px solid black; /* Border */
|
16 |
+
background-color: white;
|
17 |
+
border-radius: 10px; /* Optional */
|
18 |
}
|
19 |
+
.txt {
|
20 |
+
margin: 10px;
|
21 |
+
width: 245px;
|
22 |
+
height: 40px;
|
23 |
+
font-size: 40px;
|
24 |
+
text-align: right;
|
25 |
+
border: 5px solid rgb(28, 27, 27);
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
+
.box {
|
29 |
+
width: 70px;
|
30 |
+
height: 50px;
|
31 |
+
margin: 10px;
|
32 |
+
font-size: 30px;
|
33 |
+
border: 5px ridge rgb(28, 27, 27);
|
34 |
+
border-radius: 5px;
|
35 |
|
36 |
+
}
|
37 |
+
#op {
|
38 |
+
background-color: #e7ef0e;
|
39 |
+
}
|
40 |
+
#op:hover {
|
41 |
+
background-color: aliceblue;
|
42 |
+
}
|
43 |
+
h1 {
|
44 |
+
text-align: center;
|
45 |
}
|