load slider css lazy mode
This commit is contained in:
parent
e6c15304c9
commit
12ca525a15
@ -40,10 +40,10 @@ main {
|
|||||||
|
|
||||||
// swiper pagination
|
// swiper pagination
|
||||||
.swiper-pagination-bullet {
|
.swiper-pagination-bullet {
|
||||||
@apply bg-theme-light dark:bg-darkmode-theme-light h-2.5 w-2.5 opacity-100;
|
@apply bg-theme-light dark:bg-darkmode-theme-light h-2.5 w-2.5 opacity-100 mx-1.5 #{!important};
|
||||||
|
|
||||||
&-active {
|
&-active {
|
||||||
@apply bg-primary dark:bg-darkmode-primary h-4 w-4;
|
@apply bg-primary dark:bg-darkmode-primary h-4 w-4 #{!important};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,3 +84,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// slider
|
||||||
|
.gallery-slider {
|
||||||
|
@apply ml-0 #{!important};
|
||||||
|
}
|
||||||
|
@ -122,7 +122,7 @@ notAlternative = true
|
|||||||
# CSS Plugins
|
# CSS Plugins
|
||||||
[[params.plugins.css]]
|
[[params.plugins.css]]
|
||||||
link = "plugins/swiper/swiper-bundle.css"
|
link = "plugins/swiper/swiper-bundle.css"
|
||||||
lazy = false
|
lazy = true
|
||||||
[[params.plugins.css]]
|
[[params.plugins.css]]
|
||||||
link = "plugins/glightbox/glightbox.css"
|
link = "plugins/glightbox/glightbox.css"
|
||||||
lazy = true
|
lazy = true
|
||||||
|
@ -73,6 +73,8 @@
|
|||||||
|
|
||||||
{{/* styles lazy */}}
|
{{/* styles lazy */}}
|
||||||
<link
|
<link
|
||||||
|
defer
|
||||||
|
async
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="{{ $stylesLazy.RelPermalink }}"
|
href="{{ $stylesLazy.RelPermalink }}"
|
||||||
integrity="{{ $stylesLazy.Data.Integrity }}"
|
integrity="{{ $stylesLazy.Data.Integrity }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.9.4",
|
"version": "1.9.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user