GarGerry commited on
Commit
138f2f5
·
verified ·
1 Parent(s): a86345b

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +83 -28
style.css CHANGED
@@ -1,33 +1,90 @@
1
  /* General Styles */
2
- * {
3
- margin: 0;
4
- padding: 0;
5
- box-sizing: border-box;
6
- }
7
-
8
  body {
9
- font-family: Arial, sans-serif;
10
- line-height: 1.6;
11
  }
12
 
13
- /* Navbar Styles */
14
  .navbar {
15
- background-color: #006400; /* Dark Green */
16
- padding: 15px 50px;
17
- display: flex;
18
- justify-content: space-between;
19
- align-items: center;
 
 
20
  }
21
 
22
- .navbar .logo {
23
- color: white;
24
- font-size: 24px;
25
- font-weight: bold;
26
  }
27
 
28
- .navbar .greeting {
29
- color: white;
30
- font-size: 18px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
 
33
  /* Headline Section */
@@ -117,14 +174,12 @@ button:hover {
117
  }
118
 
119
  /* Footer Section */
 
120
  .footer {
121
- background-color: #808080; /* Gray */
122
- color: white;
123
- padding: 20px;
124
- text-align: center;
125
- position: fixed;
126
- bottom: 0;
127
- width: 100%;
128
  }
129
 
130
  /* Responsive Design */
 
1
  /* General Styles */
 
 
 
 
 
 
2
  body {
3
+ margin: 0;
4
+ font-family: Arial, sans-serif;
5
  }
6
 
7
+ /* Navbar */
8
  .navbar {
9
+ background-color: #004d26;
10
+ color: #fff;
11
+ padding: 10px 20px;
12
+ position: fixed;
13
+ top: 0;
14
+ width: 100%;
15
+ z-index: 1000;
16
  }
17
 
18
+ .navbar .container {
19
+ display: flex;
20
+ justify-content: space-between;
21
+ align-items: center;
22
  }
23
 
24
+ .welcome-message {
25
+ font-size: 14px;
26
+ opacity: 0.8;
27
+ }
28
+
29
+ /* Headline Section */
30
+ .headline {
31
+ background-color: #004d26;
32
+ color: #fff;
33
+ text-align: center;
34
+ padding: 40px 20px;
35
+ margin-top: 50px;
36
+ }
37
+
38
+ /* Converter Section */
39
+ .converter-section {
40
+ background-color: #fff;
41
+ padding: 20px;
42
+ display: flex;
43
+ justify-content: center;
44
+ }
45
+
46
+ .converter-box {
47
+ background-color: #fff;
48
+ border: 2px solid #004d26;
49
+ padding: 20px;
50
+ border-radius: 10px;
51
+ text-align: center;
52
+ width: 300px;
53
+ }
54
+
55
+ /* How to Use Section */
56
+ .how-to-use {
57
+ background-color: #004d26;
58
+ color: #fff;
59
+ padding: 40px 20px;
60
+ text-align: center;
61
+ }
62
+
63
+ .how-to-use h2 {
64
+ font-weight: bold;
65
+ }
66
+
67
+ .step-box {
68
+ background-color: #f0f0f0;
69
+ color: #000;
70
+ padding: 20px;
71
+ margin: 10px auto;
72
+ border-radius: 10px;
73
+ width: 250px;
74
+ text-align: left;
75
+ }
76
+
77
+
78
+ /* Responsive Design */
79
+ @media (max-width: 768px) {
80
+ .navbar .welcome-message {
81
+ display: none;
82
+ }
83
+
84
+ .converter-box,
85
+ .step-box {
86
+ width: 100%;
87
+ }
88
  }
89
 
90
  /* Headline Section */
 
174
  }
175
 
176
  /* Footer Section */
177
+ ./* Footer */
178
  .footer {
179
+ background-color: #ccc;
180
+ color: #000;
181
+ text-align: center;
182
+ padding: 10px 20px;
 
 
 
183
  }
184
 
185
  /* Responsive Design */