GarGerry commited on
Commit
0dd457c
·
verified ·
1 Parent(s): c03d935

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +37 -108
style.css CHANGED
@@ -1,125 +1,54 @@
1
- /* General Styles */
2
- body {
3
- font-family: Arial, sans-serif;
4
- margin: 0;
5
- padding: 0;
6
- background-color: #1e1e1e; /* Background gelap sesuai contoh */
7
- background-image: url('assets/background-pattern.png'); /* Tambahkan pola latar belakang */
8
- background-size: cover;
9
- background-repeat: no-repeat;
10
- color: #f2f2f2;
11
- text-align: center;
12
- }
13
-
14
- /* Header */
15
- .header {
16
- background-color: #292929; /* Warna header */
17
- padding: 10px;
18
- font-size: 14px;
19
- }
20
-
21
- .header a {
22
- color: #ffb300; /* Warna teks header */
23
- text-decoration: none;
24
- }
25
-
26
- /* Logo */
27
- .logo img {
28
- display: block;
29
- margin: 20px auto;
30
- width: 60px;
31
- height: 60px; /* Sesuai ukuran logo pada contoh */
32
- }
33
-
34
- /* Container */
35
- .container {
36
- max-width: 400px;
37
- margin: 20px auto;
38
- background: #333333; /* Warna kotak form */
39
- padding: 20px;
40
- border-radius: 10px;
41
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
42
- }
43
 
44
- form {
45
- text-align: left;
 
 
 
 
 
 
46
  }
47
 
48
- label {
49
- display: block;
50
- margin-top: 10px;
51
- font-size: 14px;
52
- font-weight: bold;
 
 
 
 
53
  }
54
 
55
- input {
56
- width: 100%;
57
- padding: 10px;
58
- margin-top: 5px;
59
- border-radius: 5px;
60
- border: none;
61
- background: #444444;
62
- color: #f2f2f2;
63
  }
64
 
65
- input::placeholder {
66
- color: #aaa; /* Warna placeholder */
 
 
67
  }
68
 
69
- button {
70
- width: 100%;
71
- padding: 12px;
72
- margin-top: 20px;
73
- background: #ff9800;
74
- color: #fff;
75
- font-weight: bold;
76
- font-size: 16px;
77
- border: none;
78
- border-radius: 5px;
79
- cursor: pointer;
80
  }
81
 
82
- button:hover {
83
- background: #e68a00;
 
 
84
  }
85
 
86
- #result {
87
- margin-top: 20px;
88
- font-size: 16px;
89
  }
90
 
91
- /* Footer */
92
  .footer {
93
- margin-top: 20px;
94
- padding: 15px;
95
- font-size: 14px;
96
- color: #ff9800; /* Warna teks footer */
97
- }
98
-
99
- .footer p {
100
- margin: 5px 0;
101
- }
102
-
103
- /* Social Icons */
104
- .social-icons {
105
- display: flex;
106
- justify-content: center;
107
- margin-top: 10px;
108
  }
109
-
110
- .social-icons a {
111
- margin: 0 10px;
112
- }
113
-
114
- .social-icons img {
115
- width: 28px;
116
- height: 28px; /* Ukuran ikon sesuai */
117
- filter: invert(80%); /* Menyesuaikan warna ikon */
118
- }
119
-
120
- /* Watermark */
121
- .watermark {
122
- margin-top: 20px;
123
- font-size: 12px;
124
- color: #888888; /* Warna watermark sesuai */
125
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
+ /* General Reset */
3
+ body, html {
4
+ margin: 0;
5
+ padding: 0;
6
+ box-sizing: border-box;
7
+ font-family: Arial, sans-serif;
8
+ background: black;
9
+ color: white;
10
  }
11
 
12
+ .header {
13
+ display: flex;
14
+ justify-content: space-between;
15
+ align-items: center;
16
+ padding: 10px 20px;
17
+ background: rgba(0, 0, 0, 0.8);
18
+ position: sticky;
19
+ top: 0;
20
+ z-index: 1000;
21
  }
22
 
23
+ .logo {
24
+ font-size: 24px;
25
+ font-weight: bold;
 
 
 
 
 
26
  }
27
 
28
+ .nav-menu ul {
29
+ list-style: none;
30
+ display: flex;
31
+ gap: 20px;
32
  }
33
 
34
+ .nav-menu a {
35
+ text-decoration: none;
36
+ color: white;
37
+ font-weight: bold;
 
 
 
 
 
 
 
38
  }
39
 
40
+ .section {
41
+ padding: 50px 20px;
42
+ text-align: center;
43
+ border-bottom: 1px solid rgba(255, 255, 255, 0.2);
44
  }
45
 
46
+ .portfolio-item {
47
+ margin: 20px 0;
 
48
  }
49
 
 
50
  .footer {
51
+ text-align: center;
52
+ padding: 20px;
53
+ background: rgba(0, 0, 0, 0.9);
 
 
 
 
 
 
 
 
 
 
 
 
54
  }