GarGerry commited on
Commit
92e2adf
·
verified ·
1 Parent(s): c7c0165

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +14 -38
style.css CHANGED
@@ -1,11 +1,9 @@
1
- /* Gaya umum untuk semua elemen */
2
  * {
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
  }
7
 
8
- /* Gaya untuk body */
9
  body {
10
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
11
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
@@ -15,9 +13,9 @@ body {
15
  height: 100vh;
16
  color: #333;
17
  position: relative;
 
18
  }
19
 
20
- /* Gaya untuk container utama */
21
  .container {
22
  background: #ffffff;
23
  border-radius: 15px;
@@ -30,18 +28,6 @@ body {
30
  margin: 0 20px;
31
  }
32
 
33
- /* Gaya untuk header */
34
- header {
35
- background-color: black; /* Latar belakang hitam */
36
- color: white; /* Teks berwarna putih */
37
- padding: 20px 0; /* Menambahkan padding atas dan bawah */
38
- text-align: center; /* Menyelaraskan teks di tengah */
39
- font-size: 24px; /* Ukuran font header */
40
- font-weight: bold;
41
- text-transform: uppercase; /* Membuat teks menjadi huruf besar */
42
- }
43
-
44
- /* Gaya untuk judul utama */
45
  h1 {
46
  font-size: 2rem;
47
  margin-bottom: 20px;
@@ -49,7 +35,6 @@ h1 {
49
  font-weight: 600;
50
  }
51
 
52
- /* Gaya untuk input dan select */
53
  input, select {
54
  padding: 12px;
55
  margin: 10px 0;
@@ -72,7 +57,16 @@ input:focus, select:focus {
72
  box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
73
  }
74
 
75
- /* Gaya untuk selector mata uang */
 
 
 
 
 
 
 
 
 
76
  .currency-selectors {
77
  display: flex;
78
  justify-content: center;
@@ -86,7 +80,6 @@ span {
86
  color: #555;
87
  }
88
 
89
- /* Gaya untuk tombol konversi */
90
  button {
91
  padding: 12px 20px;
92
  background-color: #4CAF50;
@@ -104,7 +97,6 @@ button:hover {
104
  background-color: #45a049;
105
  }
106
 
107
- /* Gaya untuk hasil konversi */
108
  #result {
109
  margin-top: 20px;
110
  font-size: 20px;
@@ -117,28 +109,12 @@ button:hover {
117
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
118
  }
119
 
120
- /* Watermark dengan Copyright (di footer) */
121
  body::after {
122
- content: 2025 Teggar Eka Mustaqim Sitanggang";
123
- font-size: 16px;
124
- font-weight: 400;
125
- color: white;
126
- background-color: black;
127
- position: absolute;
128
- bottom: 20px;
129
- left: 50%;
130
- transform: translateX(-50%);
131
- z-index: -1;
132
- opacity: 0.5;
133
- pointer-events: none;
134
- user-select: none;
135
- letter-spacing: 2px;
136
- text-transform: uppercase;
137
- padding: 5px 10px;
138
- border-radius: 5px;
139
  }
140
 
141
- /* Gaya untuk footer */
142
  footer {
143
  background-color: black;
144
  color: white;
 
 
1
  * {
2
  margin: 0;
3
  padding: 0;
4
  box-sizing: border-box;
5
  }
6
 
 
7
  body {
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
 
13
  height: 100vh;
14
  color: #333;
15
  position: relative;
16
+ flex-direction: column;
17
  }
18
 
 
19
  .container {
20
  background: #ffffff;
21
  border-radius: 15px;
 
28
  margin: 0 20px;
29
  }
30
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  h1 {
32
  font-size: 2rem;
33
  margin-bottom: 20px;
 
35
  font-weight: 600;
36
  }
37
 
 
38
  input, select {
39
  padding: 12px;
40
  margin: 10px 0;
 
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;
 
80
  color: #555;
81
  }
82
 
 
83
  button {
84
  padding: 12px 20px;
85
  background-color: #4CAF50;
 
97
  background-color: #45a049;
98
  }
99
 
 
100
  #result {
101
  margin-top: 20px;
102
  font-size: 20px;
 
109
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
110
  }
111
 
112
+ /* Hapus watermark body::after yang muncul sebelumnya */
113
  body::after {
114
+ content: none; /* Menghapus watermark dari body */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  }
116
 
117
+ /* Gaya untuk watermark di footer */
118
  footer {
119
  background-color: black;
120
  color: white;