Add some style

This commit is contained in:
2025-10-28 23:16:07 +01:00
parent 55f963d98b
commit 693484d44c
3 changed files with 98 additions and 23 deletions

View File

@@ -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;
}
}

View File

@@ -8,9 +8,8 @@
* {
font-family: 'Fira Code', 'PT sans', sans-serif;
box-sizing: border-box;
color: #333;
}
html, body {
@@ -25,6 +24,15 @@ html, body, main, section, section div, footer {
justify-content: center;
}
body {
background-color: #e2e2e2;
background-image:
linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
background-size: 20px 20px;
color: #111;
}
main {
justify-content: start;
@@ -41,4 +49,12 @@ section {
min-height: 100%;
width: 100%;
scroll-snap-align: start;
}
ul li{
list-style-type: none;
}
ul li a {
text-decoration: none;
}