Skip to content

Commit 9650d3f

Browse files
committed
add OpenJS Foundation logo to website (#4008)
* add OpenJS Foundation logo to website * fix flaky template Signed-off-by: Christopher Hiller <[email protected]>
1 parent f04b81d commit 9650d3f

File tree

4 files changed

+109
-25
lines changed

4 files changed

+109
-25
lines changed

Diff for: docs/_includes/default.html

+28-17
Original file line numberDiff line numberDiff line change
@@ -22,43 +22,54 @@
2222
<header id="_header">
2323
<h1>
2424
<a href="/">
25-
<img
26-
id="mocha-logo"
27-
src="/images/mocha-logo.svg"
28-
alt="Mocha logo"
29-
/>
25+
<img id="mocha-logo" src="/images/mocha-logo.svg" alt="Mocha logo" />
3026
</a>
3127
</h1>
3228
<p id="tag"><em>simple</em>, <em>flexible</em>, <em>fun</em></p>
3329
</header>
3430

3531
<main id="content">{{ content }}</main>
36-
37-
<aside class="sponsorship">
38-
<a href="https://matomo.org/" rel="external noopener" target="_blank">
39-
<img
40-
id="matomoLogo"
41-
src="images/matomo-logo.png?trim"
42-
alt="Matomo logo"
43-
/>
44-
</a>
45-
</aside>
32+
33+
<aside class="sponsorship">
34+
<a href="https://matomo.org/" rel="external noopener" target="_blank">
35+
<img
36+
id="matomoLogo"
37+
src="images/matomo-logo.png?trim"
38+
alt="Matomo logo"
39+
/>
40+
</a>
41+
<a
42+
title="Mocha is an OpenJS Foundation Project"
43+
href="https://openjsf.org"
44+
rel="external noopener"
45+
target="_blank"
46+
>
47+
<img
48+
src="/images/openjsf-logo.svg"
49+
width="300"
50+
height="94"
51+
alt="OpenJS Foundation Logo"
52+
/>
53+
</a>
54+
</aside>
4655

4756
<footer>
4857
<div>
4958
<a rel="home" href="https://mochajs.org/">mochajs.org</a>
5059
is licensed under a
5160
<a
5261
rel="license external noopener"
53-
href="https://creativecommons.org/licenses/by/4.0/">
62+
href="https://creativecommons.org/licenses/by/4.0/"
63+
>
5464
Creative Commons Attribution 4.0 International License</a
5565
>.
5666
<dl class="dl-inline last-modified">
5767
<dt>Last updated</dt>
5868
<dd>
5969
<time
6070
itemprop="lastModified"
61-
datetime="{{ 'now' | date: '%Y-%m-%dT%H:%M:%SZ' }}">
71+
datetime="{{ 'now' | date: '%Y-%m-%dT%H:%M:%SZ' }}"
72+
>
6273
{{ 'now' | date: '%a %b %d %H:%M:%S %Y' }}
6374
</time>
6475
</dd>

Diff for: docs/css/style.css

+12-7
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ code {
174174
line-height: 1.8;
175175
}
176176

177-
:not(pre)>code {
177+
:not(pre) > code {
178178
background-color: #f5f2f0;
179179
border-radius: 3px;
180-
padding: .2em .4em;
180+
padding: 0.2em 0.4em;
181181
}
182182

183183
pre {
@@ -200,14 +200,19 @@ img.screenshot {
200200
}
201201

202202
#matomoLogo {
203-
display: block;
204-
height: 176px;
203+
display: block;
204+
height: 176px;
205205
}
206206

207207
.sponsorship {
208-
display: flex;
209-
justify-content: center;
210-
margin-bottom: 60px;
208+
display: flex;
209+
justify-content: center;
210+
margin-bottom: 60px;
211+
align-items: center;
212+
}
213+
214+
.sponsorship a {
215+
padding: 0 40px;
211216
}
212217

213218
footer {

Diff for: docs/images/openjsf-logo.svg

+68
Loading

Diff for: docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ or the [source](https://github.com/mochajs/mocha/blob/master/lib/mocha.js).
19111911
[yargs-configobject-extends]: http://yargs.js.org/docs/#api-configobject-extends-keyword
19121912
[zsh-globbing]: http://zsh.sourceforge.net/Doc/Release/Expansion.html#Recursive-Globbing
19131913

1914-
<!-- AUTO-GENERATED-CONTENT:START (manifest:template=[Gitter]: ${gitter}) -->
1914+
<!-- AUTO-GENERATED-CONTENT:START (manifest:template=[gitter]: ${gitter}) -->
19151915

19161916
[gitter]: https://gitter.im/mochajs/mocha
19171917

0 commit comments

Comments
 (0)