Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Skew to more Responsive #158

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _src/theme/scss/parts/_block-styling.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@

}

$skew-dist-y: 70px;
$skew-dist-y-extra: 2px;
$skew-dist-correction: 30px; // As the skew creates quite a large space at the top you can eliminate a part of this using this value.
$skew-dist-y: 5vw;
$skew-dist-y-extra: 0.1vw;
$skew-dist-correction: 2vw; // As the skew creates quite a large space at the top you can eliminate a part of this using this value.


.skew {
Expand All @@ -88,7 +88,7 @@ $skew-dist-correction: 30px; // As the skew creates quite a large space at the t

.skew-top {

margin-top: $skew-dist-y;
margin: 0;

&:before {
content: '';
Expand All @@ -105,7 +105,7 @@ $skew-dist-correction: 30px; // As the skew creates quite a large space at the t

.skew-bottom {

margin-bottom: $skew-dist-y;
margin: 0;

&:after {
content: '';
Expand Down
4 changes: 3 additions & 1 deletion _src/theme/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
@import "mixins/_icons.scss";
@import "mixins/_fonts.scss";

@import 'parts/_panes.scss';

@import "parts/_texts.scss";
@import 'parts/_buttons.scss';
@import 'parts/_block-styling.scss';
Expand All @@ -10,7 +12,7 @@
@import 'parts/_header.scss';
@import 'parts/_footer.scss';

@import 'parts/_panes.scss';

@import 'parts/_menu.scss';
@import 'parts/_containers.scss';

Expand Down
2 changes: 1 addition & 1 deletion skin.css

Large diffs are not rendered by default.