GarGerry commited on
Commit
1d98a22
·
verified ·
1 Parent(s): 271f097

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +34 -38
style.css CHANGED
@@ -8,8 +8,7 @@ body {
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
- flex-direction: column; /* Menambahkan flex-direction column untuk memastikan footer di bawah */
12
- justify-content: flex-start;
13
  align-items: center;
14
  height: 100vh;
15
  color: #333;
@@ -26,14 +25,32 @@ body {
26
  text-align: center;
27
  position: relative;
28
  margin: 0 20px;
29
- flex-grow: 1; /* Memberikan ruang untuk footer agar berada di bawah konten */
30
  }
31
 
32
- h1 {
33
- font-size: 2rem;
34
  margin-bottom: 20px;
 
 
 
 
35
  color: #2D3A3A;
36
  font-weight: 600;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
 
39
  input, select {
@@ -45,9 +62,9 @@ input, select {
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; /* Menghapus tampilan default dropdown */
49
- -webkit-appearance: none; /* Untuk Safari */
50
- -moz-appearance: none; /* Untuk Firefox */
51
  background-color: #fff;
52
  color: #555;
53
  }
@@ -60,14 +77,13 @@ input:focus, select:focus {
60
 
61
  /* Gaya untuk elemen select agar lebih modern */
62
  select {
63
- background-image: url('https://img.icons8.com/ios/452/down-squared.png'); /* Ikon dropdown */
64
  background-repeat: no-repeat;
65
  background-position: right 10px center;
66
  background-size: 16px;
67
- padding-right: 40px; /* Memberikan ruang untuk ikon di kanan */
68
  }
69
 
70
- /* Styling untuk selector mata uang */
71
  .currency-selectors {
72
  display: flex;
73
  justify-content: center;
@@ -110,43 +126,23 @@ button:hover {
110
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
111
  }
112
 
113
- /* Styling untuk Footer */
114
  footer {
115
- background-color: black; /* Warna hitam untuk footer */
116
- color: white; /* Warna tulisan di dalam footer menjadi putih */
117
- text-align: center;
118
- padding: 30px 0; /* Menambahkan jarak atas dan bawah lebih besar untuk footer */
119
  font-size: 16px;
120
- margin-top: 40px; /* Memberikan jarak antara footer dan konten */
121
- width: 100%; /* Memastikan footer mengambil lebar penuh */
122
  }
123
 
124
- /* Watermark dengan Copyright */
125
- footer::before {
126
- content: "© 2025 Teggar Eka Mustaqim Sitanggang";
127
- font-size: 16px;
128
  font-weight: 400;
129
- color: rgba(255, 255, 255, 0.5);
130
- position: absolute;
131
- bottom: 0;
132
- left: 50%;
133
- transform: translateX(-50%);
134
- z-index: -1;
135
- opacity: 0.7;
136
- pointer-events: none;
137
- user-select: none;
138
- letter-spacing: 1px;
139
- text-transform: uppercase;
140
  }
141
 
142
  /* Responsif untuk Mobile */
143
  @media (max-width: 768px) {
144
- footer {
145
- padding: 20px 0; /* Mengurangi padding di footer untuk tampilan mobile */
146
- }
147
-
148
  .container {
149
- padding-bottom: 60px; /* Menambah ruang bawah untuk footer di tampilan mobile */
 
150
  }
151
 
152
  h1 {
 
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
+ justify-content: center;
 
12
  align-items: center;
13
  height: 100vh;
14
  color: #333;
 
25
  text-align: center;
26
  position: relative;
27
  margin: 0 20px;
 
28
  }
29
 
30
+ header {
 
31
  margin-bottom: 20px;
32
+ }
33
+
34
+ h1 {
35
+ font-size: 2.5rem;
36
  color: #2D3A3A;
37
  font-weight: 600;
38
+ animation: slideIn 2s ease-out;
39
+ }
40
+
41
+ /* Efek animasi untuk header */
42
+ @keyframes slideIn {
43
+ 0% {
44
+ transform: translateX(-100%);
45
+ opacity: 0;
46
+ }
47
+ 50% {
48
+ opacity: 0.5;
49
+ }
50
+ 100% {
51
+ transform: translateX(0);
52
+ opacity: 1;
53
+ }
54
  }
55
 
56
  input, select {
 
62
  border: 1px solid #E0E0E0;
63
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
64
  transition: all 0.3s ease;
65
+ appearance: none;
66
+ -webkit-appearance: none;
67
+ -moz-appearance: none;
68
  background-color: #fff;
69
  color: #555;
70
  }
 
77
 
78
  /* Gaya untuk elemen select agar lebih modern */
79
  select {
80
+ background-image: url('https://img.icons8.com/ios/452/down-squared.png');
81
  background-repeat: no-repeat;
82
  background-position: right 10px center;
83
  background-size: 16px;
84
+ padding-right: 40px;
85
  }
86
 
 
87
  .currency-selectors {
88
  display: flex;
89
  justify-content: center;
 
126
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
127
  }
128
 
 
129
  footer {
130
+ margin-top: 40px;
 
 
 
131
  font-size: 16px;
132
+ color: #555;
133
+ text-align: center;
134
  }
135
 
136
+ footer p {
137
+ margin: 0;
 
 
138
  font-weight: 400;
 
 
 
 
 
 
 
 
 
 
 
139
  }
140
 
141
  /* Responsif untuk Mobile */
142
  @media (max-width: 768px) {
 
 
 
 
143
  .container {
144
+ padding: 30px;
145
+ max-width: 100%;
146
  }
147
 
148
  h1 {