Skip to content

Commit

Permalink
add top banner to point to the new URL for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgibelli committed Jul 3, 2018
1 parent 8d3f3b5 commit c274ebc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _includes/topnav.html
@@ -1,6 +1,11 @@
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container topnavlinks">
<div id="banner">
<div id="banner-content">
This website is going away soon! Update your bookmarks!<br>Documentation is now hosted at <a href="https://www.sylabs.io/docs/">https://www.sylabs.io/docs/</a>
</div>
</div>
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
Expand Down
24 changes: 24 additions & 0 deletions _layouts/default.html
@@ -1,5 +1,28 @@
<!DOCTYPE html>
<head>
<style type="text/css" media="screen">
* {
margin: 0;
padding: 0;
}

div#banner {
position: relative;
top: 0;
left: 0;
font-color: #ffffff;
background-color: #ff1a1a;
text-align: center;
width: 100%;
font-size: large;
font-weight: bold;
}
div#banner-content {
margin: 0 auto;
padding: 10px;
border: 1px solid #000;
}
</style>
{% include head.html %}
<script>
$(document).ready(function() {
Expand Down Expand Up @@ -55,6 +78,7 @@

</head>
<body>

{% include asciinema.html %}
{% include topnav.html %}
<!-- Page Content -->
Expand Down

0 comments on commit c274ebc

Please sign in to comment.