GarGerry commited on
Commit
87a1f86
·
verified ·
1 Parent(s): 6c4b7d6

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +10 -14
style.css CHANGED
@@ -9,11 +9,12 @@ body {
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
  flex-direction: column; /* Menyusun elemen secara vertikal */
12
- justify-content: flex-start; /* Pastikan konten dimulai dari atas */
13
  align-items: center;
14
- min-height: 100vh; /* Agar tinggi halaman memenuhi layar */
15
  color: #333;
16
  position: relative;
 
17
  }
18
 
19
  .container {
@@ -25,7 +26,7 @@ body {
25
  max-width: 600px;
26
  text-align: center;
27
  position: relative;
28
- margin-bottom: 20px; /* Tambahkan jarak agar footer tidak tumpang tindih */
29
  }
30
 
31
  h1 {
@@ -44,9 +45,9 @@ input, select {
44
  border: 1px solid #E0E0E0;
45
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
46
  transition: all 0.3s ease;
47
- appearance: none; /* Menghapus tampilan default dropdown */
48
- -webkit-appearance: none; /* Untuk Safari */
49
- -moz-appearance: none; /* Untuk Firefox */
50
  background-color: #fff;
51
  color: #555;
52
  }
@@ -57,16 +58,14 @@ input:focus, select:focus {
57
  box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
58
  }
59
 
60
- /* Gaya untuk elemen select agar lebih modern */
61
  select {
62
- background-image: url('https://img.icons8.com/ios/452/down-squared.png'); /* Ikon dropdown */
63
  background-repeat: no-repeat;
64
  background-position: right 10px center;
65
  background-size: 16px;
66
- padding-right: 40px; /* Memberikan ruang untuk ikon di kanan */
67
  }
68
 
69
- /* Styling untuk selector mata uang */
70
  .currency-selectors {
71
  display: flex;
72
  justify-content: center;
@@ -109,7 +108,6 @@ button:hover {
109
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
110
  }
111
 
112
- /* Footer - Letakkan di bawah */
113
  footer {
114
  width: 100%;
115
  text-align: center;
@@ -117,14 +115,13 @@ footer {
117
  font-size: 14px;
118
  color: #333;
119
  background-color: #fff;
120
- border-top: 1px solid #ddd; /* Memberikan garis pembatas */
121
  }
122
 
123
  footer p {
124
  margin: 0;
125
  }
126
 
127
- /* Responsif untuk Mobile */
128
  @media (max-width: 768px) {
129
  .container {
130
  padding: 30px;
@@ -144,7 +141,6 @@ footer p {
144
  }
145
  }
146
 
147
- /* Responsif untuk tampilan yang lebih besar (Tablet ke atas) */
148
  @media (min-width: 769px) {
149
  .container {
150
  max-width: 700px;
 
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
  flex-direction: column; /* Menyusun elemen secara vertikal */
12
+ justify-content: flex-start;
13
  align-items: center;
14
+ min-height: 100vh;
15
  color: #333;
16
  position: relative;
17
+ padding-top: 20px; /* Menambahkan ruang untuk header */
18
  }
19
 
20
  .container {
 
26
  max-width: 600px;
27
  text-align: center;
28
  position: relative;
29
+ margin-bottom: 20px;
30
  }
31
 
32
  h1 {
 
45
  border: 1px solid #E0E0E0;
46
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
47
  transition: all 0.3s ease;
48
+ appearance: none;
49
+ -webkit-appearance: none;
50
+ -moz-appearance: none;
51
  background-color: #fff;
52
  color: #555;
53
  }
 
58
  box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
59
  }
60
 
 
61
  select {
62
+ background-image: url('https://img.icons8.com/ios/452/down-squared.png');
63
  background-repeat: no-repeat;
64
  background-position: right 10px center;
65
  background-size: 16px;
66
+ padding-right: 40px;
67
  }
68
 
 
69
  .currency-selectors {
70
  display: flex;
71
  justify-content: center;
 
108
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
109
  }
110
 
 
111
  footer {
112
  width: 100%;
113
  text-align: center;
 
115
  font-size: 14px;
116
  color: #333;
117
  background-color: #fff;
118
+ border-top: 1px solid #ddd;
119
  }
120
 
121
  footer p {
122
  margin: 0;
123
  }
124
 
 
125
  @media (max-width: 768px) {
126
  .container {
127
  padding: 30px;
 
141
  }
142
  }
143
 
 
144
  @media (min-width: 769px) {
145
  .container {
146
  max-width: 700px;