Expanded theme background options

Added new blank divs to allow for more complex parralax and other backgrounds
This commit is contained in:
Julian Prieber 2022-05-31 20:32:58 +02:00
parent a0950990d4
commit 7b67d8c1f6

View File

@ -62,7 +62,7 @@
<link rel="stylesheet" href="themes/{{$info->theme}}/share.button.css">
<link rel="stylesheet" href="themes/{{$info->theme}}/brands.css">
<link rel="stylesheet" href="themes/{{$info->theme}}/skeleton-auto.css">
@if(file_exists(asset('themes/' . $info->theme . '/animations.css')))
@if(file_exists(base_path('themes/' . $info->theme . '/animations.css')))
<link rel="stylesheet" href="<?php echo asset('themes/' . $info->theme . '/animations.css') ?>">
@else
<link rel="stylesheet" href="{{ asset('littlelink/css/animations.css') }}">
@ -85,13 +85,26 @@
</head>
<body>
@if($info->theme != '' and $info->theme != 'default')
<!-- Enables parallax background animations -->
<div class="background-container">
<section class="parallax-background">
<div id="object1"></div>
<div id="object2"></div>
<div id="object3"></div>
<div id="object1" class="object1"></div>
<div id="object2" class="object2"></div>
<div id="object3" class="object3"></div>
<div id="object4" class="object4"></div>
<div id="object5" class="object5"></div>
<div id="object6" class="object6"></div>
<div id="object7" class="object7"></div>
<div id="object8" class="object8"></div>
<div id="object9" class="object9"></div>
<div id="object10" class="object10"></div>
<div id="object11" class="object11"></div>
<div id="object12" class="object12"></div>
</section>
</div>
<!-- End of parallax background animations -->
@endif
<?php ////begin share button//// ?>
<?php