Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,44 +1,56 @@
|
|
| 1 |
-
/*
|
| 2 |
* {
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
box-sizing: border-box;
|
| 6 |
}
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
/* Navbar */
|
| 9 |
.navbar {
|
| 10 |
display: flex;
|
| 11 |
justify-content: space-between;
|
| 12 |
align-items: center;
|
|
|
|
| 13 |
padding: 10px 20px;
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
position: sticky;
|
| 17 |
top: 0;
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
.navbar .logo img {
|
| 21 |
-
|
| 22 |
}
|
| 23 |
|
| 24 |
-
.navbar ul {
|
| 25 |
list-style: none;
|
| 26 |
display: flex;
|
| 27 |
gap: 20px;
|
| 28 |
}
|
| 29 |
|
| 30 |
-
.navbar ul li a {
|
| 31 |
text-decoration: none;
|
| 32 |
-
color:
|
| 33 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
/* Headline Section */
|
| 37 |
.headline {
|
| 38 |
text-align: center;
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
padding: 50px 20px;
|
| 42 |
}
|
| 43 |
|
| 44 |
.headline h1 {
|
|
@@ -53,71 +65,73 @@
|
|
| 53 |
/* Portfolio Section */
|
| 54 |
.portfolio-section {
|
| 55 |
padding: 50px 20px;
|
| 56 |
-
background
|
| 57 |
-
color: white;
|
| 58 |
-
text-align: center;
|
| 59 |
}
|
| 60 |
|
| 61 |
.portfolio-section h2 {
|
| 62 |
-
|
| 63 |
margin-bottom: 30px;
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
.portfolio-item {
|
| 67 |
-
margin-bottom:
|
| 68 |
}
|
| 69 |
|
| 70 |
.portfolio-item h3 {
|
| 71 |
-
font-size: 1.
|
| 72 |
margin-bottom: 20px;
|
|
|
|
|
|
|
| 73 |
}
|
| 74 |
|
| 75 |
-
.assets,
|
|
|
|
| 76 |
display: flex;
|
| 77 |
justify-content: center;
|
| 78 |
-
gap:
|
| 79 |
}
|
| 80 |
|
| 81 |
.asset, .partner {
|
| 82 |
text-align: center;
|
| 83 |
-
max-width: 100px;
|
| 84 |
}
|
| 85 |
|
| 86 |
.asset img, .partner img {
|
| 87 |
-
|
| 88 |
margin-bottom: 10px;
|
| 89 |
}
|
| 90 |
|
| 91 |
-
.asset p {
|
| 92 |
-
font-size: 0.9rem;
|
| 93 |
-
}
|
| 94 |
-
|
| 95 |
/* Footer */
|
| 96 |
footer {
|
| 97 |
-
background-color: #
|
| 98 |
-
color:
|
|
|
|
| 99 |
text-align: center;
|
| 100 |
-
padding: 20px 10px;
|
| 101 |
}
|
| 102 |
|
| 103 |
footer h4 {
|
| 104 |
-
margin-bottom:
|
| 105 |
}
|
| 106 |
|
| 107 |
footer ul {
|
| 108 |
list-style: none;
|
| 109 |
padding: 0;
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
|
|
|
| 113 |
}
|
| 114 |
|
| 115 |
footer ul li a {
|
| 116 |
-
color:
|
| 117 |
text-decoration: none;
|
| 118 |
}
|
| 119 |
|
| 120 |
-
footer
|
| 121 |
-
|
| 122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
}
|
|
|
|
| 1 |
+
/* Reset dasar */
|
| 2 |
* {
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
box-sizing: border-box;
|
| 6 |
}
|
| 7 |
|
| 8 |
+
body {
|
| 9 |
+
font-family: Arial, sans-serif;
|
| 10 |
+
color: #333;
|
| 11 |
+
line-height: 1.6;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
/* Navbar */
|
| 15 |
.navbar {
|
| 16 |
display: flex;
|
| 17 |
justify-content: space-between;
|
| 18 |
align-items: center;
|
| 19 |
+
background-color: #0b3d91;
|
| 20 |
padding: 10px 20px;
|
| 21 |
+
color: #fff;
|
| 22 |
+
position: fixed;
|
|
|
|
| 23 |
top: 0;
|
| 24 |
+
width: 100%;
|
| 25 |
+
z-index: 1000;
|
| 26 |
}
|
| 27 |
|
| 28 |
.navbar .logo img {
|
| 29 |
+
height: 50px;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
.navbar nav ul {
|
| 33 |
list-style: none;
|
| 34 |
display: flex;
|
| 35 |
gap: 20px;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
.navbar nav ul li a {
|
| 39 |
text-decoration: none;
|
| 40 |
+
color: #fff;
|
| 41 |
font-weight: bold;
|
| 42 |
+
transition: color 0.3s ease;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.navbar nav ul li a:hover {
|
| 46 |
+
color: #f0a500;
|
| 47 |
}
|
| 48 |
|
| 49 |
/* Headline Section */
|
| 50 |
.headline {
|
| 51 |
text-align: center;
|
| 52 |
+
padding: 100px 20px; /* Menambahkan padding agar tidak terhalang navbar */
|
| 53 |
+
background: #f4f4f4;
|
|
|
|
| 54 |
}
|
| 55 |
|
| 56 |
.headline h1 {
|
|
|
|
| 65 |
/* Portfolio Section */
|
| 66 |
.portfolio-section {
|
| 67 |
padding: 50px 20px;
|
| 68 |
+
background: #fff;
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
|
| 71 |
.portfolio-section h2 {
|
| 72 |
+
text-align: center;
|
| 73 |
margin-bottom: 30px;
|
| 74 |
+
font-size: 2rem;
|
| 75 |
}
|
| 76 |
|
| 77 |
.portfolio-item {
|
| 78 |
+
margin-bottom: 50px;
|
| 79 |
}
|
| 80 |
|
| 81 |
.portfolio-item h3 {
|
| 82 |
+
font-size: 1.8rem;
|
| 83 |
margin-bottom: 20px;
|
| 84 |
+
text-align: left;
|
| 85 |
+
color: #0b3d91;
|
| 86 |
}
|
| 87 |
|
| 88 |
+
.assets,
|
| 89 |
+
.partners {
|
| 90 |
display: flex;
|
| 91 |
justify-content: center;
|
| 92 |
+
gap: 30px;
|
| 93 |
}
|
| 94 |
|
| 95 |
.asset, .partner {
|
| 96 |
text-align: center;
|
|
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.asset img, .partner img {
|
| 100 |
+
height: 50px;
|
| 101 |
margin-bottom: 10px;
|
| 102 |
}
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
/* Footer */
|
| 105 |
footer {
|
| 106 |
+
background-color: #333;
|
| 107 |
+
color: #fff;
|
| 108 |
+
padding: 30px 20px;
|
| 109 |
text-align: center;
|
|
|
|
| 110 |
}
|
| 111 |
|
| 112 |
footer h4 {
|
| 113 |
+
margin-bottom: 15px;
|
| 114 |
}
|
| 115 |
|
| 116 |
footer ul {
|
| 117 |
list-style: none;
|
| 118 |
padding: 0;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
footer ul li {
|
| 122 |
+
margin: 5px 0;
|
| 123 |
}
|
| 124 |
|
| 125 |
footer ul li a {
|
| 126 |
+
color: #f0a500;
|
| 127 |
text-decoration: none;
|
| 128 |
}
|
| 129 |
|
| 130 |
+
footer ul li a:hover {
|
| 131 |
+
text-decoration: underline;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
footer .copyright {
|
| 135 |
+
margin-top: 20px;
|
| 136 |
+
font-size: 0.9rem;
|
| 137 |
}
|