Skip to content

Commit

Permalink
Merge pull request #26 from revolter/change/wider-content-on-bigger-s…
Browse files Browse the repository at this point in the history
…creens
  • Loading branch information
revolter authored Dec 3, 2024
2 parents 0e46d6f + 9710491 commit c3f04bb
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions _sass/minima/custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ $inactive-toggle-text-color: var(--io-inactive-toggle-text-color);
$button-background-color: var(--io-button-background-color);
$button-hover-background-color: var(--io-button-hover-background-color);

$on-monitor: 1366px !default;
$on-big-monitor: 1600px !default;

html {
height: 100%;
}
Expand All @@ -53,6 +56,14 @@ body {
flex-grow: 1;
justify-content: center;

@media screen and (min-width: $on-monitor) {
max-width: 900px;
}

@media screen and (min-width: $on-big-monitor) {
max-width: 1200px;
}

.home {
display: flex;
flex-grow: 1;
Expand Down Expand Up @@ -88,7 +99,7 @@ body {
}

#toggle-full-width {
@media not screen and (min-width: $on-laptop) {
@include media-query($on-laptop) {
display: none;
}
}
Expand All @@ -99,7 +110,7 @@ body {
flex-direction: row;
}

@media not screen and (min-width: $on-laptop) {
@include media-query($on-laptop) {
flex-direction: column;
}

Expand All @@ -126,7 +137,7 @@ body {
border-style: solid;
border-width: 1px;

@media not screen and (min-width: $on-laptop) {
@include media-query($on-laptop) {
overflow: auto;
}

Expand Down

0 comments on commit c3f04bb

Please sign in to comment.