Skip to content

Commit

Permalink
(fix) general layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabitoesmiapodo committed Mar 19, 2019
1 parent 9722406 commit 425c896
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 30 deletions.
20 changes: 10 additions & 10 deletions src/assets/images/themes/ethereum-classic/background/bg-pattern.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/stylesheets/application.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/stylesheets/application/_events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
padding-top: 40px;

.events-container {
width: 960px;
width: $container-width;

.events-header {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion src/assets/stylesheets/application/_pattern-background.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.pattern-background {
margin-left: auto;
overflow: hidden;
padding-top: 25px;
width: 15%;
Expand All @@ -11,7 +12,7 @@
min-width: 192px;
}

@media screen and (max-width: $mobile-width) {
@media screen and (max-width: $tablet-width-landscape) {
display: none;
}
}
23 changes: 10 additions & 13 deletions src/assets/stylesheets/application/_statistics.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
.statistics-page-container {
display: flex;
flex-direction: column;
max-width: $container-width;
width: 70%;

@media screen and (max-width: $tablet-width) {
width: 90%;
@media screen and (max-width: $tablet-width-landscape) {
width: 100%;
}

@media screen and (max-width: $mobile-width) {
padding-left: 15px;
padding-right: 15px;
}

.statistics-title {
Expand Down Expand Up @@ -60,20 +66,11 @@
}

.statistics-left-container {
margin-right: auto;
padding-top: 25px;
width: 15%;

@media screen and (max-width: $mobile-width) {
display: none;
}
}

.statistics-right-container {
overflow: hidden;
padding-top: 25px;
width: 15%;

@media screen and (max-width: $mobile-width) {
@media screen and (max-width: $tablet-width-landscape) {
display: none;
}
}
Expand Down
13 changes: 10 additions & 3 deletions src/assets/stylesheets/application/_status.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
.status-page-container {
display: flex;
flex-direction: column;
max-width: $container-width;
width: 70%;

@media screen and (max-width: $tablet-width) {
width: 90%;
@media screen and (max-width: $tablet-width-landscape) {
width: 100%;
}

@media screen and (max-width: $mobile-width) {
padding-left: 15px;
padding-right: 15px;
}

.status-title {
Expand Down Expand Up @@ -105,10 +111,11 @@
}

.status-left-container {
margin-right: auto;
padding-top: 25px;
width: 15%;

@media screen and (max-width: $mobile-width) {
@media screen and (max-width: $tablet-width-landscape) {
display: none;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/assets/stylesheets/helpers/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ $base-images-path: '../images';

$container-width: 960px;
$container-responsive-width: 980px;
$tablet-width-landscape: 1024px;
$tablet-width: 768px;
$mobile-width: 414px;
$small-mobile-width: 360px;

$footer-height_desktop: 66px;
$footer-height_mobile: 98px;
$footer-height_mobile: 160px;

0 comments on commit 425c896

Please sign in to comment.