-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
116 lines (99 loc) · 1.73 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
body,
html {
margin: 0;
padding: 0;
scroll-behavior: smooth;
}
body {
background-color: #f3f3f3;
}
.content {
width: 100vw;
display: flex;
flex-direction: column;
scroll-snap-type: mandatory;
scroll-snap-points-y: repeat(700px);
scroll-snap-type: y mandatory;
}
.content__section {
display: flex;
flex-direction: row;
min-height: 700px;
scroll-snap-align: start;
}
.content__left-box {
flex: 1;
box-sizing: border-box;
display: flex;
flex-direction: column;
background-repeat: no-repeat;
background-position: top left;
background-size: contain;
}
.content__right-box {
z-index: 1;
flex: 1;
}
.bg-squares__1 {
background-image: url("assets/L1_BLACK.png");
}
.bg-squares__2 {
background-image: url("assets/L2_BLUE.png");
}
.bg-squares__3 {
background-image: url("assets/L3_BLACK.png");
}
.bg-squares__4 {
background-image: url("assets/L4_WHITE.png");
}
/* .content__section:nth-of-type(2n) {
background-color: red;
} */
.container--fixed {
position: fixed;
width: 50vw;
left: 50vw;
top: 50px;
bottom: 0;
}
.animation__container {
height: 100vh;
width: 50vw;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.ilustra {
width: 500px;
position: absolute;
transition: all 0.1s linear;
}
.ilustra--small {
width: 60px;
position: absolute;
transition: all 0.1s linear;
}
.small-ilustra-1 {
margin-left: -163px;
margin-top: -90px;
}
.small-ilustra-2 {
margin-left: -95px;
margin-top: -130px;
}
.small-ilustra-3 {
margin-left: -28px;
margin-top: -173px;
}
.small-ilustra-4 {
margin-left: 7px;
}
.small-ilustra-5 {
margin-left: 73px;
margin-top: -30px;
}
.small-ilustra-6 {
margin-left: 142px;
margin-top: -70px;
}