Skip to content

Commit 3973c3f

Browse files
committed
changed background of footer and features-section
Signed-off-by: Priyanshu Singh <reveur.guy99@gmail.com>
1 parent bc19a15 commit 3973c3f

File tree

4 files changed

+32
-23
lines changed

4 files changed

+32
-23
lines changed

themes/containerd/assets/sass/style.sass

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,12 @@ hr.short-hr
256256
.subtitle strong
257257
color: white;
258258
font-weight: 600;
259+
260+
.footer .container .columns .column ul li a, .footer .container .columns .column
261+
color: white;
262+
263+
.buttons
264+
justify-content: space-around;
265+
266+
.hr
267+
margin: 1rem 0;

themes/containerd/layouts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<br />
2121

2222
<div class="buttons is-centered">
23-
<a class="button is-large is-link is-rounded is-borderless has-text-weight-bold" href="/docs/getting-started">
23+
<a class="button is-large is-rounded is-borderless has-text-weight-bold" href="/docs/getting-started">
2424
<span class="icon">
2525
<i class="fas fa-sm fa-play"></i>
2626
</span>
@@ -75,15 +75,15 @@
7575
</div>
7676
</section>
7777

78-
<section class="section is-grey" id="features">
78+
<section class="section has-background-pattern has-text-white" id="features">
7979
<div class="container">
8080
<div class="columns">
8181
<div class="column is-one-quarter">
8282
<p class="is-size-3 is-size-4-mobile has-text-weight-semibold">
8383
Features
8484
</p>
8585

86-
<hr class="short-hr is-black" />
86+
<hr class="short-hr" />
8787
</div>
8888

8989
<div class="column">

themes/containerd/layouts/partials/footer.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- $logo := "img/logos/footer-logo.png" | relURL }}
1+
{{- $logo := "/img/logos/navbar-light-logo.png" | relURL }}
22
{{- $docs := where .Site.Pages "Section" "docs" }}
33
{{- $year := now.Year }}
44
{{- $twitterHandle := .Site.Params.twitterHandle }}
@@ -7,19 +7,19 @@
77
{{- $githubUrl := printf "https://github.com/%s" $githubRepo }}
88
{{- $slackChannel := .Site.Params.slackChannel }}
99
{{- $projectPages := where .Site.RegularPages "Section" "" }}
10-
<div class="footer">
10+
<div class="footer has-background-pattern has-text-white">
1111
<div class="container">
1212
<div class="columns">
13-
<div class="column">
14-
<img src="{{ $logo }}" class="is-footer-logo" alt="containerd footer logo">
13+
<div class="column" style="display: flex;justify-content: center;align-items: center;">
14+
<img style=" transform: rotate(270deg) scale(1.7);" src="{{ $logo }}" class="is-footer-logo" alt="containerd footer logo">
1515
</div>
1616

1717
<div class="column">
18-
<span class="is-size-4 is-size-5-mobile">
18+
<span class="is-size-4 is-size-5-mobile has-text-weight-bold">
1919
Docs
2020
</span>
2121

22-
<hr class="hr has-background-grey">
22+
<hr class="hr ">
2323

2424
<ul>
2525
{{- range $docs }}
@@ -33,11 +33,11 @@
3333
</div>
3434

3535
<div class="column">
36-
<span class="is-size-4 is-size-5-mobile">
36+
<span class="is-size-4 is-size-5-mobile has-text-weight-bold">
3737
Project
3838
</span>
3939

40-
<hr class="hr has-background-grey">
40+
<hr class="hr ">
4141

4242
<ul>
4343
<li>
@@ -57,14 +57,14 @@
5757
</div>
5858

5959
<div class="column">
60-
<span class="is-size-4 is-size-5-mobile">
60+
<span class="is-size-4 is-size-5-mobile has-text-weight-bold">
6161
Community
6262
</span>
6363

64-
<hr class="hr has-background-grey">
64+
<hr class="hr ">
6565

6666
<div class="buttons">
67-
<a class="button has-background-twitter-blue is-borderless has-text-white" href="{{ $twitterUrl }}">
67+
<a class="button is-medium has-background-twitter-blue is-borderless has-text-white has-text-weight-semibold" href="{{ $twitterUrl }}">
6868
<span class="icon">
6969
<i class="fab fa-twitter" aria-hidden="true"></i>
7070
</span>
@@ -73,16 +73,16 @@
7373
</span>
7474
</a>
7575

76-
<a class="button is-borderless has-background-black has-text-white" href="{{ $githubUrl }}">
76+
<a class="button is-medium is-borderless has-background-white has-text-black has-text-weight-semibold" href="{{ $githubUrl }}">
7777
<span class="icon">
78-
<i class="fab fa-github" aria-hidden="true"></i>
78+
<i style="color:black" class="fab fa-github" aria-hidden="true"></i>
7979
</span>
8080
<span>
8181
GitHub
8282
</span>
8383
</a>
8484

85-
<a class="button is-borderless has-background-slack-green has-text-white" href="{{ $slackChannel }}">
85+
<a class="button is-medium is-borderless has-background-slack-green has-text-white has-text-weight-semibold" href="{{ $slackChannel }}">
8686
<span class="icon">
8787
<i class="fab fa-slack" aria-hidden="true"></i>
8888
</span>
@@ -95,19 +95,19 @@
9595
</div> <!-- .column -->
9696
</div> <!-- .column -->
9797

98-
<hr class="hr has-background-grey-lighter">
98+
<hr style="background: transparent;" class="hr">
9999
</div> <!-- .columns -->
100100

101101
<div class="container has-text-centered">
102-
<div class="has-text-weight-light">
102+
<div class="has-text-weight-normal">
103103
<p class="is-size-5 is-size-6-mobile">
104104
&copy; containerd Authors {{ $year }} | Documentation Distributed under <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>
105105
</p>
106106

107107
<br />
108108

109109
<p>
110-
&copy; {{ $year }} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage">Trademark Usage</a> page.
110+
&copy; {{ $year }} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a class="has-text-white" href="https://www.linuxfoundation.org/trademark-usage">Trademark Usage</a> page.
111111
</p>
112112
</div>
113113
</div> <!-- .container -->

themes/containerd/layouts/partials/navbar.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{{- end }}
6565

6666
<a class="navbar-item" href="https://github.com/cncf/artwork/blob/master/examples/graduated.md#containerd-logos">
67-
Containerd Branding
67+
containerd branding
6868
</a>
6969
</div>
7070
</div> <!-- .navbar-item -->
@@ -78,9 +78,9 @@
7878
</span>
7979
</a>
8080

81-
<a class="button is-borderless has-background-black has-text-white" href="{{ $githubUrl }}">
81+
<a class="button is-borderless has-background-white has-text-white" href="{{ $githubUrl }}">
8282
<span class="icon">
83-
<i class="fab fa-github" aria-hidden="true"></i>
83+
<i class="fab fa-github" aria-hidden="true" style="color:black"></i>
8484
</span>
8585
</a>
8686

0 commit comments

Comments
 (0)