Skip to content

Commit 7cb2640

Browse files
committed
fix namecard background
1 parent 6bc6040 commit 7cb2640

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

apps/web/app/components/namecard/NamecardAvatar.vue

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,11 @@ const COLOR_AVATAR_NAME = {
4545
display: grid;
4646
4747
place-items: center;
48-
background: color-mix(in srgb, #4e5764, #000 20%) url('/namecard/bg_texture.png') no-repeat;
48+
background: color-mix(in srgb, var(--color-vue-blue), #000 20%) url('/namecard/bg_texture.png')
49+
no-repeat;
4950
background-size: cover;
5051
container: avatar / inline-size;
5152
box-shadow: var(--shadow-1);
52-
@media (--mobile) {
53-
background: #4e5764;
54-
position: relative;
55-
&::before {
56-
position: absolute;
57-
z-index: -1;
58-
left: 0;
59-
top: 0;
60-
opacity: 0.5;
61-
content: '';
62-
display: block;
63-
width: 100%;
64-
height: 100%;
65-
background-image: url('/namecard/bg_texture.png');
66-
background-size: cover;
67-
}
68-
}
6953
}
7054
7155
.hook {

0 commit comments

Comments
 (0)