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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +29 -13
style.css CHANGED
@@ -13,7 +13,6 @@ body {
13
  height: 100vh;
14
  color: #333;
15
  position: relative;
16
- flex-direction: column;
17
  }
18
 
19
  .container {
@@ -26,6 +25,7 @@ body {
26
  text-align: center;
27
  position: relative;
28
  margin: 0 20px;
 
29
  }
30
 
31
  h1 {
@@ -109,27 +109,43 @@ button:hover {
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;
121
  text-align: center;
122
- padding: 10px 0;
123
  font-size: 16px;
124
  position: relative;
125
- margin-top: 20px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  }
127
 
128
  /* Responsif untuk Mobile */
129
  @media (max-width: 768px) {
 
 
 
 
130
  .container {
131
- padding: 30px;
132
- max-width: 100%;
133
  }
134
 
135
  h1 {
 
13
  height: 100vh;
14
  color: #333;
15
  position: relative;
 
16
  }
17
 
18
  .container {
 
25
  text-align: center;
26
  position: relative;
27
  margin: 0 20px;
28
+ padding-bottom: 80px; /* Menambah ruang bawah di container agar footer tidak terlalu mepet */
29
  }
30
 
31
  h1 {
 
109
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
110
  }
111
 
112
+ /* Styling untuk Footer */
 
 
 
 
 
113
  footer {
114
+ background-color: black; /* Warna hitam untuk footer */
115
+ color: white; /* Warna tulisan di dalam footer menjadi putih */
116
  text-align: center;
117
+ padding: 30px 0; /* Menambahkan jarak atas dan bawah lebih besar untuk footer */
118
  font-size: 16px;
119
  position: relative;
120
+ margin-top: 40px; /* Memberikan jarak antara footer dan konten */
121
+ }
122
+
123
+ /* Watermark dengan Copyright */
124
+ footer::before {
125
+ content: "© 2025 Teggar Eka Mustaqim Sitanggang";
126
+ font-size: 16px;
127
+ font-weight: 400;
128
+ color: rgba(255, 255, 255, 0.5);
129
+ position: absolute;
130
+ bottom: 0;
131
+ left: 50%;
132
+ transform: translateX(-50%);
133
+ z-index: -1;
134
+ opacity: 0.7;
135
+ pointer-events: none;
136
+ user-select: none;
137
+ letter-spacing: 1px;
138
+ text-transform: uppercase;
139
  }
140
 
141
  /* Responsif untuk Mobile */
142
  @media (max-width: 768px) {
143
+ footer {
144
+ padding: 20px 0; /* Mengurangi padding di footer untuk tampilan mobile */
145
+ }
146
+
147
  .container {
148
+ padding-bottom: 60px; /* Menambah ruang bawah untuk footer di tampilan mobile */
 
149
  }
150
 
151
  h1 {