summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authormms <michal@sapka.me>2023-12-08 21:16:07 +0100
committermms <michal@sapka.me>2023-12-08 21:16:07 +0100
commiteb8bf81fc0bc03b5cd67545dd56f77376297a1da (patch)
tree59a1d1f3afad2a92e70bcd493dbffe1a9ba032f0 /static
parentec5bbb879bac8c635f67aa3acaf6367e82d1dffc (diff)
feat: digital ownership
Diffstat (limited to 'static')
-rw-r--r--static/style.css50
1 files changed, 48 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index e956d07..d33617c 100644
--- a/static/style.css
+++ b/static/style.css
@@ -29,11 +29,19 @@
}
/* default_variables_end */
+/* article_variables_start */
+:root {
+ --article-highlight-color: #863fc1;
+ --article-logo-bg-color: var(--article-highlight-color);
+ --article-logo-h1-color: var(--article-highlight-color);
+}
+/* article_variables_end */
+
/* star_trek_variables_start */
:root {
--star-trek-highlight-color: #3e7dc0;
--star-trek-logo-bg-color: var(--star-trek-highlight-color);
- --star-trek-1-color: var(--star-trek-highlight-color);
+ --star-trek-h1-color: var(--star-trek-highlight-color);
}
/* star_trek_variables_end */
@@ -161,8 +169,26 @@ h1 {
margin: 0;
text-decoration: none;
}
+sup {
+ font-size: 0.3em;
+}
/* generic_header_end */
+/* article_header_end */
+body.article > header > .logo {
+ background-color: var(--article-logo-bg-color);
+}
+body.article > header > .logo > img.files {
+ position: absolute;
+ bottom: 4px;
+ right: -2px;
+ transform: scale(1);
+}
+body.article h1{
+ color: var(--article-logo-h1-color);
+}
+/* star_trek_header_end */
+
/* star_trek_header_end */
body.star-trek > header > .logo {
background-color: var(--star-trek-logo-bg-color);
@@ -174,7 +200,7 @@ body.star-trek > header > .logo > img.stbadge {
transform: scale(0.8);
}
body.star-trek h1{
- color: var(--star-trek-1-color);
+ color: var(--star-trek-h1-color);
}
/* star_trek_header_end */
@@ -235,6 +261,26 @@ nav.blog-pages-list a {
}
/* blog_post_list_end */
+/* article_list_start */
+article.article-abstract-list-item {
+ margin-bottom: 5px;
+}
+article.article-abstract-list-item > h2 {
+ margin-top: 0;
+}
+article.article-abstract-list-item > h2 > a {
+ text-decoration: none;
+}
+article.article-abstract-list-item > a {
+ text-decoration: none;
+}
+article.article-abstract-list-item > a > aside {
+ margin-top: 7px;
+ opacity : 0.7;
+}
+
+/* article_list_end */
+
/* legacy_code_start */
/* ---------- Main */