Cleaner gradient; User parallax

This commit is contained in:
James Barnsley
2018-10-26 06:15:05 +13:00
parent d5a96fe716
commit f95651116a
6 changed files with 10301 additions and 13576 deletions

View File

@ -88,8 +88,8 @@ class User extends React.Component{
}
return (
<div className="view user-view">
<div className="intro">
<div className="view user-view preserve-3d">
<div className="intro preserve-3d">
<Parallax image={image} theme={this.props.theme} disabled={this.props.disable_parallax} />
<div className="liner">
<h1>{user.name}</h1>

View File

@ -6,7 +6,7 @@ $parallax: 'parallax';
top: -10%;
right: -10px;
left: -10px;
height: 100%;
height: 110%;
transform: translateZ(-50px) scale(2);
transform-origin: bottom center;
z-index: -1;
@ -30,7 +30,7 @@ $parallax: 'parallax';
content: '';
display: block;
position: absolute;
bottom: -10px;
bottom: 0;
left: 0;
right: 0;
height: 100%;