mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
Add hl shortcode for highlighting key phrases
To use: `{{< hl >}}highlighted quote{{< /hl >}}`
This commit is contained in:
1 parent
26cf02513b
commit
e6b2f1d285
2 files changed
+10
No files matched your search
@@ -207,6 +207,11 @@ blockquote p:last-child {
|
||||
}
|
||||
}
|
||||
|
||||
.markup-quote {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(to bottom, rgba(233, 231, 245, 1), rgba(233, 231, 245, 1));
|
||||
}
|
||||
|
||||
.space-below {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
@@ -1464,6 +1469,10 @@ body.dark {
|
||||
border-color: rgb(68, 71, 90);
|
||||
}
|
||||
|
||||
.dark .markup-quote {
|
||||
background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
|
||||
}
|
||||
|
||||
.dark #MathJax_Zoom {
|
||||
background-color: rgb(68, 71, 90) !important;
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<span class="markup-quote">{{ .Inner }}</span>
|
||||
Reference in new issue
Block a user