Update style.css
Browse files
style.css
CHANGED
@@ -13,15 +13,16 @@ body {
|
|
13 |
align-items: center;
|
14 |
height: 100vh;
|
15 |
color: #333;
|
|
|
16 |
}
|
17 |
|
18 |
.container {
|
19 |
background: #ffffff;
|
20 |
border-radius: 15px;
|
21 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
22 |
-
padding:
|
23 |
width: 100%;
|
24 |
-
max-width:
|
25 |
}
|
26 |
|
27 |
header h1 {
|
@@ -40,7 +41,7 @@ label {
|
|
40 |
}
|
41 |
|
42 |
input {
|
43 |
-
padding:
|
44 |
width: 100%;
|
45 |
font-size: 16px;
|
46 |
border-radius: 8px;
|
@@ -76,13 +77,13 @@ input {
|
|
76 |
color: #007BFF;
|
77 |
border: 2px solid #ccc;
|
78 |
border-radius: 50%; /* Bulat sempurna */
|
79 |
-
width:
|
80 |
-
height:
|
81 |
display: flex;
|
82 |
justify-content: center;
|
83 |
align-items: center;
|
84 |
cursor: pointer;
|
85 |
-
font-size:
|
86 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
87 |
transition: background-color 0.3s ease;
|
88 |
}
|
@@ -104,7 +105,7 @@ input {
|
|
104 |
}
|
105 |
|
106 |
button[type="submit"] {
|
107 |
-
padding:
|
108 |
background-color: #007BFF;
|
109 |
color: white;
|
110 |
border: none;
|
@@ -124,3 +125,28 @@ footer {
|
|
124 |
color: #666;
|
125 |
text-align: center;
|
126 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
align-items: center;
|
14 |
height: 100vh;
|
15 |
color: #333;
|
16 |
+
padding: 10px;
|
17 |
}
|
18 |
|
19 |
.container {
|
20 |
background: #ffffff;
|
21 |
border-radius: 15px;
|
22 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
23 |
+
padding: 30px;
|
24 |
width: 100%;
|
25 |
+
max-width: 400px; /* Lebih besar dan proporsional */
|
26 |
}
|
27 |
|
28 |
header h1 {
|
|
|
41 |
}
|
42 |
|
43 |
input {
|
44 |
+
padding: 15px;
|
45 |
width: 100%;
|
46 |
font-size: 16px;
|
47 |
border-radius: 8px;
|
|
|
77 |
color: #007BFF;
|
78 |
border: 2px solid #ccc;
|
79 |
border-radius: 50%; /* Bulat sempurna */
|
80 |
+
width: 50px; /* Lebih besar */
|
81 |
+
height: 50px; /* Lebih besar */
|
82 |
display: flex;
|
83 |
justify-content: center;
|
84 |
align-items: center;
|
85 |
cursor: pointer;
|
86 |
+
font-size: 20px; /* Lebih besar */
|
87 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
88 |
transition: background-color 0.3s ease;
|
89 |
}
|
|
|
105 |
}
|
106 |
|
107 |
button[type="submit"] {
|
108 |
+
padding: 15px;
|
109 |
background-color: #007BFF;
|
110 |
color: white;
|
111 |
border: none;
|
|
|
125 |
color: #666;
|
126 |
text-align: center;
|
127 |
}
|
128 |
+
|
129 |
+
/* Responsiveness */
|
130 |
+
@media (max-width: 768px) {
|
131 |
+
.container {
|
132 |
+
padding: 20px;
|
133 |
+
max-width: 95%; /* Memastikan responsif pada layar kecil */
|
134 |
+
}
|
135 |
+
|
136 |
+
#swapButton {
|
137 |
+
width: 45px; /* Sedikit lebih kecil untuk mobile */
|
138 |
+
height: 45px;
|
139 |
+
font-size: 18px;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
@media (min-width: 769px) {
|
144 |
+
.container {
|
145 |
+
max-width: 500px; /* Sedikit lebih besar untuk desktop */
|
146 |
+
}
|
147 |
+
|
148 |
+
#swapButton {
|
149 |
+
width: 50px;
|
150 |
+
height: 50px;
|
151 |
+
}
|
152 |
+
}
|