mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-15 16:22: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-4: #333;
|
||||
--background-5: #444;
|
||||
--background-accent: #111d2f;
|
||||
--text-normal: #d3d3d3;
|
||||
--link-color: #4da6ff;
|
||||
--figure-border: #1b5b9b;
|
||||
@ -25,7 +24,6 @@
|
||||
--background-3: #d8d8d8;
|
||||
--background-4: #bbb;
|
||||
--background-5: #aaa;
|
||||
--background-accent: #aec9ee;
|
||||
--text-normal: #000;
|
||||
--link-color: #0057bf;
|
||||
--figure-border: #2e7bc9;
|
||||
@ -92,25 +90,21 @@
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
.post-title,
|
||||
.author-name {
|
||||
.post-title, .author-name {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.post-title a,
|
||||
.author-name a {
|
||||
.post-title a, .author-name a {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
.post-meta-item,
|
||||
.author-meta-item {
|
||||
.post-meta-item, .author-meta-item {
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.post-metadata,
|
||||
.author-metadata {
|
||||
.post-metadata, .author-metadata {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
@ -123,8 +117,7 @@
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.post-description,
|
||||
.author-description {
|
||||
.post-description, .author-description {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@ -438,27 +431,6 @@ hr {
|
||||
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;
|
||||
}
|
||||
@ -621,8 +593,7 @@ li.disabled > .page-link:hover {
|
||||
|
||||
|
||||
/* Light mode */
|
||||
@media print,
|
||||
(prefers-color-scheme: light) {
|
||||
@media print, (prefers-color-scheme: light) {
|
||||
/* Basic elements */
|
||||
.section:hover {
|
||||
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