This is an automated email from the ASF dual-hosted git repository.
wwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-yunikorn-site.git
The following commit(s) were added to refs/heads/master by this push:
new dbc299e [YUNIKORN-242] Fix some style issues in dark mode.
dbc299e is described below
commit dbc299eb760d1f98844b8a43446068f7d2aeb9ac
Author: Weiwei Yang <[email protected]>
AuthorDate: Thu Jul 16 05:05:11 2020 -0700
[YUNIKORN-242] Fix some style issues in dark mode.
---
docusaurus.config.js | 14 ++++++--------
src/css/custom.css | 9 +++++++++
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 78adbd6..15417b1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -133,14 +133,12 @@ module.exports = {
},
footer: {
style: 'grey',
- copyright: `
-
- <img
src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png"
style="max-width: 300px"> <br/>
-
- Copyright © 2020 The Apache Software Foundation. <br/>
- Apache and the Apache feather logo are trademarks of The Apache
Software Foundation<br/> <br/>
-
- <p style="text-align: left">Disclaimer: Apache YuniKorn (Incubating)
is an effort undergoing incubation at The Apache Software Foundation (ASF),
sponsored by the Apache Incubator. Incubation is required of all newly accepted
projects until a further review indicates that the infrastructure,
communications, and decision making process have stabilized in a manner
consistent with other successful ASF projects. While incubation status is not
necessarily a reflection of the completene [...]
+ logo: {
+ alt: 'Apache Incubator Logo',
+ src:
'https://incubator.apache.org/images/incubator_feather_egg_logo.png',
+ href: 'https://incubator.apache.org/',
+ },
+ copyright: `Copyright © ${new Date().getFullYear()} The Apache Software
Foundation. Apache and the Apache feather logo are trademarks of The Apache
Software Foundation`
},
}
};
diff --git a/src/css/custom.css b/src/css/custom.css
index 5189826..bb07b7b 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -45,6 +45,15 @@
no-repeat;
}
+html[data-theme='dark'] .header-github-link:before {
+ content: '';
+ width: 24px;
+ height: 24px;
+ display: flex;
+ background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24'
xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63
0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577
0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633
17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236
1.07 1.835 2.809 1.305
3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93
0-1.31.465-2.38 1.235-3.22-.135- [...]
+ no-repeat;
+}
+
.navbar__inner {
max-width: 1200px;
margin: 0 auto;