mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-15 08:12:57 -05:00
Compare commits
No commits in common. "e97d4f921d241d95a76de9334fc1ff5e79204f30" and "112779571794f4eb118e65ff815e3f04a1077f07" have entirely different histories.
e97d4f921d
...
1127795717
@ -8,7 +8,6 @@
|
|||||||
--background-3: #282828;
|
--background-3: #282828;
|
||||||
--background-4: #333;
|
--background-4: #333;
|
||||||
--background-5: #444;
|
--background-5: #444;
|
||||||
--background-accent: #111d2f;
|
|
||||||
--text-normal: #d3d3d3;
|
--text-normal: #d3d3d3;
|
||||||
--link-color: #4da6ff;
|
--link-color: #4da6ff;
|
||||||
--figure-border: #1b5b9b;
|
--figure-border: #1b5b9b;
|
||||||
@ -25,7 +24,6 @@
|
|||||||
--background-3: #d8d8d8;
|
--background-3: #d8d8d8;
|
||||||
--background-4: #bbb;
|
--background-4: #bbb;
|
||||||
--background-5: #aaa;
|
--background-5: #aaa;
|
||||||
--background-accent: #aec9ee;
|
|
||||||
--text-normal: #000;
|
--text-normal: #000;
|
||||||
--link-color: #0057bf;
|
--link-color: #0057bf;
|
||||||
--figure-border: #2e7bc9;
|
--figure-border: #2e7bc9;
|
||||||
@ -92,25 +90,21 @@
|
|||||||
opacity: .75;
|
opacity: .75;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-title,
|
.post-title, .author-name {
|
||||||
.author-name {
|
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-title a,
|
.post-title a, .author-name a {
|
||||||
.author-name a {
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-meta-item,
|
.post-meta-item, .author-meta-item {
|
||||||
.author-meta-item {
|
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-metadata,
|
.post-metadata, .author-metadata {
|
||||||
.author-metadata {
|
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,8 +117,7 @@
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-description,
|
.post-description, .author-description {
|
||||||
.author-description {
|
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -438,27 +431,6 @@ hr {
|
|||||||
border-color: var(--background-5);
|
border-color: var(--background-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
table.markdown {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border: 2px solid var(--text-normal);
|
|
||||||
}
|
|
||||||
|
|
||||||
.markdown thead {
|
|
||||||
background-color: var(--background-4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.markdown th,
|
|
||||||
.markdown td {
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.markdown tbody tr:nth-child(odd) {
|
|
||||||
background-color: var(--background);
|
|
||||||
}
|
|
||||||
.markdown tbody tr:nth-child(even) {
|
|
||||||
background-color: var(--background-2);
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@ -621,8 +593,7 @@ li.disabled > .page-link:hover {
|
|||||||
|
|
||||||
|
|
||||||
/* Light mode */
|
/* Light mode */
|
||||||
@media print,
|
@media print, (prefers-color-scheme: light) {
|
||||||
(prefers-color-scheme: light) {
|
|
||||||
/* Basic elements */
|
/* Basic elements */
|
||||||
.section:hover {
|
.section:hover {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -1 +0,0 @@
|
|||||||
<abbr title="{{ .Get "title" }}">{{ .Inner }}</abbr>
|
|
@ -1,10 +0,0 @@
|
|||||||
{{/* See https://willschenk.com/articles/2020/styling_tables_with_hugo/ */}}
|
|
||||||
|
|
||||||
{{ $class := "markdown" }}
|
|
||||||
{{ with .Get "class" }}
|
|
||||||
{{ $class = delimit (slice $class .) " " }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ $htmlTable := .Inner | markdownify }}
|
|
||||||
{{ $new := printf `<table class="%s">` $class }}
|
|
||||||
{{ (replace $htmlTable "<table>" $new) | safeHTML }}
|
|
Loading…
x
Reference in New Issue
Block a user