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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user