GarGerry commited on
Commit
7b922de
·
verified ·
1 Parent(s): 6c01bbb

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +22 -15
style.css CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  body {
2
  font-family: Arial, sans-serif;
3
  background-color: #f4f4f9;
@@ -5,38 +11,38 @@ body {
5
  justify-content: center;
6
  align-items: center;
7
  height: 100vh;
8
- margin: 0;
9
  }
10
 
11
  .container {
12
- text-align: center;
13
- background: white;
14
  padding: 20px;
15
- border-radius: 8px;
16
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 
 
17
  }
18
 
19
  h1 {
20
- color: #333;
21
- }
22
-
23
- .converter {
24
- margin-top: 20px;
25
  }
26
 
27
  input, select {
28
  padding: 10px;
29
- margin: 10px 5px;
30
- border-radius: 4px;
31
- border: 1px solid #ddd;
 
 
32
  }
33
 
34
  button {
35
- padding: 10px 20px;
 
36
  background-color: #4CAF50;
37
  color: white;
38
  border: none;
39
- border-radius: 4px;
40
  cursor: pointer;
41
  }
42
 
@@ -46,6 +52,7 @@ button:hover {
46
 
47
  #result {
48
  margin-top: 20px;
49
- font-size: 1.2em;
50
  font-weight: bold;
 
51
  }
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
  body {
8
  font-family: Arial, sans-serif;
9
  background-color: #f4f4f9;
 
11
  justify-content: center;
12
  align-items: center;
13
  height: 100vh;
 
14
  }
15
 
16
  .container {
17
+ background-color: white;
 
18
  padding: 20px;
19
+ border-radius: 10px;
20
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21
+ width: 300px;
22
+ text-align: center;
23
  }
24
 
25
  h1 {
26
+ font-size: 24px;
27
+ margin-bottom: 20px;
 
 
 
28
  }
29
 
30
  input, select {
31
  padding: 10px;
32
+ margin: 10px 0;
33
+ width: 80%;
34
+ font-size: 16px;
35
+ border: 1px solid #ccc;
36
+ border-radius: 5px;
37
  }
38
 
39
  button {
40
+ padding: 10px 15px;
41
+ width: 80%;
42
  background-color: #4CAF50;
43
  color: white;
44
  border: none;
45
+ border-radius: 5px;
46
  cursor: pointer;
47
  }
48
 
 
52
 
53
  #result {
54
  margin-top: 20px;
55
+ font-size: 18px;
56
  font-weight: bold;
57
+ color: #333;
58
  }