Skip to content
Open
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
23 changes: 12 additions & 11 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
<header>
<div id="navbar">

<div class="logo">
<ul>
<li>
<a href="{{ '/' | prepend:site.baseurl }}">
<img src="assets/julianeurologo.png">
</a>
<a href="{{ '/' | prepend:site.baseurl }}">
<img src="assets/julianeurologo.png">
</a>
</li>
<li>
<h1>{{ site.title }}</h1>
</li>

<a href="{{ '/' | prepend:site.baseurl }}">
<h1>{{ site.title }}</h1>
</a>
</li>
</ul>
</div>
<div class="linkbar">

<div class="linkbar">
<ul>

<li><a href="{{ '/packages' | prepend: site.baseurl }}">Packages</a></li>
<li><a href="{{ '/papers' | prepend: site.baseurl }}">Papers</a></li>
<li><a href="{{ '/people' | prepend: site.baseurl }}">People</a></li>
</ul>

</div>
</div>
</div>
<!-- <p>{{ site.description | default: site.github.project_tagline }}</p> -->
</header>
7 changes: 4 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
<body>
<div class="wrapper">
{% include header.html %}
<section>

<section>
{{ content }}

</section>

<footer>
<p>This project is maintained by <a href="{{ site.owner_url }}">{{ site.owner_name }}</a></p>
<p>This project is maintained by <a href="{{ site.owner_url }}">{{ site.owner_name }}</a></p>
</footer>

</div>
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
</body>
Expand Down
67 changes: 51 additions & 16 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ img {

header {
#navbar {

margin: -1em 1em -1em -1em;
padding: 1em 0;
width:101%;
Expand All @@ -131,17 +131,18 @@ box-shadow: 0px 7px 14px -5px rgba(0,0,0,0.75);
list-style-type: none;
li {
h1{
margin-left:-2em;
margin-left:-2em;
}
float: left;
img{
margin-top:-1.5em;
max-width:55%;
width: 150px;
}
}
}
}

.linkbar{
margin-right: 1em;
float: right;
Expand All @@ -165,8 +166,41 @@ box-shadow: 0px 7px 14px -5px rgba(0,0,0,0.75);
}
}
}


/*
- custom styling
*/

#landingpage h1{
text-align: center;
font-size: 40px;
}

.button{
display: block;
border: 2px solid black;
width: 200px;
border-radius: 5px;
padding: 10px;
margin: 0 auto;
color: black;
}

#landingpage-section {
display: flex;
margin: 30px 0;
.cards{
flex-grow: 1;
text-align: center;
}
}

@media screen and (max-width:760px) {
#landingpage-section{
display: block;
margin: 30px 0;
}
}

/* Change the link color on hover */
// header #navbar .linkbar li a:hover {
Expand Down Expand Up @@ -199,6 +233,7 @@ hr {
}

footer {
text-align: center;
width:270px;
float:left;
position:fixed;
Expand Down Expand Up @@ -240,11 +275,11 @@ footer {
padding: 1em 0 !important;
width: 104% !important;
}

.logo {

width: 100% !important;

ul{
width: 100% !important;
li{
Expand All @@ -260,14 +295,14 @@ footer {
}
}
}
.linkbar{

.linkbar{
margin: 1em 0 0 1em !important;
width:100% !important;
ul{
list-style-type: none !important;
float: initial !important;
float: initial !important;

li{
padding: 0 .1em !important;
margin: -1em !important;
Expand All @@ -277,17 +312,17 @@ footer {
}
}
}

section{
padding: 12em .2em 4em .2em !important;
padding: 12em .2em 4em .2em !important;
}

header li, header ul li + li + li {
width:33%;
}



}

@media print {
Expand Down
Binary file added assets/images/package.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/papers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/people.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: default
---

<div id="landingpage">
<h1>All around Neuroscience!</h1>

<div id="landingpage-section">
<div class="cards">
<img src="assets/images/package.jpg" width="150">
<h2 id="packages">Packages</h2>
<a href="./packages" class="button"> What out there?</a>
</div>

<div class="cards">
<img src="assets/images/people.jpg" width="150">
<h2 id="people">People</h2>
<a href="./people" class="button"> Who’s doing it?</a>
</div>

<div class="cards">
<img src="assets/images/papers.jpg" width="150">
<h2 id="papers">Papers</h2>
<a href="./papers" class="button">Published results.</a>
</div>
</div>
</div>
12 changes: 0 additions & 12 deletions index.md

This file was deleted.