Skip to content

Commit 3327ddb

Browse files
committed
Minosr adjustments and fixes
1 parent b8c040c commit 3327ddb

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

css/style.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sass/abstracts/_mixins.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343

4444
@mixin media-query-for($device) {
4545
@if $device == small-phone {
46-
@media (max-width: 21.25em) { @content; } // 340px
46+
@media only screen and (max-width: 21.25em) { @content; } // 340px
4747
}
4848
@if $device == phone {
49-
@media (max-width: 37.5em) { @content; } // 600px
49+
@media only screen and (max-width: 37.5em) { @content; } // 600px
5050
}
5151
@if $device == tablet-portrait {
52-
@media (max-width: 56.25em) { @content; } // 900px
52+
@media only screen and (max-width: 56.25em) { @content; } // 900px
5353
}
5454
@if $device == tablet-landscape {
55-
@media (max-width: 75em) { @content; } // 1200px
55+
@media only screen and (max-width: 75em) { @content; } // 1200px
5656
}
5757
@if $device == big-desktop {
58-
@media (min-width: 112.5em) { @content; } // 1800px
58+
@media only screen and (min-width: 112.5em) { @content; } // 1800px
5959
}
6060
}

sass/base/_base.scss

+5
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@ body {
3434
@include media-query-for(tablet-portrait) {
3535
padding: 0;
3636
}
37+
38+
::selection {
39+
background-color: $color-primary;
40+
color: $color-white;
41+
}
3742
}

sass/pages/_home.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
transparent 50%,
6565
transparent 100%
6666
),
67-
url(../../img/nat-10.jpg);
67+
url(../img/nat-10.jpg);
6868
background-size: cover;
6969
border-radius: 0.3rem;
7070
box-shadow: 0 1.5rem 4rem rgba($color-black, 0.2);
@@ -77,7 +77,7 @@
7777
transparent 65%,
7878
transparent 100%
7979
),
80-
url(../../img/nat-10.jpg);
80+
url(../img/nat-10.jpg);
8181
width: 90vw;
8282
margin-right: auto;
8383
margin-left: auto;
@@ -89,7 +89,7 @@
8989
rgba($color-white, 0.9) 0%,
9090
rgba($color-white, 0.9) 100%
9191
),
92-
url(../../img/nat-10.jpg);
92+
url(../img/nat-10.jpg);
9393
width: auto;
9494
}
9595

0 commit comments

Comments
 (0)