Skip to content

Commit bdc1574

Browse files
committed
fix intro circle positioning
1 parent 2338f42 commit bdc1574

File tree

1 file changed

+37
-27
lines changed

1 file changed

+37
-27
lines changed

examples/components/Intro/Intro.scss

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,56 @@
55
@import '../../styles/colors';
66

77
:local(.root) {
8-
display: flex;
9-
flex-flow: row wrap;
10-
align-items: center;
11-
justify-content: center;
12-
padding-top: 50vh;
13-
height: 50vh;
8+
display: flex;
9+
flex-flow: row wrap;
10+
align-items: center;
11+
justify-content: center;
12+
padding-top: 50vh;
13+
height: 50vh;
1414
}
1515

1616
:local(.container) {
17-
position: relative;
18-
width: 25em;
17+
position: relative;
18+
width: 25em;
1919
}
2020

2121
:local(.ring) {
22-
position: relative;
23-
z-index: 2;
22+
position: relative;
23+
z-index: 2;
2424
}
2525

2626
:local(.circle) {
27-
position: absolute;
28-
top: 15%;
29-
left: 15%;
30-
width: 70%;
31-
height: 70%;
32-
z-index: 1;
27+
position: absolute;
28+
top: 15%;
29+
left: 15%;
30+
width: 70%;
31+
height: 70%;
32+
z-index: 1;
33+
34+
.parallax-inner {
35+
position: absolute;
36+
top: 0;
37+
left: 0;
38+
width: 100%;
39+
height: 100%;
40+
border: 3px solid $plum;
41+
border-radius: 50%;
42+
}
3343
}
3444

3545
:local(.circleInner) {
36-
position: absolute;
37-
top: 0;
38-
left: 0;
39-
width: 100%;
40-
height: 100%;
41-
border: 3px solid $plum;
42-
border-radius: 50%;
46+
position: absolute;
47+
top: 0;
48+
left: 0;
49+
width: 100%;
50+
height: 100%;
51+
border: 3px solid $plum;
52+
border-radius: 50%;
4353
}
4454

4555
:local(.hemispheres) {
46-
position: absolute;
47-
top: 25%;
48-
left: 25%;
49-
width: 50%;
56+
position: absolute;
57+
top: 25%;
58+
left: 25%;
59+
width: 50%;
5060
}

0 commit comments

Comments
 (0)