RESPONSIVE Fixing aspect of background decorative card
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e8bceba564
commit
f57251eb85
|
|
@ -73,12 +73,17 @@
|
||||||
&__issue-thumbnail-wrapper {
|
&__issue-thumbnail-wrapper {
|
||||||
@apply relative;
|
@apply relative;
|
||||||
.card-background {
|
.card-background {
|
||||||
@apply absolute border-primary border bg-white top-20 left-8;
|
@apply absolute border-primary border bg-white top-10 lg:top-20 left-2 lg:left-8;
|
||||||
height: 330px;
|
height: 330px;
|
||||||
|
|
||||||
width: 104%;
|
transform: rotate(3deg) scale(0.95);
|
||||||
transform: perspective(800px) rotateY(10deg) skewX(1deg) rotateZ(4deg) rotateX(1deg)
|
|
||||||
scale(0.95) translateY(-2px) translateX(-40px);
|
width: 100%;
|
||||||
|
@screen lg {
|
||||||
|
width: 104%;
|
||||||
|
transform: perspective(800px) rotateY(10deg) skewX(1deg) rotateZ(4deg)
|
||||||
|
rotateX(1deg) scale(0.95) translateY(-2px) translateX(-40px);
|
||||||
|
}
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
|
@ -98,7 +103,9 @@
|
||||||
height: 330px;
|
height: 330px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
transform: translateX(-30px);
|
@screen lg {
|
||||||
|
transform: translateX(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: calc(100% - 42px);
|
width: calc(100% - 42px);
|
||||||
|
|
|
||||||
|
|
@ -80,10 +80,10 @@
|
||||||
@apply relative w-full;
|
@apply relative w-full;
|
||||||
|
|
||||||
.card-background {
|
.card-background {
|
||||||
@apply absolute border-primary border bg-white top-8 md:top-20 left-4 md:left-8;
|
@apply absolute border-primary border bg-white top-10 lg:top-20 left-2 lg:left-8;
|
||||||
height: 260px;
|
height: 260px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
transform: rotate(3deg) scale(0.98);
|
transform: rotate(3deg) scale(0.95);
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
width: 104%;
|
width: 104%;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user