@@ -38,32 +38,48 @@ <h2 class="panel-heading">{{- site.data.locales[include.lang].panel.lastmod -}}<
38
38
< style >
39
39
.sidepanel-cta {
40
40
font-family : 'Arial' , sans-serif;
41
- background : linear-gradient (135deg , # 007bff, # 0056b3 );
42
- color : # fff ;
41
+ background : var (--card-bg );
42
+ backdrop-filter : blur (8px ) saturate (160% );
43
+ -webkit-backdrop-filter : blur (8px ) saturate (160% );
44
+ border-radius : 10px ;
45
+ border : 1px solid rgba (255 , 255 , 255 , 0.15 );
43
46
padding : 1rem ;
44
- border-radius : 6px ;
45
47
text-align : center;
46
48
margin-bottom : 1rem ;
47
- box-shadow : 0 2px 6px rgba (0 , 0 , 0 , 0.15 );
48
- transition : transform 0.2s ease-in-out;
49
+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.1 );
50
+ transition : transform 0.2s ease-in-out, background 0.3s ease-in-out;
51
+ color : var (--text-color );
49
52
}
53
+
54
+ /* Dark mode: păstrăm look-ul siteului */
55
+ [data-theme = "dark" ] .sidepanel-cta {
56
+ background : var (--card-bg );
57
+ border : 1px solid rgba (255 , 255 , 255 , 0.1 );
58
+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.4 );
59
+ color : var (--text-color );
60
+ }
61
+
50
62
.sidepanel-cta : hover {
51
63
transform : scale (1.02 );
52
64
}
65
+
53
66
.cta-text {
54
67
margin : 0 ;
55
68
font-size : 0.95rem ;
56
69
line-height : 1.4 ;
57
70
}
71
+
58
72
.cta-link {
59
- color : # fff ;
73
+ color : inherit ;
60
74
font-weight : 600 ;
61
75
text-decoration : underline;
62
76
transition : opacity 0.2s ease;
63
77
}
78
+
64
79
.cta-link : hover {
65
- opacity : 0.8 ;
80
+ opacity : 0.7 ;
66
81
}
82
+
67
83
@media (max-width : 768px ) {
68
84
.sidepanel-cta {
69
85
padding : 0.8rem ;
0 commit comments