-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c210a0b
commit f0a7a64
Showing
28 changed files
with
1,059 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const nav = document.getElementById("nav"); | ||
|
||
// ketika scrool dijalankan | ||
window.addEventListener("scroll", function () { | ||
scrollposition = window.scrollY; | ||
// pengkondisian! if else if | ||
if (scrollposition >= 60) { | ||
nav.classList.add("nav-dark"); | ||
|
||
// ketika di scrool ke atas balik lagi transparan | ||
} else if (scrollposition <= 60) { | ||
nav.classList.remove("nav-dark"); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,220 @@ | ||
:root { | ||
--mainColor: #252734; | ||
--secondaryColor: #333646; | ||
--acsentColor: #ff9100; | ||
} | ||
|
||
body { | ||
background-color: var(--mainColor); | ||
min-height: 900px; | ||
font-family: "ubuntu", sans-serif; | ||
} | ||
|
||
section h1 { | ||
color: #ffff; | ||
font-size: 2.5rem; | ||
} | ||
|
||
/* navbar */ | ||
.nav-link.active { | ||
color: var(--acsentColor) !important; | ||
font-weight: 700; | ||
} | ||
|
||
.nav-dark { | ||
background-color: var(--secondaryColor) !important; | ||
z-index: 10; | ||
transition: 0.9s; | ||
} | ||
/* end navbar */ | ||
|
||
/* hero */ | ||
.color-acsent { | ||
color: var(--acsentColor); | ||
} | ||
|
||
#hero { | ||
color: #ffff; | ||
min-height: 100vh; | ||
padding-top: 75px; | ||
} | ||
|
||
#hero h1 { | ||
font-size: 3rem; | ||
} | ||
|
||
#hero h2 { | ||
font-weight: 300; | ||
} | ||
|
||
#hero p { | ||
font-size: 1.1rem; | ||
font-weight: 300; | ||
} | ||
|
||
/* cta */ | ||
.btn-custom1 { | ||
background-color: var(--acsentColor); | ||
text-align: center; | ||
color: #ffff; | ||
min-width: 150px; | ||
height: 45px; | ||
font-weight: 700; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.btn-custom1:hover { | ||
box-shadow: 0 0 5px rgba(255, 166, 0, 0.8); | ||
} | ||
|
||
.cv { | ||
color: #ffff; | ||
cursor: pointer; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.social-icons svg { | ||
margin-right: 0.7em; | ||
margin-bottom: 10px; | ||
} | ||
|
||
/* about */ | ||
hr { | ||
width: 35%; | ||
height: 5px; | ||
color: var(--acsentColor); | ||
margin: 0 auto; | ||
opacity: 100%; | ||
} | ||
|
||
#about { | ||
min-height: 300px; | ||
width: 100%; | ||
background-color: var(--secondaryColor); | ||
color: #ffff; | ||
padding-top: 80px; | ||
padding-bottom: 80px; | ||
margin-bottom: 80px; | ||
} | ||
/* end about */ | ||
|
||
/* skil */ | ||
#skill { | ||
min-height: 600px; | ||
width: 100%; | ||
color: #ffff; | ||
} | ||
|
||
#skill img { | ||
width: 11%; | ||
margin: 10px; | ||
} | ||
|
||
#skill .card { | ||
background-color: #414558; | ||
height: 340px; | ||
} | ||
|
||
#skill .card:hover { | ||
background-color: var(--acsentColor); | ||
} | ||
|
||
.skill-konten { | ||
margin-top: 120px; | ||
} | ||
/* end skil */ | ||
|
||
/* serifikat start */ | ||
#sertifikat { | ||
margin-top: -170; | ||
padding-top: 270px; | ||
padding-bottom: 80px; | ||
background-color: var(--secondaryColor); | ||
} | ||
|
||
#sertifikat p, | ||
a { | ||
color: #ffff !important; | ||
text-decoration: none; | ||
} | ||
|
||
#sertifikat img { | ||
width: 49%; | ||
padding: 10px; | ||
} | ||
/* Yang abis ditambahkan */ | ||
#sertifikat img:hover { | ||
background-color: white; | ||
} | ||
/* serifikat end */ | ||
|
||
/* galery */ | ||
#portolio .container { | ||
padding: 80px 10px; | ||
} | ||
/* end */ | ||
|
||
/*-- Media Queries and Responsive breakpoints */ | ||
|
||
@media screen and (max-width: 1200px) { | ||
#hero p { | ||
font-size: 0.9rem; | ||
} | ||
#hero h1 { | ||
font-size: 2.3rem; | ||
} | ||
} | ||
@media screen and (max-width: 768px) { | ||
#hero img { | ||
width: 60%; | ||
} | ||
.social-icons { | ||
left: 50%; | ||
transform: translate(-50%); | ||
} | ||
|
||
#hero .row { | ||
padding-bottom: 85px; | ||
} | ||
|
||
.btn-custom1 { | ||
width: 80%; | ||
} | ||
|
||
#about p { | ||
text-align: justify !important; | ||
} | ||
#skill .card h3 { | ||
font-size: 1.3rem; | ||
} | ||
|
||
#skill .card { | ||
padding-left: 30px !important; | ||
padding-right: 30px !important; | ||
margin-top: 20px; | ||
} | ||
} | ||
@media screen and (max-width: 576px) { | ||
hr { | ||
width: 75%; | ||
} | ||
|
||
h1 { | ||
font-size: 2rem !important; | ||
} | ||
|
||
footer img { | ||
width: 75px; | ||
} | ||
|
||
footer p { | ||
font-size: 0.8rem; | ||
} | ||
} | ||
@media screen and (max-width: 350px) { | ||
#portofolio .col-md-12 { | ||
flex-direction: column; | ||
|
||
} | ||
} | ||
/*--Media Queries and Responsive breakpoints selesai!-- */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.