Skip to content

Commit

Permalink
responsive bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandoche Adittane committed Jul 31, 2016
1 parent 1e49a26 commit c463392
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/styles/_bot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

.bot {

padding-top: 35px;
padding-top: 65px;

.btn {
padding: 6px 12px;
Expand Down
2 changes: 2 additions & 0 deletions app/styles/_wip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@

.wip {

padding-top: 65px;

h2 {
font-size: 2rem;
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/bot.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<section class="bot center" style="background: url({{ Bot.imageBgSrc }}) no-repeat center fixed; background-size: cover;">
<div class="container">
<div class="row">
<div class="col-sm-5 col-sm-offset-1 vcenter">
<div class="col-xs-8 col-xs-offset-2 col-sm-5 col-sm-offset-1 vcenter">
<img src="{{ Bot.imageSrc }}" class="img-responsive" alt="" />
</div>
<div class="col-sm-5 center-col vcenter">
<div class="col-xs-12 col-sm-5 center-col vcenter">
<h1>Hello, <strong><typer words="['I\'m ' + Bot.name ]" type-time='50' start-typing="true" repeat="false" backspace-time='200' start-delay='1500'></typer></strong></h1>

<h2>{{ Bot.description }}</h2>
Expand Down
4 changes: 2 additions & 2 deletions app/views/wip.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<section class="wip center" style="background: url(images/wipBg2.png) no-repeat center fixed; background-size: cover;">
<div class="container">
<div class="row">
<div class="col-sm-5 col-sm-offset-1 vcenter">
<div class="col-xs-8 col-xs-offset-2 col-sm-5 col-sm-offset-1 vcenter">
<img src="images/wip.png" class="img-responsive moving-animation" alt="" />
</div>
<div class="col-sm-5 center-col vcenter">
<div class="col-xs-12 col-sm-5 center-col vcenter">
<h2>Oh my god! {{ newBotName }} is hatching! It will grow up to be the best {{ feature }} bot!</h2>

<div class="text-block">
Expand Down

0 comments on commit c463392

Please sign in to comment.