From 866dcec7b2ebf89a3109ca054d5e831e36b834b7 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Tue, 7 Jan 2020 14:07:42 -0800 Subject: [PATCH] update copyright & trademark notices per OJSF; closes #4145 - updated some footer styles - made matomo & openjsf logos responsive - remove `target="_blank"` since people can decide if they want to open a tab --- LICENSE | 2 +- README.md | 2 +- docs/_includes/default.html | 113 ++++++++++++++++++++++++++++-------- docs/css/style.css | 60 ++++++++++++++++--- 4 files changed, 143 insertions(+), 34 deletions(-) diff --git a/LICENSE b/LICENSE index 9ab23f6873..90f3bfd849 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ (The MIT License) -Copyright (c) 2011-2018 JS Foundation and contributors, https://js.foundation +Copyright (c) 2011-2020 OpenJS Foundation and contributors, https://openjsf.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 3dc8ac25d0..68634e1f10 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,6 @@ Finally, come [chat with the maintainers](https://gitter.im/mochajs/contributors ## License -[MIT](LICENSE) +Copyright 2011-2020 OpenJS Foundation and contributors. Licensed [MIT](https://github.com/mochajs/mocha/blob/master/LICENSE). [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha?ref=badge_large) diff --git a/docs/_includes/default.html b/docs/_includes/default.html index baf940c829..476b96a64d 100644 --- a/docs/_includes/default.html +++ b/docs/_includes/default.html @@ -31,18 +31,13 @@

{{ content }}
diff --git a/docs/css/style.css b/docs/css/style.css index 1eb9461bae..c9e77511e8 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -209,9 +209,17 @@ img.screenshot { max-width: 100%; } -#matomoLogo { +.sponsorship a { + display: flex; + justify-content: center; + align-items: center; +} + +.sponsorship a img { display: block; - height: 176px; + object-fit: cover; + width: 100%; + height: 100%; } .sponsorship { @@ -228,18 +236,39 @@ img.screenshot { footer { background-color: #eee; border-top: 1px solid #ddd; - padding: 50px 0; - text-align: right; -} - -footer div { + padding: 50px 30px; color: #888; font-size: 0.8em; - margin-right: 30px; } -.last-modified { +#last-modified { + text-align: right; font-style: italic; + font-size: 0.7em; +} + +#copyright-notice { + max-width: 50%; +} + +#openjsf-links { + margin: 0; + padding: 0; + box-sizing: unset; + columns: unset; +} + +#openjsf-links li { + display: inline; /* displays list horizontally */ + border: none; + list-style: none; + margin: unset; + padding: unset; +} + +/* displays each list item with a "|" between */ +#openjsf-links li + li:before { + content: ' | '; } .dl-inline dt, @@ -272,6 +301,19 @@ footer div { margin: 20px -11px; padding: 10px; } + + /* this is too fancy and wide for mobile, so just use a normal vertical list */ + #openjsf-links li { + display: block; + } + + #openjsf-links li + li:before { + content: initial; + } + + #copyright-notice { + max-width: initial; + } } blockquote {