Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 161 additions & 1 deletion assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,164 @@ a {
width: 80%;
color: #C8D6E5;
display: inline-block;
}
}

/* CSS PortFolio ya man teman */
@keyframes fadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}

to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}

.fadeInDown {
-webkit-animation-name: fadeInDown;
animation-name: fadeInDown;
}

.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}

.container {
display: inline-block;
margin: 0 auto;
margin-top: 50px;
width: 95%;
}

.container h2 {
margin: 0 auto;
font-size: 3em;
line-height: 1.618em;
color: #eceff1;
padding-top: 25px;
}

#portfolio {
margin-bottom: 50px;
text-align: center;
}

#portfolio .wrap {
display: inline-block;
margin-top: 15px;
background: #263238;
text-align: left;
box-shadow: 0 2px 2px 2px rgba(0, 0, 0, .05);
border-radius: 12px;
}

#portfolio .wrap2 {
display: inline-block;
margin: 15px 20px;
background: #eceff1;
text-align: left;
border-radius: 12px;
}

#portfolio .wrap:first-of-type {
margin-top: 0;
}

#portfolio .image {
line-height: 0;
}

#portfolio .caption {
padding: 10px 30px;
}

#portfolio h3 {
margin: 0;
padding-top: 20px;
font-size: 2em;
line-height: 1.75em;
}

#portfolio p {
margin: 0;
font-size: 1.5em;
padding-top: 15px;
padding-bottom: 15px;
line-height: 1.75em;
}

#portfolio .button {
display: inline-block;
margin: 15px 0 15px;
padding: 5px 15px;
line-height: 35px;
background: #2ebf91;
color: #eceff1;
border-radius: 25px;
box-shadow: 0 5px #228c6a;
transition: .15s all;
}

#portfolio .button:hover {
background: #b0bec5;
color: #263238;
box-shadow: 0 5px #90a4ae;
transition: .15s all;
}

#portfolio .button:active {
margin: 20px 0 10px;
box-shadow: none;
}

#portfolio .image,#portfolio .caption {
float: left;
width: 50%;
}

@media screen and (max-width: 800px) {
body {
font-size: 16px;
}

.container {
width: 90%;
}

#portfolio h2 {
margin: 0;
font-size: xx-large;
}

#portfolio h3 {
margin: 0;
padding-top: 10px;
font-size: x-large;
}

#portfolio p {
margin: 0;
font-size: small;
}

#portfolio .wrap {
border-radius: 10px;
}

#portfolio .wrap2 {
border-radius: 10px;
}

#portfolio .image,
#portfolio .caption {
width: 100%;
}

}