Skip to content

Commit d0aeb4e

Browse files
committed
Fixed the font family and styles
Signed-off-by: Anita-ihuman <[email protected]>
1 parent 4338d93 commit d0aeb4e

File tree

3 files changed

+229
-104
lines changed

3 files changed

+229
-104
lines changed

docs/_sass/about.scss

Lines changed: 63 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,49 @@
55
margin: 0;
66
}
77
.hero-section-smp {
8-
width: 85%;
8+
width: 88%;
99
height: 100%;
1010
}
11-
.whyGetnighthawk-text {
12-
font-size: 20px;
11+
12+
.hero-section_content,
13+
.text {
14+
font-size: 21px;
1315
text-align: left;
16+
padding-left: 0px;
17+
padding-top: 10px;
18+
padding: 0px 40px;
19+
line-height: 32px;
20+
align-items: center;
1421
}
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;
22+
.hero-section_bold {
23+
font-family: Qanelas Soft;
24+
font-style: normal;
25+
font-weight: bold;
26+
font-size: 45px;
27+
line-height: 50px;
28+
text-align: center;
29+
color: #000000;
30+
padding: 20px 0px;
2131
}
32+
2233
.whyGetnighthawk {
2334
justify-content: space-around;
2435
display: flex;
25-
padding-top: 40px;
26-
padding-left: 30px;
36+
margin-top: 70px;
37+
padding-left: 85px;
38+
align-self: center;
2739
}
2840

29-
.whyGetnighthawk .text {
30-
padding: 0px 30px;
31-
text-align: left;
32-
font-family: Open Sans;
33-
font-size: 20px;
34-
}
35-
.nighthawk-meshery-fig {
41+
.whyGetnighthawk,
42+
.text2 {
43+
font-size: 21px;
44+
line-height: 32px;
3645
display: flex;
37-
justify-content: center;
38-
padding-top: 40px;
39-
}
40-
.figbox {
41-
margin: 0px 40px;
42-
padding: 20px 0px;
43-
}
44-
.nighthawk-meshery-fig img {
45-
padding: 0px 30px;
46-
object-fit: cover;
47-
width: 450px;
48-
height: 100%;
49-
border-radius: 20px;
46+
text-align: left;
5047
}
5148

52-
.whyGetnighthawk-bold h4 {
53-
width: 430px;
49+
.whyGetnighthawk-bold {
50+
width: 400px;
5451
font-family: Qanelas Soft;
5552
font-style: normal;
5653
font-weight: 600;
@@ -60,27 +57,51 @@
6057
overflow-wrap: normal;
6158
}
6259

63-
.hero-section_bold {
64-
font-family: Qanelas Soft;
65-
font-style: normal;
66-
font-weight: bold;
67-
font-size: 45px;
68-
line-height: 50px;
69-
text-align: center;
70-
color: #000000;
60+
.nighthawk-meshery-fig {
61+
display: flex;
62+
justify-content: center;
63+
padding-top: 40px;
64+
}
65+
.figbox {
66+
margin: 0px 60px;
7167
padding-top: 30px;
68+
width: 450px;
69+
}
70+
.figbox2 {
71+
margin: 0px 10px;
72+
padding: 10px 0px;
73+
width: 450px;
74+
}
75+
.nighthawk-meshery-fig,
76+
img {
77+
text-align: center;
78+
border-radius: 20px;
7279
}
7380

7481
@media only screen and (max-width: 768px) {
7582
.whyGetnighthawk {
7683
flex-wrap: wrap;
7784
padding: 50px;
85+
text-align: center;
86+
}
87+
.whyGetnighthawk .text2 {
88+
padding: 30px;
89+
text-align: left;
7890
}
7991
.nighthawk-meshery-fig {
8092
flex-wrap: wrap;
8193
padding: 0px;
8294
}
8395
.hero-section {
84-
margin: 20px;
96+
margin: 100px;
97+
}
98+
.figbox {
99+
width: 100%;
100+
padding: 30px;
101+
}
102+
.figbox2 {
103+
width: 80%;
104+
padding: 30px;
105+
margin: 0;
85106
}
86107
}

docs/pages/about.html

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
1818
crossorigin="anonymous"
1919
/>
20+
<link href="http://fonts.cdnfonts.com/css/qanelas-soft" rel="stylesheet" />
21+
2022
<link
21-
href="https://fonts.googleapis.com/css?family=Montserrat|Ubuntu&display=swap"
23+
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap"
2224
rel="stylesheet"
2325
/>
24-
2526
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css" />
2627

2728
<script
@@ -34,6 +35,41 @@
3435
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl"
3536
crossorigin="anonymous"
3637
/>
38+
<script
39+
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
40+
integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
41+
crossorigin="anonymous"
42+
></script>
43+
<script
44+
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
45+
integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi"
46+
crossorigin="anonymous"
47+
></script>
48+
<script
49+
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
50+
integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG"
51+
crossorigin="anonymous"
52+
></script>
53+
<link
54+
rel="stylesheet"
55+
href="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css"
56+
/>
57+
<script src="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.js"></script>
58+
<script
59+
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
60+
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
61+
crossorigin="anonymous"
62+
></script>
63+
<script
64+
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
65+
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
66+
crossorigin="anonymous"
67+
></script>
68+
<script
69+
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
70+
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
71+
crossorigin="anonymous"
72+
></script>
3773
</head>
3874
<style>
3975
body {
@@ -54,7 +90,7 @@
5490
<div>
5591
<h3 class="hero-section_bold">What is Nighthawk?</h3>
5692
</div>
57-
<div>
93+
<div class="-text">
5894
<p class="text">
5995
Nighthawk is growing in popularity, but the core project only builds
6096
to one architecture / one Docker image. Recently, Nighthawk is being
@@ -67,12 +103,12 @@ <h3 class="hero-section_bold">What is Nighthawk?</h3>
67103
</div>
68104
</article>
69105
<article class="whyGetnighthawk">
70-
<div class="whyGetnighthawk-bold">
71-
<h4>Why GetNighthawk?</h4>
106+
<div >
107+
<h4 class="whyGetnighthawk-bold">Why GetNighthawk?</h4>
72108
</div>
73109

74110
<div>
75-
<p class="text">
111+
<p class="text2">
76112
Nighthawk is growing in popularity, but the core project only builds
77113
to one architecture / one Docker image. Recently, Nighthawk is being
78114
improved so that it can be horizontally scalable - such that multiple
@@ -89,15 +125,18 @@ <h4>Why GetNighthawk?</h4>
89125
src="{{ site.baseurl }}/assets/images/nighthawk-meshery.png"
90126
alt="nighthawk-meshery"
91127
object-fit="cover"
128+
92129
/>
93130
</figure>
94-
<figure class="figbox">
131+
<figure class="figbox2" >
95132
<img
96133
src="{{ site.baseurl }}/assets/images/latency-at-scale.png"
97134
alt="latency-at-scale"
98135
object-fit="cover"
136+
99137
/>
100138
</figure>
101139
</div>
102140
</section>
141+
'/'
103142
</html>

0 commit comments

Comments
 (0)