File tree 2 files changed +23
-6
lines changed
2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 16
16
box-shadow : 0 10px 15px 0 var (--shadow );
17
17
padding : 0 ;
18
18
max-width : 100% ;
19
- min-height : rem (300 );
19
+ min-height : rem (140 );
20
20
overflow : clip ;
21
21
transition : transform 0.2s ;
22
22
& :hover {
27
27
display : grid ;
28
28
grid-template-columns : 1fr 10fr 1fr ;
29
29
grid-template-rows : 1fr ;
30
- height : 45 % ;
31
- background-color : var (--inverse- accent-background );
30
+ height : 100 % ;
31
+ background-color : var (--accent-dark -background );
32
32
color : var (--accent-color );
33
33
padding : rem (10 );
34
34
align-items : center ;
35
35
justify-content : center ;
36
36
37
+ @include breakpoint (large ) {
38
+ background-color : var (--inverse-accent-background );
39
+ height : 45% ;
40
+ }
41
+
37
42
& _title {
38
43
grid-area : 1 / 2 ;
39
44
padding : rem (15 );
42
47
}
43
48
& _icon {
44
49
position : absolute ;
45
- color : var (--text-color );
50
+ color : var (--dark-background );
46
51
font-size : rem (100 );
47
52
top : 50% ;
48
53
left : 50% ;
49
54
transform : translate (-50% , -50% );
50
55
z-index : 2 ;
56
+
57
+ @include breakpoint (large ) {
58
+ color : var (--text-color );
59
+ }
51
60
}
52
61
& _arrow {
53
62
text-align : center ;
54
63
grid-area : 1 / 3 ;
55
64
}
56
65
}
57
66
& _content {
67
+ display : none ;
68
+ visibility : hidden ;
58
69
padding : rem (10 );
59
70
background-color : var (--accent-background );
60
71
font-size : rem (18 );
61
72
color : var (--text-color );
62
73
text-align : center ;
74
+
75
+ @include breakpoint (large ) {
76
+ display : block ;
77
+ visibility : visible ;
78
+ }
63
79
}
64
80
@include breakpoint (large ) {
65
81
flex : 0 1 rem (250 );
66
82
// max-width: clamp(rem(185), 20%, rem(250));
67
83
aspect-ratio : 1 / 1.5 ;
84
+ min-height : rem (300 );
68
85
}
69
86
}
70
87
}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ title = 'Scouting Tibrag Sneek'
10
10
min = ' 0.134.2'
11
11
12
12
[[module .imports ]]
13
- path = ' github.com/tibrag/content'
14
- # path = '../../content'
13
+ # path = 'github.com/tibrag/content'
14
+ path = ' ../../content'
15
15
disabled = false
16
16
17
17
[[module .imports .mounts ]]
You can’t perform that action at this time.
0 commit comments