about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-24 20:48:07 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-24 20:48:07 +0100
commit9fd4e14c06e3f57928e11f40b66158ed62c20e0a (patch)
tree8cd5355e21129913abba7ae6b06b071d9b714bb1
parente0b4b65b49eae641284fe8a87c25f506a1bac17a (diff)
downloadchawan-9fd4e14c06e3f57928e11f40b66158ed62c20e0a.tar.gz
ua.css: add align to h[1-6]
-rw-r--r--res/ua.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/res/ua.css b/res/ua.css
index e763ed7b..ea01bd2b 100644
--- a/res/ua.css
+++ b/res/ua.css
@@ -175,16 +175,20 @@ table[align=left i] { float: left }
 table[align=right i] { float: right }
 table[align=center i] { margin-left: auto; margin-right: auto }
 
-:is(div, p, td, th, thead, tbody, tfoot, tr)[align=left i] {
+:is(div, p, td, th, thead, tbody, tfoot, tr,
+	h1, h2, h3, h4, h5, h6)[align=left i] {
 	text-align: -cha-left
 }
-:is(div, p, td, th, thead, tbody, tfoot, tr)[align=center i] {
+:is(div, p, td, th, thead, tbody, tfoot, tr,
+	h1, h2, h3, h4, h5, h6)[align=center i] {
 	text-align: -cha-center
 }
-:is(div, p, td, th, thead, tbody, tfoot, tr)[align=middle i] {
+:is(div, p, td, th, thead, tbody, tfoot, tr,
+	h1, h2, h3, h4, h5, h6)[align=middle i] {
 	text-align: -cha-center
 }
-:is(div, p, td, th, thead, tbody, tfoot, tr)[align=right i] {
+:is(div, p, td, th, thead, tbody, tfoot, tr,
+	h1, h2, h3, h4, h5, h6)[align=right i] {
 	text-align: -cha-right
 }