Skip to content

Commit

Permalink
responsive fix for bot and wip page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandoche Adittane committed Jul 14, 2016
1 parent e1da1cb commit 3a339b0
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 9 deletions.
14 changes: 14 additions & 0 deletions app/styles/_bot.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.bot {

h1, h2 {
Expand All @@ -18,5 +19,18 @@
width: 20px;
}

min-height: 100vh;

}


@media (max-width: $screen-sm-min) {

.bot {
h1 {
text-transform: uppercase;
font-size: 3rem;
}
}

}
32 changes: 23 additions & 9 deletions app/styles/_flexbox.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
.center {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
@media (min-width: $screen-sm-min) {

.center {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

.vcenter {
display: inline-block;
vertical-align: middle;
float: none;
}

}

.vcenter {
display: inline-block;
vertical-align: middle;
float: none;
@media (max-width: $screen-sm-min) {

.center, .text-block {
text-align: center !important;
}



}
5 changes: 5 additions & 0 deletions app/styles/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@
.love {
color: $red !important;
}


.btn {
margin-bottom: 5px;
}

0 comments on commit 3a339b0

Please sign in to comment.