Skip to content

Commit 546dfda

Browse files
Add files via upload
1 parent 4c7088a commit 546dfda

File tree

7 files changed

+100
-0
lines changed

7 files changed

+100
-0
lines changed
14.1 KB
Binary file not shown.
11 KB
Binary file not shown.
14.2 KB
Binary file not shown.
11.1 KB
Binary file not shown.
16.6 KB
Binary file not shown.
4.9 KB
Binary file not shown.

extra/custom-head.blade.php

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{{--
2+
|--------------------------------------------------------------------------
3+
| Custom assets
4+
|--------------------------------------------------------------------------
5+
6+
Custom assets are stored in the 'custom-assets' directory found inside the 'extra' folder.
7+
Custom assets can be any file you would like to use in your theme.
8+
For example: JS, CSS or image files.
9+
10+
You can load these custom assets with a built-in function, 'themeAsset()'.
11+
Add the file you want to add to your 'custom-assets' folder, and include the name with the file extension in the function.
12+
13+
Down below, you can find a few examples using this function:
14+
--}}
15+
16+
<style>
17+
/* latin */
18+
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400;
19+
font-stretch: 100%; font-display: swap; src: url('{{themeAsset('karla-latin-400-normal.woff2')}}'), url('{{themeAsset('karla-latin-400-normal.woff')}}');
20+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
21+
}
22+
23+
/* latin-ext */
24+
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400;
25+
font-stretch: 100%; font-display: swap; src: url('{{themeAsset('karla-latin-ext-400-normal.woff2')}}'), url('{{themeAsset('karla-latin-ext-400-normal.woff')}}');
26+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
27+
}
28+
29+
/* latin */
30+
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700;
31+
font-stretch: 100%; font-display: swap; src: url('{{themeAsset('karla-latin-700-normal.woff2')}}'), url('{{themeAsset('karla-latin-700-normal.woff')}}');
32+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
33+
}
34+
35+
/* latin-ext */
36+
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700;
37+
font-stretch: 100%; font-display: swap; src: url('{{themeAsset('karla-latin-ext-700-normal.woff2')}}'), url('{{themeAsset('karla-latin-ext-700-normal.woff')}}');
38+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
39+
}
40+
41+
html {
42+
font-size: 100%; }
43+
44+
:root {
45+
--bgColor: #223344;
46+
--bgColor2: #090a0f;
47+
--accentColor: #FFF;
48+
--font: 'Karla', sans-serif;
49+
--delay: .3s; }
50+
51+
/* Background
52+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
53+
54+
body {
55+
margin: 0;
56+
padding: 0;
57+
min-height: 100vh;
58+
font-family: var(--font);
59+
background: radial-gradient(ellipse at bottom, var(--bgColor) 0%, var(--bgColor2) 100%);
60+
background: url({{themeAsset('../../background.jpg')}});
61+
opacity: 0;
62+
animation: 1s ease-out var(--delay) 1 transitionAnimation; /* duration/timing-function/delay/iterations/name */
63+
animation-fill-mode: forwards;
64+
background-repeat: no-repeat;
65+
background-size: cover;
66+
position: relative;
67+
color: #FFFFFF;
68+
}
69+
70+
71+
/* Animation */
72+
@keyframes transitionAnimation {
73+
0% {
74+
opacity: 0;
75+
transform: translateY(-10px);
76+
}
77+
100% {
78+
opacity: 1;
79+
transform: translateY(0);
80+
}
81+
}
82+
83+
@keyframes animate {
84+
0% {
85+
background-position: -500%;
86+
}
87+
100% {
88+
background-position: 500%;
89+
}
90+
}
91+
92+
@keyframes animStar {
93+
from {
94+
transform: translateY(0px);
95+
}
96+
to {
97+
transform: translateY(-2000px);
98+
}
99+
}
100+
</style>

0 commit comments

Comments
 (0)