GarGerry commited on
Commit
417f3d8
·
verified ·
1 Parent(s): d58e416

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +30 -23
style.css CHANGED
@@ -6,7 +6,7 @@
6
 
7
  body {
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;
@@ -18,29 +18,31 @@ body {
18
  .container {
19
  background: #ffffff;
20
  border-radius: 15px;
21
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
22
  padding: 40px;
23
- width: 350px;
24
  text-align: center;
25
- position: relative; /* Agar watermark tidak mengganggu elemen di dalam container */
 
 
26
  }
27
 
28
  h1 {
29
- font-size: 26px;
30
- margin-bottom: 20px;
31
- color: #2D3A3A;
32
- font-weight: 600;
33
  }
34
 
35
  input, select {
36
- padding: 12px;
37
- margin: 10px 0;
38
  width: 100%;
39
- font-size: 16px;
40
  border-radius: 8px;
41
  border: 1px solid #E0E0E0;
42
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
43
- transition: all 0.3s ease;
44
  }
45
 
46
  input:focus, select:focus {
@@ -53,35 +55,40 @@ input:focus, select:focus {
53
  display: flex;
54
  justify-content: center;
55
  align-items: center;
56
- gap: 10px;
57
  }
58
 
59
  span {
60
- font-size: 18px;
61
  font-weight: 500;
62
- color: #555;
63
  }
64
 
65
  button {
66
- padding: 12px 20px;
67
  background-color: #4CAF50;
68
  color: white;
69
  border: none;
70
  border-radius: 8px;
71
  width: 100%;
72
- font-size: 18px;
73
  font-weight: 600;
74
  cursor: pointer;
75
- transition: background-color 0.3s ease;
76
  }
77
 
78
  button:hover {
79
  background-color: #45a049;
 
 
 
 
 
80
  }
81
 
82
  #result {
83
  margin-top: 20px;
84
- font-size: 20px;
85
  font-weight: bold;
86
  color: #333;
87
  text-transform: uppercase;
@@ -92,14 +99,14 @@ body::after {
92
  content: "© 2025 Powered by Teggar";
93
  font-size: 16px;
94
  font-weight: 400;
95
- color: rgba(0, 0, 0, 0.2); /* Transparansi untuk watermark */
96
  position: absolute;
97
  bottom: 20px;
98
  left: 50%;
99
  transform: translateX(-50%);
100
  z-index: -1; /* Agar watermark berada di belakang konten */
101
- opacity: 0.5; /* Efek transparansi */
102
- pointer-events: none; /* Agar watermark tidak menghalangi interaksi dengan elemen lain */
103
  user-select: none;
104
  letter-spacing: 2px;
105
  text-transform: uppercase;
 
6
 
7
  body {
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ background: linear-gradient(135deg, #E5E5E5, #D1D1D1); /* Perubahan gradien agar lebih halus */
10
  display: flex;
11
  justify-content: center;
12
  align-items: center;
 
18
  .container {
19
  background: #ffffff;
20
  border-radius: 15px;
21
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Efek bayangan lebih tegas */
22
  padding: 40px;
23
+ width: 400px; /* Ukuran container sedikit lebih besar */
24
  text-align: center;
25
+ position: relative;
26
+ overflow: hidden;
27
+ z-index: 1; /* Agar watermark berada di belakang */
28
  }
29
 
30
  h1 {
31
+ font-size: 30px; /* Membuat judul lebih besar */
32
+ margin-bottom: 25px;
33
+ color: #4CAF50; /* Warna hijau yang lebih segar */
34
+ font-weight: 700; /* Berat font lebih tebal */
35
  }
36
 
37
  input, select {
38
+ padding: 14px;
39
+ margin: 15px 0;
40
  width: 100%;
41
+ font-size: 18px; /* Ukuran font lebih besar */
42
  border-radius: 8px;
43
  border: 1px solid #E0E0E0;
44
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Bayangan lebih soft */
45
+ transition: all 0.3s ease-in-out;
46
  }
47
 
48
  input:focus, select:focus {
 
55
  display: flex;
56
  justify-content: center;
57
  align-items: center;
58
+ gap: 15px;
59
  }
60
 
61
  span {
62
+ font-size: 20px;
63
  font-weight: 500;
64
+ color: #777;
65
  }
66
 
67
  button {
68
+ padding: 14px 24px;
69
  background-color: #4CAF50;
70
  color: white;
71
  border: none;
72
  border-radius: 8px;
73
  width: 100%;
74
+ font-size: 20px; /* Ukuran font lebih besar */
75
  font-weight: 600;
76
  cursor: pointer;
77
+ transition: background-color 0.3s ease, transform 0.3s ease;
78
  }
79
 
80
  button:hover {
81
  background-color: #45a049;
82
+ transform: translateY(-2px); /* Efek tombol bergerak sedikit saat hover */
83
+ }
84
+
85
+ button:active {
86
+ transform: translateY(1px); /* Efek tombol sedikit tertekan */
87
  }
88
 
89
  #result {
90
  margin-top: 20px;
91
+ font-size: 24px; /* Ukuran font lebih besar */
92
  font-weight: bold;
93
  color: #333;
94
  text-transform: uppercase;
 
99
  content: "© 2025 Powered by Teggar";
100
  font-size: 16px;
101
  font-weight: 400;
102
+ color: rgba(0, 0, 0, 0.3); /* Transparansi untuk watermark */
103
  position: absolute;
104
  bottom: 20px;
105
  left: 50%;
106
  transform: translateX(-50%);
107
  z-index: -1; /* Agar watermark berada di belakang konten */
108
+ opacity: 0.4;
109
+ pointer-events: none;
110
  user-select: none;
111
  letter-spacing: 2px;
112
  text-transform: uppercase;