about summary refs log tree commit diff
path: root/static/css
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-23 09:32:05 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-23 09:32:05 -0700
commit87132a32ca9e3560d80ebfa4e7254a7a42d40ff5 (patch)
treec40827a4bf011391147279e333091a7acd43df20 /static/css
parentCSS: rename the class for the tags (diff)
downloadfcuny.net-87132a32ca9e3560d80ebfa4e7254a7a42d40ff5.tar.gz
CSS: use decoration on headers only for articles
Add an element "article" to the single page template, and change the CSS
to use the decoration for headers only for that kind of content.

Having decoration for all headers is distracting, it's more suited for
actual content.

We also don't need decoration for h1, only smaller headers.
Diffstat (limited to '')
-rw-r--r--static/css/custom.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 95f5feb..2d7a36e 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -24,16 +24,16 @@ a {
 
 p { color: #1a1a19; }
 
-h1:before {
+article.article h2:before {
     content: '◉';
 }
-h2:before {
+article.article h3:before {
     content: '○';
 }
-h3:before {
+article.article h4:before {
     content: '✸';
 }
-h4:before {
+article.article h5:before {
     content: '✿';
 }