aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-page/need-page.component.css
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/need-page/need-page.component.css')
-rw-r--r--ufund-ui/src/app/components/need-page/need-page.component.css31
1 files changed, 10 insertions, 21 deletions
diff --git a/ufund-ui/src/app/components/need-page/need-page.component.css b/ufund-ui/src/app/components/need-page/need-page.component.css
index f1b7f1f..6ca1350 100644
--- a/ufund-ui/src/app/components/need-page/need-page.component.css
+++ b/ufund-ui/src/app/components/need-page/need-page.component.css
@@ -4,11 +4,13 @@
}
#box {
+ /*padding-top: 7.5%;*/
display: flex;
flex-direction: column;
width: 800px;
justify-content: start;
gap: 10px;
+ padding: 0 10px;
}
.needName {
@@ -22,32 +24,19 @@
/*margin-bottom: 20px;*/
}
-.split {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
-
-
- .left {
- display: flex;
- flex-direction: column;
- width : 50%;
- }
-
- .right {
- display: flex;
- flex-direction: column;
- align-items: end;
- }
-}
.need-image {
- width: 400px;
- height: auto;
+ width: calc(100% + 40px);
+ height: 40%;
+ /*position: absolute;*/
+ left: 22.5%;
aspect-ratio: 16/9;
object-fit: cover;
+ mask-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,.2) 80%, rgba(255,255,255,.1) 90%, transparent 100%);
border-radius: 10px;
- box-shadow: rgb(0, 40, 70) 0 0 50px;
+ margin-left: -20px;
+ margin-right: -20px;
+ margin-bottom: -80px;
}
.urgent {