mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
fixes
This commit is contained in:
parent
9ab572bf0f
commit
80ff84dd2f
@ -25,7 +25,7 @@
|
||||
|
||||
:global(.dark) & {
|
||||
background: darken($body-background-color--dark, 1%);
|
||||
color: $brand-grey;
|
||||
color: $text-color--dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,15 +15,14 @@
|
||||
font-size: $font-size-h4;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
top: 15%;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
z-index: 2;
|
||||
padding: $spacer / 3 $spacer;
|
||||
background: rgba($brand-cyan, .9);
|
||||
color: #fff;
|
||||
transform: translate3d(0, -2rem, 0);
|
||||
transition: transform .15s ease-out;
|
||||
transform: translate3d(0, -1rem, 0);
|
||||
transition: transform .2s ease-out;
|
||||
}
|
||||
|
||||
.project {
|
||||
@ -54,7 +53,7 @@
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
background: transparent;
|
||||
transition: background .15s ease-out;
|
||||
transition: background .2s ease-out;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
@ -65,6 +64,7 @@
|
||||
|
||||
.title {
|
||||
opacity: 1;
|
||||
color: #fff;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user