This commit is contained in:
Matthias Kretschmann 2018-09-21 22:01:48 +02:00
parent 9ab572bf0f
commit 80ff84dd2f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@
:global(.dark) & {
background: darken($body-background-color--dark, 1%);
color: $brand-grey;
color: $text-color--dark;
}
}
}

View File

@ -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);
}
}