mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-08 06:32:46 +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>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
||||||
<img
|
{{! <img
|
||||||
src="/plugins/discourse-rewind/images/blue_blob.svg"
|
src="/plugins/discourse-rewind/images/blue_blob.svg"
|
||||||
class="blob_1"
|
class="blob_1"
|
||||||
/>
|
/>
|
||||||
@ -92,7 +92,7 @@ export default class Rewind extends Component {
|
|||||||
<img
|
<img
|
||||||
src="/plugins/discourse-rewind/images/discourse_blob_1.svg"
|
src="/plugins/discourse-rewind/images/discourse_blob_1.svg"
|
||||||
class="blob_4"
|
class="blob_4"
|
||||||
/>
|
/> }}
|
||||||
|
|
||||||
<DButton
|
<DButton
|
||||||
class="rewind__exit-fullscreen-btn"
|
class="rewind__exit-fullscreen-btn"
|
||||||
|
@ -34,6 +34,17 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 960px;
|
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 {
|
.rewind__scroll-wrapper {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user