Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,94 +1,85 @@
|
|
1 |
-
/* Reset margin dan padding untuk body */
|
2 |
body {
|
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
-
|
6 |
-
font-family: Arial, sans-serif;
|
7 |
}
|
8 |
|
9 |
-
/* Navbar */
|
10 |
.navbar {
|
11 |
-
|
12 |
-
|
13 |
-
align-items: center;
|
14 |
-
background-color: #004d00; /* Warna hijau tua */
|
15 |
-
padding: 10px 20px;
|
16 |
-
position: fixed;
|
17 |
-
top: 0;
|
18 |
-
left: 0;
|
19 |
-
right: 0;
|
20 |
-
z-index: 100;
|
21 |
-
width: 100%;
|
22 |
-
}
|
23 |
-
|
24 |
-
/* Logo */
|
25 |
-
.logo img {
|
26 |
-
height: 40px; /* Atur ukuran logo sesuai keinginan */
|
27 |
-
width: auto;
|
28 |
-
}
|
29 |
-
|
30 |
-
/* Nama Brand */
|
31 |
-
.brand-name h1 {
|
32 |
color: white;
|
33 |
-
|
34 |
-
font-size: 24px;
|
35 |
-
}
|
36 |
-
|
37 |
-
/* Menambahkan padding pada konten agar tidak tertutup navbar */
|
38 |
-
.content {
|
39 |
-
margin-top: 60px; /* Disesuaikan dengan tinggi navbar */
|
40 |
-
padding: 20px;
|
41 |
}
|
42 |
|
43 |
-
/* Menyesuaikan warna latar belakang konten */
|
44 |
.headline {
|
45 |
-
background-color: #
|
46 |
color: white;
|
47 |
-
padding: 20px;
|
48 |
text-align: center;
|
|
|
49 |
}
|
50 |
|
51 |
-
|
52 |
-
.footer {
|
53 |
-
background-color: #808080; /* Warna abu-abu */
|
54 |
-
color: white;
|
55 |
padding: 20px;
|
56 |
text-align: center;
|
57 |
}
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
color: white;
|
63 |
-
|
|
|
|
|
|
|
|
|
64 |
margin-top: 20px;
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
background-color: #cccccc;
|
72 |
padding: 20px;
|
73 |
-
margin: 10px
|
74 |
border-radius: 10px;
|
75 |
text-align: center;
|
|
|
|
|
76 |
}
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
}
|
84 |
-
|
85 |
-
.step-box {
|
86 |
-
width: 30%;
|
87 |
-
}
|
88 |
}
|
89 |
|
90 |
-
/*
|
91 |
-
@media screen and (max-width:
|
92 |
.steps {
|
93 |
-
|
94 |
-
}
|
|
|
|
|
|
1 |
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
+
background-color: #f4f4f4;
|
|
|
6 |
}
|
7 |
|
|
|
8 |
.navbar {
|
9 |
+
background-color: #006400; /* Green color */
|
10 |
+
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
color: white;
|
12 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
|
|
15 |
.headline {
|
16 |
+
background-color: #006400;
|
17 |
color: white;
|
|
|
18 |
text-align: center;
|
19 |
+
padding: 20px;
|
20 |
}
|
21 |
|
22 |
+
.converter {
|
|
|
|
|
|
|
23 |
padding: 20px;
|
24 |
text-align: center;
|
25 |
}
|
26 |
|
27 |
+
.amount-input, .currency-select {
|
28 |
+
padding: 10px;
|
29 |
+
margin: 10px;
|
30 |
+
font-size: 16px;
|
31 |
+
}
|
32 |
+
|
33 |
+
#swap-btn {
|
34 |
+
padding: 10px;
|
35 |
+
margin: 10px;
|
36 |
+
cursor: pointer;
|
37 |
+
}
|
38 |
+
|
39 |
+
#convert-btn {
|
40 |
+
padding: 10px 20px;
|
41 |
+
background-color: #006400;
|
42 |
color: white;
|
43 |
+
font-size: 16px;
|
44 |
+
cursor: pointer;
|
45 |
+
}
|
46 |
+
|
47 |
+
#result {
|
48 |
margin-top: 20px;
|
49 |
+
font-size: 18px;
|
50 |
+
}
|
51 |
+
|
52 |
+
.how-to-use {
|
53 |
+
padding: 30px;
|
54 |
+
background-color: #f2f2f2;
|
55 |
+
}
|
56 |
+
|
57 |
+
.steps {
|
58 |
+
display: flex;
|
59 |
+
justify-content: space-around;
|
60 |
+
flex-wrap: wrap;
|
61 |
}
|
62 |
|
63 |
+
.step {
|
64 |
+
background-color: #ccc;
|
|
|
65 |
padding: 20px;
|
66 |
+
margin: 10px;
|
67 |
border-radius: 10px;
|
68 |
text-align: center;
|
69 |
+
flex: 1;
|
70 |
+
min-width: 250px;
|
71 |
}
|
72 |
|
73 |
+
.footer {
|
74 |
+
background-color: #808080;
|
75 |
+
color: white;
|
76 |
+
padding: 10px;
|
77 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
|
80 |
+
/* Responsiveness */
|
81 |
+
@media screen and (max-width: 768px) {
|
82 |
.steps {
|
83 |
+
flex-direction: column;
|
84 |
+
}
|
85 |
+
}
|