Inline slider critical CSS and shrink portrait assets
Deploy to Development and Production / deploy (push) Successful in 5s
Details
Deploy to Development and Production / deploy (push) Successful in 5s
Details
This commit is contained in:
parent
0c8895cf1d
commit
1b2e5ed788
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 22 KiB |
|
|
@ -16,6 +16,13 @@
|
||||||
<!-- Kritični in razdeljeni CSS -->
|
<!-- Kritični in razdeljeni CSS -->
|
||||||
<style>
|
<style>
|
||||||
body { background-color: #fdfdfd; }
|
body { background-color: #fdfdfd; }
|
||||||
|
.slider { margin: 2rem auto; padding: 2rem; max-width: 1200px; }
|
||||||
|
.slide { display: none; }
|
||||||
|
.slide.active { display: block; }
|
||||||
|
.slide-content { display: flex; flex-direction: column; gap: 2rem; }
|
||||||
|
@media (min-width: 769px) {
|
||||||
|
.slide-content { flex-direction: row; align-items: center; }
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<link as="style" href="/assets/css/style-home.min.css" onload="this.onload=null;this.rel='stylesheet'" rel="preload"/>
|
<link as="style" href="/assets/css/style-home.min.css" onload="this.onload=null;this.rel='stylesheet'" rel="preload"/>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue