Skip to content

Commit

Permalink
Add About section in mobile design and some positioning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan-Saini committed Oct 1, 2020
1 parent c9f7474 commit d33804b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
margin: 0 auto;
}
@media (max-width: 768px) {
@media (max-width:768px) {
.nav-links {
display: none;
}
Expand Down
41 changes: 34 additions & 7 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,33 +110,60 @@
@media (max-width: 768px) {
.section-header{
height: 87vh;
position: relative;
}
.logo-container {
display: inline-block;
max-width: 300px;
width: 100%;
height: 160px;
left: 50%;
transform: translateX(-50%);
top: 17%;
transform: translate(-50%, -50%);
}
.logo-front > p{
font-size: 1.1rem;
}
.section-about{
display: none;
}
#social {
margin-top: 120px;
position: absolute;
bottom: 25%;
display: grid;
grid-template-columns: auto auto;
}
<<<<<<< HEAD
=======
#social > a{
font-size: 1.1rem;
}
.section-about{
height: 100vh;
}
>>>>>>> 920c15c... Add About section in mobile design and some positioning fixes
.about-us{
width: 100%;
font-size: 1rem;
display: inline-block;
margin-top: 15vh;
}
.about-us > p{
line-height: 1.5;
word-spacing: 2px;
}
.divider{
width: 130px;
}
}
</style>

Expand Down

0 comments on commit d33804b

Please sign in to comment.