Skip to content

Commit 808b025

Browse files
committed
chore: make contact ads more view friendly
1 parent 42dc82a commit 808b025

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

_includes/update-list.html

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,48 @@ <h2 class="panel-heading">{{- site.data.locales[include.lang].panel.lastmod -}}<
3838
<style>
3939
.sidepanel-cta {
4040
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);
4346
padding: 1rem;
44-
border-radius: 6px;
4547
text-align: center;
4648
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);
4952
}
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+
5062
.sidepanel-cta:hover {
5163
transform: scale(1.02);
5264
}
65+
5366
.cta-text {
5467
margin: 0;
5568
font-size: 0.95rem;
5669
line-height: 1.4;
5770
}
71+
5872
.cta-link {
59-
color: #fff;
73+
color: inherit;
6074
font-weight: 600;
6175
text-decoration: underline;
6276
transition: opacity 0.2s ease;
6377
}
78+
6479
.cta-link:hover {
65-
opacity: 0.8;
80+
opacity: 0.7;
6681
}
82+
6783
@media (max-width: 768px) {
6884
.sidepanel-cta {
6985
padding: 0.8rem;

0 commit comments

Comments
 (0)