File tree Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Original file line number Diff line number Diff line change 1
1
.row {
2
- > article .item {
3
- @include bp (desktop) {
4
- & :nth-last-child (-n + 2 ) {
5
- margin-bottom : 1.6rem !important ;
6
- }
7
- }
8
- }
9
- }
10
-
11
- .item {
12
- --color-palette : var (--developer-purple );
13
- margin-bottom : 1.6rem ;
14
- transition : filter calc (var (--motion ) * var (--motion-speed )) $gentle-ease ;
15
- width : 100% ;
16
- max-height : 19.5rem ;
17
- margin-top : 0 ;
18
- position : relative ;
19
- aspect-ratio : 1 / 0.5 ;
20
-
21
- @include bp (' tablet' ) {
22
- width : 50% ;
23
- padding : 0 0.8rem ;
2
+ .item {
3
+ --color-palette : var (--developer-purple );
4
+ margin-bottom : 1.6rem ;
5
+ transition : filter calc (var (--motion ) * var (--motion-speed )) $gentle-ease ;
6
+ width : 100% ;
7
+ margin-top : 0 ;
8
+ position : relative ;
24
9
25
10
& :nth-last-child (-n + 2 ) {
26
11
margin-bottom : 1.6rem !important ;
27
12
}
28
- }
29
13
14
+ @include bp (' tablet' ) {
15
+ width : 50% ;
16
+ padding : 0 0.8rem ;
17
+ }
18
+ }
19
+ }
20
+ .item {
30
21
& .active {
31
22
filter : drop-shadow (0 0.8rem 2rem rgba (0 , 0 , 0 , 0.1 ));
32
23
45
36
flex-direction : column ;
46
37
align-items : flex-start ;
47
38
gap : 0.6rem ;
48
- padding : 2.4rem !important ;
39
+ padding : 2.4rem 2.4 rem 9.6 rem 2.4 rem !important ;
49
40
position : relative ;
50
41
height : 100% ;
51
42
width : 100% ;
You can’t perform that action at this time.
0 commit comments