aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2023-06-05 18:03:11 -0400
committerThedro Neely <thedroneely@gmail.com>2023-06-05 18:03:11 -0400
commit4aec12155de832be5b603b706d3dace9895a8a5f (patch)
tree13055dbb4140b24edab5b80652a0fdd47227dad6
parent1cb3e3c866bbf16f020ed37080d4f3590f90806b (diff)
downloadthedroneely.com-4aec12155de832be5b603b706d3dace9895a8a5f.tar.gz
thedroneely.com-4aec12155de832be5b603b706d3dace9895a8a5f.tar.bz2
thedroneely.com-4aec12155de832be5b603b706d3dace9895a8a5f.zip
public/css: article-meta-top -> article header
-rw-r--r--app/views/snippets/stylesheets.php2
-rw-r--r--generators/hugo/themes/tdro/layouts/partials/article-meta-top.html4
-rw-r--r--public/css/tdro-dark.css4
-rw-r--r--public/css/tdro.css20
4 files changed, 15 insertions, 15 deletions
diff --git a/app/views/snippets/stylesheets.php b/app/views/snippets/stylesheets.php
index 7eb1c06..62b2ad9 100644
--- a/app/views/snippets/stylesheets.php
+++ b/app/views/snippets/stylesheets.php
@@ -8,7 +8,7 @@
<style>
article-comments,
[href="#isso-thread"],
- article-meta-top aside:nth-child(2) svg:first-child {
+ article header aside:nth-child(2) svg:first-child {
display: none;
}
</style>
diff --git a/generators/hugo/themes/tdro/layouts/partials/article-meta-top.html b/generators/hugo/themes/tdro/layouts/partials/article-meta-top.html
index 27f069c..823c569 100644
--- a/generators/hugo/themes/tdro/layouts/partials/article-meta-top.html
+++ b/generators/hugo/themes/tdro/layouts/partials/article-meta-top.html
@@ -1,4 +1,4 @@
-<article-meta-top>
+<header>
<aside>
{{- partial "meta-pagedate.html" . -}}
{{- partial "meta-pagetags.html" . -}}
@@ -10,4 +10,4 @@
{{- partial "meta-feedlink.html" . -}}
{{- partial "meta-pagestatus.html" . -}}
</aside>
-</article-meta-top>
+</header>
diff --git a/public/css/tdro-dark.css b/public/css/tdro-dark.css
index 9807abe..e8238a4 100644
--- a/public/css/tdro-dark.css
+++ b/public/css/tdro-dark.css
@@ -156,8 +156,8 @@ figcaption code,
article-archive-list time,
article-meta-bottom a,
article-meta-bottom,
-article-meta-top a,
-article-meta-top,
+article header a,
+article header,
article-more-content time,
article-webring time,
article-summary-meta,
diff --git a/public/css/tdro.css b/public/css/tdro.css
index d83e9aa..b94c5e8 100644
--- a/public/css/tdro.css
+++ b/public/css/tdro.css
@@ -724,7 +724,7 @@ article-more-content ul + ul {
margin-top: 1.5rem;
}
-article-meta-top {
+article header {
margin-bottom: 1.5rem;
}
@@ -732,18 +732,18 @@ article-summary-meta {
margin-bottom: 0.75rem;
}
-article-meta-top,
+article header,
article-summary-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
}
-article-meta-top a {
+article header a {
text-decoration: underline;
}
-article-meta-top aside {
+article header aside {
display: flex;
align-items: center;
width: 100%;
@@ -752,7 +752,7 @@ article-meta-top aside {
abstract-summary-meta svg,
article-summary-meta svg,
-article-meta-top svg {
+article header svg {
height: 1rem;
margin-right: 0.35rem;
width: 1rem;
@@ -761,7 +761,7 @@ article-meta-top svg {
}
article-summary-meta *:not(svg),
-article-meta-top aside *:not(svg) {
+article header aside *:not(svg) {
margin-right: 0.5rem;
}
@@ -2082,8 +2082,8 @@ figcaption code,
article-archive-list time,
article-meta-bottom a,
article-meta-bottom,
-article-meta-top a,
-article-meta-top,
+article header a,
+article header,
article-more-content time,
article-webring time,
article-summary-meta,
@@ -2145,8 +2145,8 @@ article-archive-list ul a,
article-archive-list ul a:hover,
article-card article-thumbnail a,
article-card article-thumbnail a:hover,
-article-meta-top a,
-article-meta-top a:hover,
+article header a,
+article header a:hover,
article-webring a,
button-anchor a:focus,
button-anchor a:hover,