Skip to content

Commit

Permalink
Merge pull request #35 from JIITODC/branch1
Browse files Browse the repository at this point in the history
(feat)Add About section in mobile design and some positioning fixes
  • Loading branch information
aayushmau5 authored Oct 1, 2020
2 parents d6df087 + 81a3234 commit 7ac8699
Show file tree
Hide file tree
Showing 2 changed files with 32 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
38 changes: 31 additions & 7 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,33 +110,57 @@
@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;
}
#social > a{
font-size: 1.1rem;
}
.section-about{
height: 100vh;
}
.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

1 comment on commit 7ac8699

@vercel
Copy link

@vercel vercel bot commented on 7ac8699 Oct 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.