Skip to content

Commit d0c5c2a

Browse files
authored
Merge pull request #9 from AdvancedCSS2023/Petter-test
Petter test
2 parents 430dc3d + b9eeb5a commit d0c5c2a

9 files changed

+81
-5
lines changed

Diff for: styling/colors.css

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

Diff for: styling/colors.css.map

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

Diff for: styling/colors.scss

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
$sky-color-blue: #a8c0ff;

Diff for: styling/mediaqueries.css

+16
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,20 @@
3939
-webkit-animation: none !important;
4040
animation: none !important;
4141
}
42+
}
43+
@media screen and (max-width: 768px) {
44+
.school {
45+
position: absolute;
46+
transform: translate(50%, 5em);
47+
width: 30px;
48+
height: auto;
49+
}
50+
.kofi__school2 {
51+
width: 66px; /* 50% of the original width */
52+
height: 214px; /* 50% of the original height */
53+
transform: translate(2em, 10em); /* adjust the position as needed */
54+
}
55+
.scene3 {
56+
height: 50vh;
57+
}
4258
}/*# sourceMappingURL=mediaqueries.css.map */

Diff for: styling/mediaqueries.css.map

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

Diff for: styling/mediaqueries.scss

+20-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,23 @@
2929
.drop3{
3030
animation: none !important;
3131
}
32-
}
32+
}
33+
34+
@media screen and (max-width: 768px) {
35+
.school {
36+
position: absolute;
37+
transform: translate(50%, 5em);
38+
width: 30px;
39+
height: auto;
40+
41+
}
42+
.kofi__school2 {
43+
width: 66px; /* 50% of the original width */
44+
height: 214px; /* 50% of the original height */
45+
transform: translate(2em, 10em); /* adjust the position as needed */
46+
}
47+
.scene3 {
48+
height: 50vh;
49+
}
50+
}
51+

Diff for: styling/styling.css

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

Diff for: styling/styling.css.map

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

Diff for: styling/styling.scss

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "animations";
22
@import "mediaqueries";
3+
@import "colors";
34

45

56

@@ -435,6 +436,16 @@ p {
435436
position: absolute;
436437
}
437438

439+
440+
.scene3__text1{
441+
position: absolute;
442+
transform: translate(70vw, 5vw);
443+
}
444+
.scene3__text2{
445+
position: absolute;
446+
transform: translate(35vw, 1vw);
447+
}
448+
438449
.scene5__text > a {
439450
display: inline-block;
440451
padding: 10px 20px;
@@ -603,7 +614,7 @@ button:hover {
603614
.scene3 {
604615
height: 100vh;
605616
width: 100%;
606-
background: skyblue;
617+
background: var(s);
607618
position: relative;
608619
}
609620

0 commit comments

Comments
 (0)