Skip to content

Commit 8f2ef2c

Browse files
authored
feat(overview): new description for kubewharf (#11)
Change-Id: Ibcd7c7bdbc5ed3ff81aa2926d044cc4bf7b8898a
1 parent c09b408 commit 8f2ef2c

3 files changed

Lines changed: 162 additions & 53 deletions

File tree

assets/scss/_styles_project.scss

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,58 @@ nav.foldable-nav .ul-1 .with-child>input:checked~label:hover:before {
161161

162162
#overviewBg {
163163
position: relative;
164+
165+
.overviewBox {
166+
position: absolute;
167+
top: 0;
168+
bottom: 0;
169+
right: 22%;
170+
left: 40px;
171+
display: flex;
172+
align-items: center;
173+
color: #d3def9;
174+
font-weight: 300;
175+
176+
.overviewContent {
177+
width: 100%;
178+
display: flex;
179+
align-items: flex-end;
180+
justify-content: space-between;
181+
}
182+
183+
.overviewHeader {
184+
width: 440px;
185+
padding-left: 7em;
186+
187+
.overviewTitle {
188+
color: white;
189+
font-size: 2.85em;
190+
font-weight: 600;
191+
}
192+
}
193+
194+
.overviewDesc {
195+
display: flex;
196+
align-items: center;
197+
198+
.overviewDevider {
199+
width: 2px;
200+
height: 60px;
201+
display: block;
202+
margin-right: 48px;
203+
border-radius: 1px;
204+
background-color: rgba(201, 206, 213, 0.4);
205+
}
206+
207+
p {
208+
margin-bottom: unset;
209+
width: 420px;
210+
color: white;
211+
}
212+
}
213+
}
214+
215+
164216
.buttonWrapper {
165217
position: absolute;
166218
border-radius: 10px;
@@ -348,4 +400,51 @@ nav.foldable-nav .ul-1 .with-child>input:checked~label:hover:before {
348400
}
349401
.cp {
350402
cursor: pointer;
351-
}
403+
}
404+
405+
@media (min-width: 960px) and (max-width: 1200px) {
406+
.overviewBox {
407+
.overviewContent {
408+
.overviewTitle {
409+
font-size: 2.5em !important;
410+
}
411+
}
412+
413+
.overviewDevider {
414+
display: none !important;
415+
}
416+
}
417+
}
418+
419+
@media (max-width: 960px) {
420+
.overviewBox {
421+
.overviewContent {
422+
flex-direction: column;
423+
align-items: center !important;
424+
text-align: center;
425+
}
426+
427+
.overviewHeader {
428+
.overviewTitle {
429+
font-size: 2.5em !important;
430+
}
431+
}
432+
433+
.overviewDesc {
434+
flex-direction: column;
435+
align-items: center;
436+
437+
.overviewDevider {
438+
margin: 4px 0;
439+
width: 60px !important;
440+
height: 2px !important;
441+
}
442+
443+
p {
444+
width: 70% !important;
445+
margin-left: 7em;
446+
}
447+
}
448+
}
449+
450+
}

content/en/_index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@
3939

4040
<div id="overviewBg">
4141
<img src="docs/images/homepage/kubeWharfBg.svg" style="padding-left: 40px; width: 100%;">
42+
<div class="overviewBox">
43+
<div class="overviewContent">
44+
<div class="overviewHeader">
45+
<div class="overviewTitle">KubeWharf</div>
46+
<div class="overviewSubTitle">The Enhanced Toolkit for Kubernetes</div>
47+
</div>
48+
<div class="overviewDesc">
49+
<div class="overviewDevider"></div>
50+
<p>Power your Kubernetes with the leading open-source solution for efficient, scalable, and reliable cloud and cost management at million-scale container infrastructure.</p>
51+
</div>
52+
</div>
53+
</div>
4254
<div class="buttonWrapper">
4355
<a class="startButton" href="https://github.com/kubewharf" target="_blank">Get Started</a>
4456
<a class="contributeButton" href="https://github.com/orgs/kubewharf/people" target="_blank">Contribute</a>

0 commit comments

Comments
 (0)