From 8e227adf27822f640fc75df8bf2381142e521403 Mon Sep 17 00:00:00 2001 From: Queensferry Date: Sat, 2 Apr 2022 14:04:03 +0800 Subject: style: change outdated warning color --- README.md | 2 +- config.toml | 4 ++-- static/css/single.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 234f19b..6fec12b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A minimal, latex-style hugo theme for personal blogging. - [Disqus](https://disqus.com/) & Google Analytics included - Responsive design for mobile devices -- Customize the site with your own styles +- Customize the site with your own stylesheets - Math equations powered by [KaTeX](https://katex.org/) or [MathJax](https://www.mathjax.org/) - Minimal CSS, No JavaScript, Blazing Fast! diff --git a/config.toml b/config.toml index 14d09fa..5ae6a9d 100644 --- a/config.toml +++ b/config.toml @@ -83,8 +83,8 @@ enable = false # whether to enable math typesetting use = "katex" # katex or mathjax [params.outdated] -enable = true # whether to display warnings for outdated posts -limit = 1000 # days between last modified time and outdated time +enable = false # whether to display warnings for outdated posts +limit = 1000 # days between last modified time and outdated time # warning to be displayed warning = "⚠️ It has been %d days since the last update, the content of the article may be outdated." diff --git a/static/css/single.css b/static/css/single.css index 0110818..91caac8 100644 --- a/static/css/single.css +++ b/static/css/single.css @@ -7,7 +7,7 @@ } #main > .warning { - background-color: tomato; + background-color: brown; color: white; font-size: 1.1rem; padding: 1rem 0; -- cgit v1.2.3