File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
src/pages/showcase/_components/ShowcaseCard Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change 5
5
* LICENSE file in the root directory of this source tree.
6
6
*/
7
7
8
- .showcaseCardImage {
8
+ .showcaseCardImage {
9
9
overflow : hidden;
10
10
height : 150px ;
11
11
border-bottom : 2px solid var (--ifm-color-emphasis-200 );
22
22
flex : 1 1 auto;
23
23
}
24
24
25
-
26
25
.showcaseCardTitle a {
27
26
text-decoration : none;
28
27
background : linear-gradient (
43
42
}
44
43
45
44
.showcaseCardHeader .svgIconFavorite {
46
- color : white;
47
- }
48
- [data-theme = "dark" ] .showcaseCardHeader {
49
- color : white;
45
+ color : var (--site-color-svg-icon-favorite );
50
46
}
47
+
51
48
.showcaseCardSrcBtn {
52
49
margin-left : 6px ;
53
50
padding-left : 12px ;
54
51
padding-right : 12px ;
55
52
border : none;
56
53
}
54
+
57
55
.showcaseCardSrcBtn : focus-visible {
58
56
background-color : var (--ifm-color-secondary-dark );
59
57
}
60
58
61
- [data-theme = " dark" ] .showcaseCardSrcBtn {
59
+ [data-theme = ' dark' ] .showcaseCardSrcBtn {
62
60
background-color : var (--ifm-color-emphasis-200 ) !important ;
63
61
color : inherit;
64
62
}
65
63
66
- [data-theme = " dark" ] .showcaseCardSrcBtn : hover {
64
+ [data-theme = ' dark' ] .showcaseCardSrcBtn : hover {
67
65
background-color : var (--ifm-color-emphasis-300 ) !important ;
68
66
}
69
67
70
68
.showcaseCardBody {
71
69
font-size : smaller;
72
70
line-height : 1.66 ;
73
71
}
72
+
74
73
.cardFooter {
75
74
display : flex;
76
75
flex-wrap : wrap;
98
97
margin-left : 6px ;
99
98
margin-right : 6px ;
100
99
}
101
- .card {
102
- transition : transform 0.2s ease, box-shadow 0.2s ease;
103
- }
104
-
105
- .card : hover {
106
- /* transform: translateY(-5px); */
107
- transform : scale (1.1 );
108
- box-shadow : 0 8px 16px white;
109
- }
110
-
You can’t perform that action at this time.
0 commit comments