mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-11 14:32:57 -05:00
Compare commits
6 Commits
80f5994d96
...
3fae019148
Author | SHA1 | Date | |
---|---|---|---|
3fae019148 | |||
8ef1e3840a | |||
629b3758b9 | |||
9412906b4f | |||
f8cfad647f | |||
b200623dca |
@ -46,6 +46,7 @@
|
|||||||
--text-gray-1: #919191; /* lch(60, 0, X) */
|
--text-gray-1: #919191; /* lch(60, 0, X) */
|
||||||
|
|
||||||
--link-0: #3a94fb; /* lch(60, 60, 270) */
|
--link-0: #3a94fb; /* lch(60, 60, 270) */
|
||||||
|
--link-1: #4ea1ff; /* lch(65, 60, 270) -- out of sRGB */
|
||||||
|
|
||||||
--figure-border: #1f5593; /* lch(35, 40, 270) */
|
--figure-border: #1f5593; /* lch(35, 40, 270) */
|
||||||
|
|
||||||
@ -423,16 +424,15 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.share-buttons button,
|
|
||||||
.share-buttons a {
|
.share-buttons a {
|
||||||
background-color: var(--background-2);
|
background-color: var(--background-2);
|
||||||
color: var(--text-2);
|
color: var(--text-2);
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
.share-buttons a:hover {
|
||||||
.share-buttons button {
|
background-color: var(--background-3);
|
||||||
border: none;
|
color: var(--text-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.share-buttons svg {
|
.share-buttons svg {
|
||||||
@ -631,6 +631,7 @@ a:hover {
|
|||||||
blockquote {
|
blockquote {
|
||||||
border-left: 5px solid var(--background-2);
|
border-left: 5px solid var(--background-2);
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@ -705,6 +706,9 @@ table.markdown {
|
|||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
}
|
}
|
||||||
/* TODO: make the code copy button prettier */
|
/* TODO: make the code copy button prettier */
|
||||||
|
.code-block > .code-header > .code-copy-button {
|
||||||
|
color: var(--link-1);
|
||||||
|
}
|
||||||
.code-block > .code-header > .code-copy-button:hover {
|
.code-block > .code-header > .code-copy-button:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div class="code-block">
|
<div class="code-block">
|
||||||
<div class="code-header">
|
<div class="code-header">
|
||||||
<span class="code-type">{{ $type }}</span>
|
<span class="code-type">{{ $type }}</span>
|
||||||
<a class="code-copy-button">
|
<a href="javascript:void(0)" class="code-copy-button">
|
||||||
{{ i18n "copy_to_clipboard" }}
|
{{ i18n "copy_to_clipboard" }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{{ partial "rss-link.html" . }}
|
{{ partial "rss-link.html" . }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
{{ with .Content }}
|
||||||
|
{{ . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="list-page-content">
|
<div class="list-page-content">
|
||||||
{{ with .Sections }}
|
{{ with .Sections }}
|
||||||
<div class="sections">
|
<div class="sections">
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
{{ .Title | markdownify }}
|
{{ .Title | markdownify }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
{{ with .Content }}
|
||||||
|
{{ . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="page-list">
|
<div class="page-list">
|
||||||
{{ with .Paginator.Pages }}
|
{{ with .Paginator.Pages }}
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
|
@ -54,9 +54,10 @@
|
|||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
{{ if .Site.Params.shareButtons.print }}
|
{{ if .Site.Params.shareButtons.print }}
|
||||||
<button class="print-share"
|
<a class="print-share"
|
||||||
|
href="javascript:void(0)"
|
||||||
onclick="window.print(); share_event('Print');">
|
onclick="window.print(); share_event('Print');">
|
||||||
{{- partial "icon.html" "printer" -}}
|
{{- partial "icon.html" "printer" -}}
|
||||||
</button>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
{{ .Title | markdownify }}
|
{{ .Title | markdownify }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
{{ with .Content }}
|
||||||
|
{{ . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="series-taxonomy-list">
|
<div class="series-taxonomy-list">
|
||||||
{{ with .Pages }}
|
{{ with .Pages }}
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user