1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00
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) & { :global(.dark) & {
background: darken($body-background-color--dark, 1%); 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; font-size: $font-size-h4;
opacity: 0; opacity: 0;
position: absolute; position: absolute;
top: 10%; top: 15%;
left: 0; left: 0;
margin: 0; margin: 0;
z-index: 2; z-index: 2;
padding: $spacer / 3 $spacer; padding: $spacer / 3 $spacer;
background: rgba($brand-cyan, .9); background: rgba($brand-cyan, .9);
color: #fff; transform: translate3d(0, -1rem, 0);
transform: translate3d(0, -2rem, 0); transition: transform .2s ease-out;
transition: transform .15s ease-out;
} }
.project { .project {
@ -54,7 +53,7 @@
bottom: 0; bottom: 0;
z-index: 1; z-index: 1;
background: transparent; background: transparent;
transition: background .15s ease-out; transition: background .2s ease-out;
} }
&:hover, &:hover,
@ -65,6 +64,7 @@
.title { .title {
opacity: 1; opacity: 1;
color: #fff;
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
} }