Skip to content

Commit

Permalink
Update styles.css add animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadBalti authored Jan 5, 2024
1 parent d4c32fe commit a0599fe
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,76 @@ label {
right: 10px;
}



@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.user-profile-container {
background-color: #fff;
border: 2px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
animation: fadeIn 0.5s ease-out;
}

.user-profile-container img {
width: 150px;
height: 150px;
border-radius: 50%;
margin-bottom: 20px;
border: 4px solid #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.user-profile-container h2 {
color: #0366d6;
margin-bottom: 10px;
}

.user-profile-container p {
margin-bottom: 8px;
}

.user-profile-container strong {
font-weight: bold;
}

.user-profile-container .info-section {
display: flex;
justify-content: space-around;
margin-top: 20px;
}

.user-profile-container .info-section p {
flex: 1;
}

.user-profile-container .view-on-github {
margin-top: 20px;
}

.user-profile-container a.btn {
text-decoration: none;
color: #fff;
background-color: #0366d6;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.user-profile-container a.btn:hover {
background-color: #034887;
}

0 comments on commit a0599fe

Please sign in to comment.