Skip to content

Commit

Permalink
added link item
Browse files Browse the repository at this point in the history
  • Loading branch information
aviiciii committed Jun 11, 2023
1 parent bb07913 commit 05a1a8f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 7 deletions.
11 changes: 7 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h1>aviiciii</h1>
</div>
<div class="description">
<p>Student Developer :)</p>
<p>Student Developer :&#41; </p>
</div>
<div class="socials">
<ul class="socials-ul">
Expand All @@ -43,13 +43,16 @@ <h1>aviiciii</h1>

<section id="links">


<div class="link-container">
<div class="link-header">

<h2>Utility</h2>
</div>
<div class="link-list">

<a class="link-a" href="https://www.google.com/" target="_blank">
<div class="link-item">
Google
</div>
</a>
</div>
</div>

Expand Down
61 changes: 58 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ body{
font-size: 16px;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
margin: 0;
padding: 0;
Expand All @@ -18,6 +17,9 @@ body{
h1{
margin: 0;
}
h2{
margin: 0;
}
p{
margin: 0;
}
Expand All @@ -31,12 +33,12 @@ p{
flex-direction: column;
justify-content: center;
align-items: center;
background-color: inherit;

.logo{
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #e3decf;
display: flex;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -83,7 +85,7 @@ p{
align-items: center;
/* don't stretch the image */
object-fit: cover;
transition: all 0.3s ease-in-out;
transition: all 0.2s ease-in-out;

/* hover */
&:hover{
Expand All @@ -98,4 +100,57 @@ p{
}


/* links */

.link-container{
/* center */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
background-color: inherit;
}

.link-header{
font-size: 0.8rem;
letter-spacing: 3px;
color: #1f1f1f;
margin-top: 20px;
margin-bottom: 20px;
padding: 0;
}

.link-list{
list-style-type: none;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
}

.link-item{
outline: black 1px solid;
padding: 10px 300px;
margin: 0 10px;
transition: all 0.4s ease-in-out;
&:hover{
background-color: #efe7d2;
}
}

.link-a{
text-decoration: none;
color: #1f1f1f;
font-size: 1.4rem;

transition: all 0.2s ease-in-out;

/* hover */
&:hover{
transform: scale(1.03);

}
}

0 comments on commit 05a1a8f

Please sign in to comment.