Skip to content

Commit

Permalink
Fixes mismatching home bg (RocketChat#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler authored Sep 11, 2018
1 parent 6b179e3 commit 874e5c1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions _sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,20 +274,20 @@ blockquote {
}
.icon {
margin-top: 0;
margin-left: 8px;
opacity: 1;
}

::-webkit-input-placeholder {
color: $grey-dark;
color: $grey;
}
::-moz-placeholder {
color: $grey-dark;
color: $grey;
}
:-ms-input-placeholder {
color: $grey-dark;
color: $grey;
}
:-moz-placeholder {
color: $grey-dark;
color: $grey;
}

}
Expand Down Expand Up @@ -562,12 +562,12 @@ main.home {
}

.home-hero{
background: url("./images/default/hero.png");
background: url("./images/default/hero.jpg");
background-repeat: no-repeat;
background-position: bottom;
background-size: 100% auto;

min-height: 670px;
min-height: 90vh;
padding: 6em 0;

color: white;
Expand Down Expand Up @@ -811,12 +811,12 @@ h6:hover .header-link {

@media all and (min-width: 2000px) {
.home-hero{
background: url("./images/default/hero2x.png");
background: url("./images/default/hero2x.jpg");
background-repeat: no-repeat;
background-position: bottom;
background-size: 100% auto;

min-height: 670px;
min-height: 80vh;
padding: 6em 0;

color: white;
Expand Down
2 changes: 1 addition & 1 deletion _sass/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $warning: #ff5050;
$space: #030c1a;
$space-b: #0b182b;
$space-grey: #121f33;
$home-bg: #0b1224;
$home-bg: #040b1b;

// 2.1 Grayscale
$grey-dark: #384a66;
Expand Down
Binary file added images/default/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/default/hero.png
Binary file not shown.
Binary file added images/default/hero2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/default/hero2x.png
Binary file not shown.

0 comments on commit 874e5c1

Please sign in to comment.