Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add OpenJS Foundation logo to website #4008

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 28 additions & 17 deletions docs/_includes/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,43 +22,54 @@
<header id="_header">
<h1>
<a href="/">
<img
id="mocha-logo"
src="/images/mocha-logo.svg"
alt="Mocha logo"
/>
<img id="mocha-logo" src="/images/mocha-logo.svg" alt="Mocha logo" />
</a>
</h1>
<p id="tag"><em>simple</em>, <em>flexible</em>, <em>fun</em></p>
</header>

<main id="content">{{ content }}</main>

<aside class="sponsorship">
<a href="https://matomo.org/" rel="external noopener" target="_blank">
<img
id="matomoLogo"
src="images/matomo-logo.png?trim"
alt="Matomo logo"
/>
</a>
</aside>

<aside class="sponsorship">
<a href="https://matomo.org/" rel="external noopener" target="_blank">
<img
id="matomoLogo"
src="images/matomo-logo.png?trim"
alt="Matomo logo"
/>
</a>
<a
title="Mocha is an OpenJS Foundation Project"
href="https://openjsf.org"
rel="external noopener"
target="_blank"
>
<img
src="/images/openjsf-logo.svg"
width="300"
height="94"
alt="OpenJS Foundation Logo"
/>
</a>
</aside>

<footer>
<div>
<a rel="home" href="https://mochajs.org/">mochajs.org</a>
is licensed under a
<a
rel="license external noopener"
href="https://creativecommons.org/licenses/by/4.0/">
href="https://creativecommons.org/licenses/by/4.0/"
>
Creative Commons Attribution 4.0 International License</a
>.
<dl class="dl-inline last-modified">
<dt>Last updated</dt>
<dd>
<time
itemprop="lastModified"
datetime="{{ 'now' | date: '%Y-%m-%dT%H:%M:%SZ' }}">
datetime="{{ 'now' | date: '%Y-%m-%dT%H:%M:%SZ' }}"
>
{{ 'now' | date: '%a %b %d %H:%M:%S %Y' }}
</time>
</dd>
Expand Down
19 changes: 12 additions & 7 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ code {
line-height: 1.8;
}

:not(pre)>code {
:not(pre) > code {
background-color: #f5f2f0;
border-radius: 3px;
padding: .2em .4em;
padding: 0.2em 0.4em;
}

pre {
Expand All @@ -200,14 +200,19 @@ img.screenshot {
}

#matomoLogo {
display: block;
height: 176px;
display: block;
height: 176px;
}

.sponsorship {
display: flex;
justify-content: center;
margin-bottom: 60px;
display: flex;
justify-content: center;
margin-bottom: 60px;
align-items: center;
}

.sponsorship a {
padding: 0 40px;
}

footer {
Expand Down
68 changes: 68 additions & 0 deletions docs/images/openjsf-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,7 @@ or the [source](https://github.com/mochajs/mocha/blob/master/lib/mocha.js).
[yargs-configobject-extends]: http://yargs.js.org/docs/#api-configobject-extends-keyword
[zsh-globbing]: http://zsh.sourceforge.net/Doc/Release/Expansion.html#Recursive-Globbing

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

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

Expand Down