Skip to content

Commit

Permalink
Revert "Remove "Download DataLad" link"
Browse files Browse the repository at this point in the history
This reverts commit 8d2f242.
  • Loading branch information
aqw committed Mar 17, 2019
1 parent 68c97ed commit 504767b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<meta name="url" content="/index.html" />
</head>
<body>
<div class='download'>
<p><a href='/get_datalad.html'>Get DataLad</a></p>
</div>
<div id='cards'>
<div class='card'>
<h2 class="icon-flashlight"><a href='/features.html#data-discovery'>Discover Data</a></h2>
Expand Down
21 changes: 21 additions & 0 deletions theme/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,24 @@ asciinema-player + .dl-cast-script { margin-top: -13px; }
width: calc(50% - 2px - 6em);
}
}

.download { display: none; }
@media screen and (min-width: 768px) {
.download {
display: flex;
justify-content: center;
}
.download p { margin: 0 0 1em 0; }
.download a {
background: #ffa200;
border: 2px solid #de942c;
border-radius: 2em;
box-shadow: 0 3px 10px #bbb;
color: #fff;
display: block;
font-size: 1.6em;
padding: 0.5em 4em;
transition: transform 0.3s;
}
.download a:hover { transform: scale(1.03); }
}

0 comments on commit 504767b

Please sign in to comment.