Skip to content

Commit ba447cb

Browse files
committed
Merge pull request #2 from jaschaurbach/main
moved background to custom assets
1 parent 0e3aaee commit ba447cb

File tree

10 files changed

+160
-19
lines changed

10 files changed

+160
-19
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
.DS_Store

config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
|
4141
*/
4242

43-
'enable_custom_code' => 'false',
43+
'enable_custom_code' => 'true',
4444

4545
// Disable individual files (only applies if above is 'true').
4646
'enable_custom_head' => 'true',
47-
'enable_custom_body' => 'true',
48-
'enable_custom_body_end' => 'true',
47+
'enable_custom_body' => 'false',
48+
'enable_custom_body_end' => 'false',
4949

5050

5151
/*

extra/custom-body-end.blade.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<style> /* This is a comment */ </style>
2+
3+
<script> // This is a comment </script>
4+
5+
{{-- This is a comment --}}
6+
7+
<?php // This is a comment ?>

extra/custom-body.blade.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<style> /* This is a comment */ </style>
2+
3+
<script> // This is a comment </script>
4+
5+
{{-- This is a comment --}}
6+
7+
<?php // This is a comment ?>

extra/custom-head.blade.php

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{{--
2+
3+
4+
|--------------------------------------------------------------------------
5+
| Custom assets
6+
|--------------------------------------------------------------------------
7+
8+
Custom assets are stored in the 'custom-assets' directory found inside the 'extra' folder.
9+
Custom assets can be any file you would like to use in your theme.
10+
For example: JS, CSS or image files.
11+
12+
You can load these custom assets with a built-in function, 'themeAsset()'.
13+
Add the file you want to add to your 'custom-assets' folder, and include the name with the file extension in the function.
14+
15+
Down below, you can find a few examples using this function:
16+
17+
18+
19+
--}}
20+
21+
<style>
22+
html{
23+
font-size: 100%;
24+
}
25+
body{
26+
font-size: 18px;
27+
line-height: 24px;
28+
font-weight: 400;
29+
color: white;
30+
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
31+
background-image:
32+
url({{themeAsset('aurora.jpg')}});
33+
no-repeat center center fixed;
34+
-webkit-background-size: cover;
35+
-moz-background-size: cover;
36+
background-size: cover;
37+
}
38+
39+
</style>
40+

extra/custom-icons/readme.html

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<!--
2+
3+
You can download all the icons used for the buttons from here: https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2FJulianPrieber%2Flittlelink-custom%2Ftree%2Fmain%2Flittlelink%2Ficons.
4+
5+
For custom icons to apply you have to enable them in the config first.
6+
7+
Include your edited icons in the "custom-icons" folder while keeping the original file names.
8+
9+
You can use other file types like PNG, JPG, etc. by defining a custom file extension in the config.
10+
11+
-->
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
<html>
96+
<head>
97+
<meta http-equiv="refresh" content="0; url=https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2FJulianPrieber%2Flittlelink-custom%2Ftree%2Fmain%2Flittlelink%2Ficons" />
98+
</head>
99+
<body> </body>
100+
</html>

preview.png

-1.4 KB
Loading

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Find more themes: https://github.com/JulianPrieber/llc-themes
33

44
* Theme Name: Aurora
5-
* Theme Version: 1.6
5+
* Theme Version: 1.6.1
66
* Theme Date: 2022-07-21
77
* Theme Author: KiwiSin
88
* Theme Author URI: https://me.unraid.nz/@kiwi

skeleton-auto.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,6 @@
5555
/* NOTE
5656
html is set to 62.5% so that all the REM measurements throughout Skeleton
5757
are based on 10px sizing. So basically 1.5rem = 15px :) */
58-
59-
html {
60-
font-size: 100%; }
61-
62-
body {
63-
font-size: 18px;
64-
line-height: 24px;
65-
font-weight: 400;
66-
color: white;
67-
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
68-
background: url(https://raw.githubusercontent.com/LittleLink-Custom/Aurora/main/aurora.jpg) no-repeat center center fixed;
69-
-webkit-background-size: cover;
70-
-moz-background-size: cover;
71-
background-size: cover;
72-
}
7358

7459

7560
/* Typography

0 commit comments

Comments
 (0)