Skip to content

Commit 54aeebf

Browse files
committed
fix: improved style issues
1 parent 488abb2 commit 54aeebf

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

assets/_custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ icon-filter: brightness(0) invert(1),
427427
font-size:19px;
428428
}
429429
.timeline ul li .content p{
430-
padding:-60px 0px 15px 0px;
430+
margin:-60px 0 15px 0;
431431
font-size:12px;
432432
}
433433
.timeline ul li:before{

config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ strategy = "cache-first"
119119
max_age = "365d"
120120

121121

122+
[minify]
123+
[minify.tdewolff.html]
124+
keepWhitespace = false
125+
122126
[markup]
123127
[markup.highlight]
124128
noClasses = false # Enables class-based styling (needed for Prism)

layouts/partials/docs/inject/body.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<button onclick="topFunction()" id="myBtn" title="رفتن به بالا" class="fas fa-solid fa-arrow-up"></button>
2-
<script src="prism.js"></script>
2+
<script src="prism.js" defer></script>
33

44
<script>
55
document.getElementById("currentsv").innerHTML = window.location.href;
@@ -46,9 +46,9 @@
4646
</script>
4747

4848
<script src="/js/playground.js" defer></script>
49-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
50-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-go.min.js"></script>
51-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
49+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js" defer></script>
50+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-go.min.js" defer></script>
51+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js" defer></script>
5252

5353

5454

layouts/partials/docs/inject/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{ partialCached "pwa/assets/meta" . }}
22

3+
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
34
<link rel="stylesheet" href="prism.css"/>
45
<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", "}}{{ end }}" />
56
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css" rel="stylesheet" type="text/css" />

0 commit comments

Comments
 (0)