GarGerry commited on
Commit
20113a4
·
verified ·
1 Parent(s): 49e1857

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +6 -5
style.css CHANGED
@@ -8,13 +8,13 @@ body {
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;
13
  align-items: center;
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 {
@@ -23,10 +23,11 @@ header {
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 {
@@ -43,7 +44,7 @@ header h1 {
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
 
@@ -126,7 +127,7 @@ footer {
126
  font-size: 14px;
127
  color: #333;
128
  background-color: #fff;
129
- border-top: 1px solid #ddd;
130
  position: fixed;
131
  bottom: 0;
132
  }
 
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
+ flex-direction: column;
12
  justify-content: flex-start;
13
  align-items: center;
14
  min-height: 100vh;
15
  color: #333;
16
  position: relative;
17
+ padding-top: 40px;
18
  }
19
 
20
  header {
 
23
  padding: 20px;
24
  background-color: #ffffff;
25
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
26
+ position: absolute;
27
  top: 0;
28
  left: 0;
29
  z-index: 100;
30
+ border-bottom: 2px solid #ddd; /* Garis batas bawah untuk header */
31
  }
32
 
33
  header h1 {
 
44
  width: 100%;
45
  max-width: 600px;
46
  text-align: center;
47
+ margin-top: 100px;
48
  margin-bottom: 20px;
49
  }
50
 
 
127
  font-size: 14px;
128
  color: #333;
129
  background-color: #fff;
130
+ border-top: 2px solid #ddd; /* Garis batas atas untuk footer */
131
  position: fixed;
132
  bottom: 0;
133
  }