Skip to content

Commit

Permalink
adding header image
Browse files Browse the repository at this point in the history
  • Loading branch information
hosssha committed Jun 2, 2017
1 parent b131e51 commit a2ca615
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
30 changes: 29 additions & 1 deletion css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,32 @@
padding:4px 4px;
margin:0px;
border-bottom:1px solid #eee;
}
}





body {
font-family: 'Source Sans Pro', sans-serif;
}

header {
background:
linear-gradient(
rgba(0, 0, 0, 0.2),
rgba(0, 0, 0, 0.2)
),
url(../images/blue-splitter.jpg);
background-size: cover;
height: 100vh;
}

.slogan {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
}
Binary file added images/blue-splitter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@
</div>
<!-- /.container -->
</nav>

<header>
<div class="slogan">
<h1>Droplet</h1>
<h1>Decentralized Access Control Management for the Internet of Things Streamdata</h1>
</div>
</header>


<!-- Intro Section -->
<section id="intro" class="intro-section">
Expand Down

0 comments on commit a2ca615

Please sign in to comment.