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

@ -4381,7 +4381,7 @@ input[type="submit"] {
top: -10%;
right: -10px;
left: -10px;
height: 100%;
height: 110%;
transform: translateZ(-50px) scale(2);
transform-origin: bottom center;
z-index: -1;
@ -4405,7 +4405,7 @@ input[type="submit"] {
content: '';
display: block;
position: absolute;
bottom: -10px;
bottom: 0;
left: 0;
right: 0;
height: 100%;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1540439555";
var build = "1540445081";
var version = "3.28.1";
// Construct the script tag

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%;