Move custom.css from the theme to the root
This commit is contained in:
parent
870b76d94d
commit
9affe7b4cc
2 changed files with 12 additions and 1 deletions
11
assets/style.css
Normal file
11
assets/style.css
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
/* Place custom css here. */
|
||||||
|
|
||||||
|
figure {
|
||||||
|
padding: 6px;
|
||||||
|
border: 1px solid var(--fog);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
|
@ -18,7 +18,7 @@
|
||||||
<!-- Styles & Scripts -->
|
<!-- Styles & Scripts -->
|
||||||
{{ $app_css := resources.Get "app.css" }}
|
{{ $app_css := resources.Get "app.css" }}
|
||||||
<!---->
|
<!---->
|
||||||
{{ $custom_css := resources.Get "custom.css" }}
|
{{ $custom_css := resources.Get "style.css" }}
|
||||||
<!---->
|
<!---->
|
||||||
{{ $css := slice $app_css $custom_css | resources.Concat "app.css" | minify }}
|
{{ $css := slice $app_css $custom_css | resources.Concat "app.css" | minify }}
|
||||||
<link rel="preload stylesheet" as="style" href="{{ $css.Permalink }}" />
|
<link rel="preload stylesheet" as="style" href="{{ $css.Permalink }}" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue