1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,9 @@ |
1 |
+<?php if (TL_MODE == 'FE'): ?> |
|
2 |
+ <style> |
|
3 |
+ body { |
|
4 |
+ background: url(<?= Image::get(FilesModel::findByUuid($this->image)->path, null, null, null); ?>) center center no-repeat; |
|
5 |
+ background-attachment: fixed; |
|
6 |
+ background-size: cover; |
|
7 |
+ } |
|
8 |
+ </style> |
|
9 |
+<?php endif; ?> |
|
0 | 10 |
\ No newline at end of file |