Skip to content

Commit

Permalink
Temporary welcome block
Browse files Browse the repository at this point in the history
  • Loading branch information
wyppeter committed Oct 30, 2017
1 parent 444f650 commit 153e865
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions public/stylesheets/indexstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@ You should have received a copy of the GNU General Public License
along with the RDB code. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------*/

/* Temporary welcome banner */
#welcome-block {
background: rgba(30,180,130,0.7);
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 40px;
font-size: 15px;
padding: 10px;
}
@media (max-width: 600px) {
#welcome-block {
height: 60px;
}
}
#welcome-block>p {
display: block;
line-height: 20px;
font-weight: bold;
color: white;
}

/* General layout */
@media (max-width: 330px) {
Expand Down
3 changes: 3 additions & 0 deletions views/index.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<div id="welcome-block">
<p>Psst! Welcome to the RDB version 2.0, to be publicly released this week!</p>
</div>
<div class="page-wrapper">
<div class="main" id="indexmain">
<div class="main-inner">
Expand Down

0 comments on commit 153e865

Please sign in to comment.