Update style.css
Browse files
style.css
CHANGED
@@ -8,9 +8,10 @@ body {
|
|
8 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
9 |
background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
|
10 |
display: flex;
|
11 |
-
|
|
|
12 |
align-items: center;
|
13 |
-
height: 100vh;
|
14 |
color: #333;
|
15 |
position: relative;
|
16 |
}
|
@@ -24,7 +25,7 @@ body {
|
|
24 |
max-width: 600px;
|
25 |
text-align: center;
|
26 |
position: relative;
|
27 |
-
margin:
|
28 |
}
|
29 |
|
30 |
h1 {
|
@@ -108,13 +109,15 @@ button:hover {
|
|
108 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
109 |
}
|
110 |
|
111 |
-
/*
|
112 |
footer {
|
|
|
113 |
text-align: center;
|
114 |
-
margin-top: 20px;
|
115 |
padding: 10px 0;
|
116 |
font-size: 14px;
|
117 |
color: #333;
|
|
|
|
|
118 |
}
|
119 |
|
120 |
footer p {
|
|
|
8 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
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 |
}
|
|
|
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 {
|
|
|
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;
|
|
|
116 |
padding: 10px 0;
|
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 {
|