Skip to content

Commit

Permalink
docs: create homepage for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaris committed Nov 21, 2024
1 parent 08d49ae commit 81006e4
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 9 deletions.
61 changes: 56 additions & 5 deletions docs/css/simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body > div.md-container > main > div > div.md-sidebar.md-sidebar > div > div > n
color: #fafafa;
border-left-color: #005EC4;
border-left-style: solid;
border-left-width: 4.5px;
border-left-width: 5px;
font-weight: 700;
}

Expand Down Expand Up @@ -62,7 +62,7 @@ body > div.md-container > main > div > div.md-sidebar.md-sidebar--secondary > di
color: #D4ECFF;
border-left-color: #D4ECFF;
border-left-style: solid;
border-left-width: 4.5px;
border-left-width: 5px;
font-weight: 700;
}

Expand Down Expand Up @@ -91,7 +91,7 @@ body {
font-size: 82px;
border-top-color: #017FFD;
border-top-style: solid;
border-top-width: 4.5px;
border-top-width: 5px;
padding-top: 0.5em;
margin-bottom: 0;
}
Expand Down Expand Up @@ -124,11 +124,20 @@ body {
}

/*Style blockquote as in styleguide*/
blockquote {
font-size: 26px;
.md-typeset blockquote {
color: #353535;
font-size: 20px;
font-family: "IBM Plex Mono", sans-serif;
font-weight: 300;
font-style: italic;
width: 80%;
margin-left: 10%;
padding: 1rem;
background-color: #D4ECFF;
border-left-color: #353535;
}
[dir=ltr] .md-typeset blockquote {
border-left-color: #005EC4;
}

/*Style code blocks*/
Expand Down Expand Up @@ -168,4 +177,46 @@ body > header.md-header {
/* this is a negative margin because if we set the top one to be 0, the right navbar stops
working properly with active links*/
margin-bottom: -1.5rem;
}

.intro {
font-size: 18px;
font-family: "IBM Plex Mono", sans-serif;
background-color: #017FFD!important;
color: #fafafa!important;
font-weight: bold;
padding: 2rem 3rem 3rem 2rem;
margin-left: -1.2rem;
margin-right: -1.2rem;
margin-top: -1.2rem;
}

.before-intro {
color: #017FFD;
padding: 2.2rem;
margin-left: -1.2rem;
margin-right: -1.2rem;
margin-top: -2.5rem;
background-color: #017FFD!important;
}

h1.intro {
font-weight: 300;
background-color: #017FFD!important;
color: #fafafa!important;
border-color: #FAFAFA;
margin: -1.2rem;
padding-bottom: 1rem;
}

.armadillo-intro-logo {
margin-top: -15rem;
display: block;
margin-left: auto;
}

.md-typeset h3.armadillo-question {
color: #353535;
margin-top: 2.5rem;
margin-left: 10%;
}
Binary file added docs/img/armadillo-logo-border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 13 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# MOLGENIS Armadillo
> The word Armadillo is Spanish and means "little armored one". MOLGENIS Armadillo is a small solution that implements
.
{.before-intro}
<h1 class="intro">MOLGENIS Armadillo</h1>
A simple, user-friendly, open source solution for implementing non-disclosive analysis.<br/><br/><br/>
Armadillo is a data portal that allows data stewards to share datasets on a server, <br/>
and researchers to analyse these datasets and datasets shared on other servers using <br/>
the DataSHIELD analysis tools.<br/><br/>
<img src="../img/armadillo-logo-border.png" alt="MOLGENIS Armadillo logo" class="armadillo-intro-logo"/>
{.intro}

<h3 class="armadillo-question">Why is it called Armadillo?</h3>
> The word Armadillo is Spanish and means "little armored one". MOLGENIS Armadillo is a compact solution that implements
> the DataSHIELD infrastructure, hence the name.
Very quick sales pitch here, instant sell. You want it!

![armadillo-logo.png](img/armadillo-logo.png)
<br/><br/>

0 comments on commit 81006e4

Please sign in to comment.