Skip to content

Commit f74d00b

Browse files
committed
Created the about secton layout
Signed-off-by: Anita-ihuman <[email protected]>
1 parent b269297 commit f74d00b

File tree

2 files changed

+49
-28
lines changed

2 files changed

+49
-28
lines changed

docs/_sass/about.scss

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,56 @@
1-
.hero-section-smp {
2-
}
3-
.hero-section-header {
4-
margin: 0;
5-
}
61
.hero-section {
72
padding: 0px;
83
}
4+
.hero-section_header {
5+
margin: 0;
6+
}
97
.hero-section-smp {
10-
width: 80%;
8+
width: 85%;
119
height: 100%;
1210
}
13-
.text {
11+
.whyGetnighthawk-text {
1412
font-size: 20px;
15-
1613
text-align: left;
1714
}
18-
.hero-main .text {
19-
padding: 0 100px;
15+
.hero-section_content .text {
16+
font-weight: normal;
17+
font-size: 20px;
18+
text-align: left;
19+
padding: 10px 95px;
20+
font-family: Open Sans;
2021
}
2122
.whyGetnighthawk {
22-
flex-direction: row;
23+
justify-content: space-around;
2324
display: flex;
2425
padding-top: 40px;
26+
padding-left: 30px;
2527
}
2628

2729
.whyGetnighthawk .text {
28-
padding: 0px 100px;
30+
padding: 0px 30px;
31+
text-align: left;
32+
font-family: Open Sans;
33+
font-size: 20px;
2934
}
30-
.fig {
35+
.nighthawk-meshery-fig {
3136
display: flex;
3237
justify-content: center;
3338
padding-top: 40px;
3439
}
35-
.figbox{
40+
.figbox {
3641
margin: 0px 40px;
37-
42+
padding: 20px 0px;
3843
}
39-
.fig img {
44+
.nighthawk-meshery-fig img {
4045
padding: 0px 30px;
4146
object-fit: cover;
4247
width: 450px;
4348
height: 100%;
4449
border-radius: 20px;
4550
}
46-
.whyGetnighthawk-bold {
47-
padding: 40px 100px;
51+
52+
.whyGetnighthawk-bold h4 {
53+
width: 430px;
4854
font-family: Qanelas Soft;
4955
font-style: normal;
5056
font-weight: 600;
@@ -54,7 +60,7 @@ padding: 0 100px;
5460
overflow-wrap: normal;
5561
}
5662

57-
.hero-section-header-bold {
63+
.hero-section_bold {
5864
font-family: Qanelas Soft;
5965
font-style: normal;
6066
font-weight: bold;
@@ -64,3 +70,20 @@ padding: 0 100px;
6470
color: #000000;
6571
padding-top: 30px;
6672
}
73+
74+
@media only screen and (max-width: 768px) {
75+
.whyGetnighthawk {
76+
flex-wrap: wrap;
77+
padding: 50px;
78+
}
79+
.nighthawk-meshery-fig {
80+
flex-wrap: wrap;
81+
padding: 0px;
82+
83+
}
84+
.hero-section {
85+
86+
margin: 20px;
87+
}
88+
89+
}

docs/pages/about.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@
4343
<br /><br /><br /><br /><br /><br />
4444

4545
<section class="hero-section">
46-
<figure class="hero-section-header">
46+
<figure class="hero-section_header">
4747
<img
4848
src="{{ site.baseurl }}/assets/images/smp-standard.png"
4949
alt="smp-standard"
5050
class="hero-section-smp"
5151
/>
5252
</figure>
53-
<article class="hero-main">
54-
<div class="hero-section-">
55-
<h3 class="hero-section-header-bold">What is Nighthawk?</h3>
53+
<article class="hero-section_content">
54+
<div>
55+
<h3 class="hero-section_bold">What is Nighthawk?</h3>
5656
</div>
5757
<div>
5858
<p class="text">
@@ -83,21 +83,19 @@ <h4>Why GetNighthawk?</h4>
8383
</p>
8484
</div>
8585
</article>
86-
<div class="fig">
86+
<div class="nighthawk-meshery-fig">
8787
<figure class="figbox">
8888
<img
8989
src="{{ site.baseurl }}/assets/images/nighthawk-meshery.png"
9090
alt="nighthawk-meshery"
91-
object-fit="cover"
92-
width='450px'
91+
object-fit="cover"
9392
/>
9493
</figure>
9594
<figure class="figbox">
9695
<img
9796
src="{{ site.baseurl }}/assets/images/latency-at-scale.png"
9897
alt="latency-at-scale"
99-
object-fit="cover"
100-
width='450px'
98+
object-fit="cover"
10199
/>
102100
</figure>
103101
</div>

0 commit comments

Comments
 (0)