File tree 1 file changed +28
-4
lines changed
1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change 8
8
position : relative ;
9
9
display : flex ;
10
10
flex-direction : column ;
11
- justify-content : center ;
11
+ justify-content : flex-start ;
12
12
align-items : center ;
13
13
padding : 0.5rem 1rem ;
14
14
color : $primary ;
22
22
width : 9px ;
23
23
height : 9px ;
24
24
25
- top : 50 % ;
25
+ top : 2 rem ;
26
26
right : -5px ;
27
27
transform : translateY (-5px );
28
28
border-radius : 50% ;
29
29
background-color : $primary ;
30
30
}
31
+ & :has (.point-year ):not (:has (.point-month )),
32
+ & :has (.point-month ):not (:has (.point-year )) {
33
+ & :after {
34
+ top : 2.4rem ;
35
+ }
36
+ }
37
+ & :has (.point-year ):has (.point-month ) {
38
+ & :after {
39
+ top : 3.872rem ;
40
+ }
41
+ }
31
42
32
43
.point-date {
33
- flex : 1 ;
34
44
font-size : 2.75rem ;
35
45
line-height : 1.1 ;
36
46
}
37
47
38
48
.point-month ,
39
49
.point-year {
40
- flex : 1 ;
41
50
font-size : 1rem ;
42
51
text-transform : uppercase ;
43
52
}
69
78
min-width : 54px ;
70
79
padding : 0.3rem 1rem 0.3rem 0 ;
71
80
81
+ & :after {
82
+ top : 1.3rem ;
83
+ }
84
+ & :has (.point-year ):not (:has (.point-month )),
85
+ & :has (.point-month ):not (:has (.point-year )) {
86
+ & :after {
87
+ top : 2rem ;
88
+ }
89
+ }
90
+ & :has (.point-year ):has (.point-month ) {
91
+ & :after {
92
+ top : 2.867rem ;
93
+ }
94
+ }
95
+
72
96
.point-date {
73
97
flex : 0 ;
74
98
font-size : 1.5rem ;
You can’t perform that action at this time.
0 commit comments