mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 14:22:12 +00:00
testing out parralax
This commit is contained in:
parent
bbab3a8f6f
commit
d31b2495e2
@ -77,7 +77,7 @@ export default class Rewind extends Component {
|
||||
</div>
|
||||
{{else}}
|
||||
|
||||
<img
|
||||
{{! <img
|
||||
src="/plugins/discourse-rewind/images/blue_blob.svg"
|
||||
class="blob_1"
|
||||
/>
|
||||
@ -92,7 +92,7 @@ export default class Rewind extends Component {
|
||||
<img
|
||||
src="/plugins/discourse-rewind/images/discourse_blob_1.svg"
|
||||
class="blob_4"
|
||||
/>
|
||||
/> }}
|
||||
|
||||
<DButton
|
||||
class="rewind__exit-fullscreen-btn"
|
||||
|
@ -34,6 +34,17 @@
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 960px;
|
||||
background: url(/plugins/discourse-rewind/images/bg-1.png);
|
||||
background-size: cover;
|
||||
&::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 300%;
|
||||
background: url(/plugins/discourse-rewind/images/bg-2.png);
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.rewind__scroll-wrapper {
|
||||
|
Loading…
x
Reference in New Issue
Block a user