GarGerry commited on
Commit
5c3a9b3
·
verified ·
1 Parent(s): 9ff76f0

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +40 -17
style.css CHANGED
@@ -1,28 +1,51 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
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
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
+ font-family: Arial, sans-serif;
3
+ background-color: #f4f4f9;
4
+ display: flex;
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
+
43
+ button:hover {
44
+ background-color: #45a049;
45
+ }
46
+
47
+ #result {
48
+ margin-top: 20px;
49
+ font-size: 1.2em;
50
+ font-weight: bold;
51
+ }