Skip to content

Commit

Permalink
style: 🎨 fix background
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydawka committed May 21, 2024
1 parent d5f664f commit 6f4cfdb
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 369 deletions.
264 changes: 0 additions & 264 deletions src/assets/css/circles.css

This file was deleted.

35 changes: 28 additions & 7 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "./base.css";
@import "./circles.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down Expand Up @@ -165,11 +164,12 @@ Transition styles for <transition />

/*}*/

.share-data{
background-image: url("../../assets/faq-bg.svg");
background-size: auto; /* Adjust as needed */
background-repeat: repeat; /* Adjust as needed */
}
/*.share-data{*/
/* background-image: url("../../assets/faq-bg.svg");*/
/* background-size: auto; !* Adjust as needed *!*/
/* background-repeat: repeat; !* Adjust as needed *!*/

/*}*/

.main-bg::before {
content: "";
Expand All @@ -186,4 +186,25 @@ Transition styles for <transition />
.view:has(main.landing){
padding: 0;
margin: 0;
}
}


.share-data {
position: relative;
overflow: hidden;
z-index: 1;
}

.share-data::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("../../assets/faq-bg.svg");
background-repeat: repeat; /* Adjust as needed */
background-position: center;
mask-image: linear-gradient(180deg, transparent, white 15%, white 80%, transparent);
z-index: -1;
}
Loading

0 comments on commit 6f4cfdb

Please sign in to comment.