Update style.css
Browse files
style.css
CHANGED
@@ -1,138 +1,94 @@
|
|
1 |
-
/*
|
2 |
-
|
3 |
-
|
4 |
-
padding:
|
5 |
-
|
|
|
6 |
}
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
|
13 |
-
/*
|
14 |
-
.
|
15 |
-
|
16 |
-
|
17 |
-
padding: 20px;
|
18 |
-
background-color: #f1f1f1; /* Latar belakang terang untuk headline */
|
19 |
}
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
color:
|
|
|
|
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
29 |
}
|
30 |
|
31 |
-
/*
|
32 |
-
.
|
33 |
-
|
|
|
34 |
padding: 20px;
|
35 |
text-align: center;
|
36 |
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
background-color: #ffffff;
|
42 |
-
padding: 30px;
|
43 |
-
border-radius: 10px;
|
44 |
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
45 |
-
}
|
46 |
-
|
47 |
-
/* Input dan select */
|
48 |
-
label, select, input {
|
49 |
-
margin: 10px 0;
|
50 |
-
font-size: 16px;
|
51 |
-
}
|
52 |
-
|
53 |
-
input, select {
|
54 |
-
padding: 10px;
|
55 |
-
width: 200px;
|
56 |
-
font-size: 16px;
|
57 |
-
margin: 10px 0;
|
58 |
-
}
|
59 |
-
|
60 |
-
button {
|
61 |
-
background-color: #4CAF50;
|
62 |
color: white;
|
63 |
-
padding:
|
64 |
-
|
65 |
-
cursor: pointer;
|
66 |
-
font-size: 18px;
|
67 |
-
}
|
68 |
-
|
69 |
-
button:hover {
|
70 |
-
background-color: #45a049;
|
71 |
-
}
|
72 |
-
|
73 |
-
#result {
|
74 |
-
font-size: 18px;
|
75 |
-
margin-top: 20px;
|
76 |
-
color: #333;
|
77 |
}
|
78 |
|
79 |
-
/*
|
80 |
.steps {
|
81 |
-
|
82 |
-
|
83 |
padding: 20px;
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
.steps h2 {
|
88 |
-
font-size: 30px;
|
89 |
-
color: #333;
|
90 |
}
|
91 |
|
|
|
92 |
.step-box {
|
93 |
-
background-color: #
|
94 |
-
margin: 20px;
|
95 |
padding: 20px;
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
text-align: left;
|
100 |
-
}
|
101 |
-
|
102 |
-
.step-box h3 {
|
103 |
-
font-size: 22px;
|
104 |
-
color: #333;
|
105 |
}
|
106 |
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
|
|
111 |
|
112 |
-
/* Responsif - Atur tampilan step-box agar stack secara vertikal pada layar kecil */
|
113 |
-
@media (max-width: 768px) {
|
114 |
.step-box {
|
115 |
-
width:
|
116 |
-
margin: 10px 0;
|
117 |
}
|
118 |
}
|
119 |
|
120 |
-
/*
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
color: white;
|
126 |
-
font-size: 16px;
|
127 |
-
margin-top: 50px;
|
128 |
-
}
|
129 |
-
|
130 |
-
.footer p {
|
131 |
-
margin: 0;
|
132 |
-
}
|
133 |
-
|
134 |
-
/* Style untuk tombol convert */
|
135 |
-
#convert-btn {
|
136 |
-
display: inline-block;
|
137 |
-
margin-top: 20px;
|
138 |
-
}
|
|
|
1 |
+
/* Reset margin dan padding untuk body */
|
2 |
+
body {
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
overflow-x: hidden; /* Menonaktifkan geser horizontal */
|
6 |
+
font-family: Arial, sans-serif;
|
7 |
}
|
8 |
|
9 |
+
/* Navbar */
|
10 |
+
.navbar {
|
11 |
+
display: flex;
|
12 |
+
justify-content: space-between;
|
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 |
+
margin: 0;
|
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: #004d00; /* Warna hijau tua */
|
46 |
+
color: white;
|
47 |
padding: 20px;
|
48 |
text-align: center;
|
49 |
}
|
50 |
|
51 |
+
/* Styling untuk footer */
|
52 |
+
.footer {
|
53 |
+
background-color: #808080; /* Warna abu-abu */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
color: white;
|
55 |
+
padding: 20px;
|
56 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
+
/* Styling untuk box How To Use */
|
60 |
.steps {
|
61 |
+
background-color: #004d00;
|
62 |
+
color: white;
|
63 |
padding: 20px;
|
64 |
+
margin-top: 20px;
|
65 |
+
border-radius: 10px;
|
66 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
+
/* Styling untuk kotak Step-by-Step */
|
70 |
.step-box {
|
71 |
+
background-color: #cccccc;
|
|
|
72 |
padding: 20px;
|
73 |
+
margin: 10px 0;
|
74 |
+
border-radius: 10px;
|
75 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
|
78 |
+
/* Untuk desktop (web mode) */
|
79 |
+
@media screen and (min-width: 768px) {
|
80 |
+
.steps {
|
81 |
+
display: flex;
|
82 |
+
justify-content: space-between;
|
83 |
+
}
|
84 |
|
|
|
|
|
85 |
.step-box {
|
86 |
+
width: 30%;
|
|
|
87 |
}
|
88 |
}
|
89 |
|
90 |
+
/* Untuk mobile (mode vertikal) */
|
91 |
+
@media screen and (max-width: 767px) {
|
92 |
+
.steps {
|
93 |
+
display: block;
|
94 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|