Update style.css
Browse files
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 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
margin-top: 5px;
|
| 59 |
-
border-radius: 5px;
|
| 60 |
-
border: none;
|
| 61 |
-
background: #444444;
|
| 62 |
-
color: #f2f2f2;
|
| 63 |
}
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
| 67 |
}
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 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 |
-
|
| 83 |
-
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
font-size: 16px;
|
| 89 |
}
|
| 90 |
|
| 91 |
-
/* Footer */
|
| 92 |
.footer {
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 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 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|