Add some style
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
#projects .content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
align-items: start;
|
||||
width: 75%;
|
||||
}
|
||||
#projects .content div hr {
|
||||
margin : 25px 0 25px 0;
|
||||
}
|
||||
|
||||
.project-list {
|
||||
|
||||
.project-list, .links {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap : 1rem;
|
||||
@@ -19,4 +26,50 @@
|
||||
|
||||
.project-list img:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.links {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.links ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
padding : 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.links ul li {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 10px;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
||||
.links ul li:hover {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
|
||||
.links ul li::before {
|
||||
content: ">";
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.links ul li:hover::before {
|
||||
animation: blink 1s step-start infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user