Skip to content

Commit

Permalink
left side social navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagar-Sharma-7 committed Jun 24, 2023
1 parent 29ef6c8 commit ac0f3d1
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 1 deletion.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
<header>
<img src="./public/images/color-palette_logo.png" alt="">
</header>

<div class="left_social_box">
<a href="https://www.instagram.com/sagar._.sharma._.7/" target="_blank">
<i class="fa-brands fa-instagram" style="color: #ffffff;"></i>
</a>
<a href="https://github.com/Sagar-Sharma-7" target="_blank">
<i class="fa-brands fa-github" style="color: #ffffff;"></i>
</a>
</div>
<div class="container">
<div class="box">
<h3>Jazzy Purple</h3>
Expand Down
39 changes: 39 additions & 0 deletions public/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions public/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ header{
}
}

.left_social_box{
background: #161616;
font-size: 20px;
position: fixed;
top: 50%;
transform: translate(0,-50%);
@include dimension(50px, 100px);
@include flex(space-evenly, center);
flex-direction: column;
border-radius: 0px 10px 10px 0px;
}

.container{
color: rgb(255, 255, 255);
.box{
Expand Down Expand Up @@ -135,6 +147,10 @@ footer{
}

@media all and (max-width:1050px){
.left_social_box{
@include dimension(40px, 90px);
font-size: 18px;
}
.container{
.box{
.palette_box{
Expand All @@ -150,6 +166,9 @@ footer{
}

@media all and (max-width:750px){
.left_social_box{
display: none;
}
.container{
.box{
.palette_box{
Expand Down Expand Up @@ -179,6 +198,9 @@ footer{


@media all and (max-width:600px){
.left_social_box{
display: none;
}
.container{
.box{
.palette_box{
Expand All @@ -194,6 +216,9 @@ footer{
}

@media all and (max-width:390px){
.left_social_box{
display: none;
}
.container{
.box{
.palette_box{
Expand Down

0 comments on commit ac0f3d1

Please sign in to comment.