GarGerry commited on
Commit
7765840
·
verified ·
1 Parent(s): 370e401

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +27 -80
style.css CHANGED
@@ -1,4 +1,4 @@
1
- /* General */
2
  body {
3
  font-family: Arial, sans-serif;
4
  margin: 0;
@@ -7,37 +7,25 @@ body {
7
  justify-content: center;
8
  align-items: center;
9
  min-height: 100vh;
10
- background-color: #001d57; /* Latar belakang biru gelap */
11
- overflow: auto; /* Agar bisa scroll kanan, kiri, atas, dan bawah */
12
  }
13
 
14
  .container {
15
  background: white;
16
- padding: 25px;
17
- border-radius: 12px;
18
- box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
19
  width: 100%;
20
  max-width: 400px;
21
  }
22
 
23
- /* Header */
24
  header h1 {
25
  text-align: center;
26
  margin-bottom: 20px;
27
- color: #001d57;
28
- font-size: 24px;
29
- font-weight: bold;
30
- text-transform: uppercase;
31
- }
32
-
33
- header h2 {
34
- text-align: center;
35
- font-size: 14px;
36
- color: #555;
37
- margin-bottom: 20px;
38
  }
39
 
40
- /* Form Groups */
41
  .form-group {
42
  margin-bottom: 15px;
43
  }
@@ -45,102 +33,61 @@ header h2 {
45
  label {
46
  display: block;
47
  margin-bottom: 8px;
48
- color: #333;
49
- font-weight: bold;
50
- }
51
-
52
- input, select {
53
- width: 100%;
54
- padding: 12px;
55
- font-size: 16px;
56
- border: 1px solid #ddd;
57
- border-radius: 8px;
58
- transition: border-color 0.3s ease;
59
  }
60
 
61
- input:focus, select:focus {
62
- border-color: #87cefa;
63
- outline: none;
64
- }
65
-
66
- /* Swap Button */
67
- .swap-group {
68
- text-align: center;
69
- margin: 20px 0; /* Menambahkan ruang lebih */
70
  }
71
 
72
  #swapButton {
73
- background-color: #87CEFA; /* Biru Langit */
74
  border: none;
75
- border-radius: 8px; /* Tombol persegi panjang bulat */
76
- padding: 8px 16px;
77
- font-size: 16px;
78
  color: white;
79
- font-weight: bold;
80
  cursor: pointer;
81
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
82
- transition: background-color 0.3s ease, transform 0.2s ease;
83
  }
84
 
85
  #swapButton:hover {
86
- background-color: #5faad7; /* Biru Langit Gelap */
87
- transform: scale(1.05);
88
  }
89
 
90
- /* Convert Button */
91
  .convert-button {
92
- background-color: #007bff;
93
  border: none;
94
  border-radius: 8px;
95
- padding: 14px 20px;
96
  font-size: 18px;
97
  color: white;
98
  font-weight: bold;
99
  cursor: pointer;
100
  width: 100%;
101
- box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
102
- transition: background-color 0.3s ease, transform 0.2s ease;
103
- margin-top: 15px; /* Jarak dengan hasil konversi */
104
  }
105
 
106
  .convert-button:hover {
107
- background-color: #0056b3;
108
- transform: scale(1.05);
109
  }
110
 
111
- /* Result Box */
112
  .result-box {
113
  margin-top: 15px;
114
- padding: 15px;
115
  font-size: 16px;
116
  color: #333;
117
  text-align: center;
118
- background-color: #f0f4ff;
119
- border: 1px solid #87cefa;
120
- border-radius: 8px;
121
  }
122
 
123
- /* Footer */
124
  footer {
125
  text-align: center;
126
  margin-top: 20px;
127
  font-size: 14px;
128
- color: #000; /* Warna hitam untuk teks */
129
- background-color: transparent; /* Transparan untuk melihat latar belakang */
130
- padding: 15px 10px;
131
- }
132
-
133
- footer p {
134
- margin: 5px 0;
135
- color: #000; /* Warna teks tetap hitam */
136
- }
137
-
138
- footer a {
139
- color: #000; /* Warna hitam untuk link */
140
- text-decoration: none;
141
- font-weight: bold;
142
- }
143
-
144
- footer a:hover {
145
- text-decoration: underline;
146
  }
 
1
+ /* General Styling */
2
  body {
3
  font-family: Arial, sans-serif;
4
  margin: 0;
 
7
  justify-content: center;
8
  align-items: center;
9
  min-height: 100vh;
10
+ background-color: #f5f5f5;
11
+ overflow: auto;
12
  }
13
 
14
  .container {
15
  background: white;
16
+ padding: 20px;
17
+ border-radius: 8px;
18
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
19
  width: 100%;
20
  max-width: 400px;
21
  }
22
 
 
23
  header h1 {
24
  text-align: center;
25
  margin-bottom: 20px;
26
+ color: #333;
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
 
29
  .form-group {
30
  margin-bottom: 15px;
31
  }
 
33
  label {
34
  display: block;
35
  margin-bottom: 8px;
36
+ color: #555;
 
 
 
 
 
 
 
 
 
 
37
  }
38
 
39
+ .select2-container {
40
+ width: 100% !important;
 
 
 
 
 
 
 
41
  }
42
 
43
  #swapButton {
44
+ background-color: #87CEFA;
45
  border: none;
46
+ border-radius: 50%;
47
+ padding: 12px;
48
+ font-size: 20px;
49
  color: white;
 
50
  cursor: pointer;
51
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
52
+ transition: background-color 0.3s ease;
53
  }
54
 
55
  #swapButton:hover {
56
+ background-color: #5faad7;
 
57
  }
58
 
 
59
  .convert-button {
60
+ background-color: #87CEFA;
61
  border: none;
62
  border-radius: 8px;
63
+ padding: 12px 20px;
64
  font-size: 18px;
65
  color: white;
66
  font-weight: bold;
67
  cursor: pointer;
68
  width: 100%;
69
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
70
+ transition: background-color 0.3s ease;
 
71
  }
72
 
73
  .convert-button:hover {
74
+ background-color: #5faad7;
 
75
  }
76
 
 
77
  .result-box {
78
  margin-top: 15px;
79
+ padding: 10px;
80
  font-size: 16px;
81
  color: #333;
82
  text-align: center;
83
+ background-color: #f9f9f9;
84
+ border: 1px solid #ddd;
85
+ border-radius: 4px;
86
  }
87
 
 
88
  footer {
89
  text-align: center;
90
  margin-top: 20px;
91
  font-size: 14px;
92
+ color: #333;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }