diff --git a/public/javascripts/indexscript.js b/public/javascripts/indexscript.js index 7f004e3..20627a8 100644 --- a/public/javascripts/indexscript.js +++ b/public/javascripts/indexscript.js @@ -81,4 +81,9 @@ $(document).ready(function() { // Testimonials setInterval(changeTestimonial, 3000); + + // Temporary welcome block + $('#close-welcome').click(function() { + $('#welcome-block').fadeOut(200); + }); }); diff --git a/public/stylesheets/indexstyle.css b/public/stylesheets/indexstyle.css index b24d4fa..098b143 100644 --- a/public/stylesheets/indexstyle.css +++ b/public/stylesheets/indexstyle.css @@ -35,12 +35,28 @@ along with the RDB code. If not, see . height: 60px; } } +@media (max-width: 400px) { + #welcome-block>p { + font-size: 13px; + } +} #welcome-block>p { display: block; line-height: 20px; font-weight: bold; color: #fff; text-align: center; + margin-right: 25px; + margin-bottom: 0px; +} +#welcome-block>i { + margin: 5px; + width: 10px; + line-height: 10px; + position: absolute; + right: 10px; + top: 10px; + color: #fff; } /* General layout */ diff --git a/views/index.hbs b/views/index.hbs index b589fd3..23bd474 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -1,5 +1,6 @@

Psst! Welcome to the RDB version 2.0, to be publicly released this week!

+