Skip to content

Commit 04979d9

Browse files
authored
Merge pull request #81 from poseidon-framework/hero_cover_page
Hero cover page
2 parents 8f6133b + 975f8af commit 04979d9

6 files changed

+28
-1
lines changed

_coverpage.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
![Logo](_media/Poseidon-Logo-Horizontal-White.svg)
2+
3+
> A framework to work with human aDNA data and its archaeological context information.
4+
5+
[Explore our Data <i class="fas fa-globe"></i>](archive_explorer.md)
6+
[Read the Documentation <i class="fab fa-readme"></i>](home.md)
7+
[Join our Community <i class="fab fa-gitter"></i>](https://app.gitter.im/#/room/!TycQipeBdEPTHWqilU:gitter.im)

_media/Poseidon-Description-White.svg

+1
Loading
Loading

_media/Poseidon-Logo-WaterGraphicNoText.svg

+1
Loading

_media/theme-simple-dark.css

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
3030
<meta name="viewport" content="width=device-width,initial-scale=1">
3131
<meta charset="UTF-8">
32-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css">
32+
<link rel="stylesheet" href="_media/theme-simple-dark.css">
3333
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
3434
<style>
3535
header {
@@ -81,6 +81,7 @@
8181
loadSidebar: true,
8282
relativePath: true,
8383
homepage: 'home.md',
84+
coverpage: true,
8485
subMaxLevel: 2,
8586
alias: {
8687
'/.*/_sidebar.md': '/_sidebar.md'
@@ -154,6 +155,19 @@
154155
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
155156
<script src="//cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
156157
<script src="//cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
158+
159+
<style>
160+
:root {
161+
/* this is relative to the path of the docsify-themeable stylesheet, which is now hosted locally */
162+
--cover-background-image : url('/_media/Poseidon-Logo-WaterGraphicNoText.svg');
163+
--cover-button-border : 1px solid white;
164+
--cover-button-primary-border : 1px solid white;
165+
--cover-max-width : 80em;
166+
--cover-blockquote-color : white ;
167+
--cover-button-primary-background : ;
168+
}
169+
</style>
170+
157171
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
158172
<script src="//unpkg.com/prismjs/components/prism-python.min.js"></script>
159173
<script src="//unpkg.com/prismjs/components/prism-r.min.js"></script>

0 commit comments

Comments
 (0)