mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed stripes at hero
This commit is contained in:
parent
fb21057f8f
commit
312b1d1d17
1 changed files with 11 additions and 10 deletions
|
@ -14,6 +14,17 @@
|
||||||
background: $content_bg;
|
background: $content_bg;
|
||||||
border-radius: $cell_radius;
|
border-radius: $cell_radius;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: ' ';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3);
|
||||||
|
z-index: 4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
|
@ -32,16 +43,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: ' ';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue