Skip to content

Commit

Permalink
Merge pull request #147 from NikhilSharma03/fix_about_responsiveness
Browse files Browse the repository at this point in the history
[Site] Fixed about page responsive issue --signoff
  • Loading branch information
Jashpatel1 authored Jun 24, 2021
2 parents e924014 + 5dc3ff6 commit 80c0171
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
23 changes: 18 additions & 5 deletions docs/_sass/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,30 @@ img {
border-radius: 0px;
}

@media only screen and (max-width: 768px) {
@media only screen and (max-width: 990px) {
.whyGetnighthawk {
flex-wrap: wrap;
padding: 50px;
text-align: center;
}
.whyGetnighthawk .text2 {
padding: 30px;
text-align: left;
text-align: center;
}

.about-section_content{
margin-top: 60px;
}

.about-section_text{
text-align: center;
}

.nighthawk-meshery-fig {
flex-wrap: wrap;
padding: 0px;
}
.hero-section {
margin: 100px;
}

.figbox {
width: 100%;
padding: 30px;
Expand All @@ -106,3 +113,9 @@ img {
margin: 0;
}
}

@media only screen and (max-width: 768px) {
.hero-section {
margin: 100px;
}
}
4 changes: 2 additions & 2 deletions docs/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@
class="hero-section-smp"
/>
</figure>
<article class="hero-section_content">
<article class="hero-section_content about-section_content">
<div>
<h3 class="hero-section_bold">What is Nighthawk?</h3>
</div>
<div class="-text">
<p class="text">
<p class="text about-section_text">
Nighthawk is growing in popularity, but the core project only builds
to one architecture / one Docker image. Recently, Nighthawk is being
improved so that it can be horizontally scalable - such that multiple
Expand Down

0 comments on commit 80c0171

Please sign in to comment.