GarGerry commited on
Commit
49e1857
·
verified ·
1 Parent(s): 87a1f86

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +22 -9
style.css CHANGED
@@ -14,7 +14,25 @@ body {
14
  min-height: 100vh;
15
  color: #333;
16
  position: relative;
17
- padding-top: 20px; /* Menambahkan ruang untuk header */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
20
  .container {
@@ -25,15 +43,8 @@ body {
25
  width: 100%;
26
  max-width: 600px;
27
  text-align: center;
28
- position: relative;
29
- margin-bottom: 20px;
30
- }
31
-
32
- h1 {
33
- font-size: 2rem;
34
  margin-bottom: 20px;
35
- color: #2D3A3A;
36
- font-weight: 600;
37
  }
38
 
39
  input, select {
@@ -116,6 +127,8 @@ footer {
116
  color: #333;
117
  background-color: #fff;
118
  border-top: 1px solid #ddd;
 
 
119
  }
120
 
121
  footer p {
 
14
  min-height: 100vh;
15
  color: #333;
16
  position: relative;
17
+ padding-top: 40px; /* Memberikan ruang pada bagian atas untuk header */
18
+ }
19
+
20
+ header {
21
+ width: 100%;
22
+ text-align: center;
23
+ padding: 20px;
24
+ background-color: #ffffff;
25
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
26
+ position: absolute; /* Agar header tetap di atas */
27
+ top: 0;
28
+ left: 0;
29
+ z-index: 100;
30
+ }
31
+
32
+ header h1 {
33
+ font-size: 2rem;
34
+ color: #2D3A3A;
35
+ font-weight: 600;
36
  }
37
 
38
  .container {
 
43
  width: 100%;
44
  max-width: 600px;
45
  text-align: center;
46
+ margin-top: 100px; /* Menambahkan jarak di atas container agar tidak tertutup header */
 
 
 
 
 
47
  margin-bottom: 20px;
 
 
48
  }
49
 
50
  input, select {
 
127
  color: #333;
128
  background-color: #fff;
129
  border-top: 1px solid #ddd;
130
+ position: fixed;
131
+ bottom: 0;
132
  }
133
 
134
  footer p {