branch: elpa/casual
commit 9038ce25b2cc970a74023aaef13ed52f1672d787
Author: Charles Choi <[email protected]>
Commit: Charles Choi <[email protected]>
Fix for HTML CSS appearance change
- Fix GH pages not honoring texi2any-config.pm.
---
docs/Makefile | 1 -
docs/casual.info | Bin 121770 -> 121770 bytes
docs/casual.org | 2 +-
docs/casual.texi | 4 ++--
docs/main.css | 52 +++++++++++++++++++++++++-----------------------
docs/texi2any-config.pm | 7 -------
6 files changed, 30 insertions(+), 36 deletions(-)
diff --git a/docs/Makefile b/docs/Makefile
index 40052922ff..94002fa55f 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -22,7 +22,6 @@ html:
.PHONY: gen-html
gen-html: html html/images html/main.css sync-images
makeinfo \
- --init=texi2any-config.pm \
--html \
--css-ref=main.css \
--output=html \
diff --git a/docs/casual.info b/docs/casual.info
index bf5c1a41ea..7c6f65d8f7 100644
Binary files a/docs/casual.info and b/docs/casual.info differ
diff --git a/docs/casual.org b/docs/casual.org
index eda4882d3e..35e34a5502 100644
--- a/docs/casual.org
+++ b/docs/casual.org
@@ -5,7 +5,7 @@
#+EMAIL: [email protected]
#+OPTIONS: ':t toc:t author:t email:t H:4 f:t
#+LANGUAGE: en
-#+MACRO: version 2.8.0
+#+MACRO: version 2.8.2
#+MACRO: kbd (eval (org-texinfo-kbd-macro $1))
#+TEXINFO_FILENAME: casual.info
#+TEXINFO_CLASS: casual
diff --git a/docs/casual.texi b/docs/casual.texi
index 4e2056051a..5b7412a7fd 100644
--- a/docs/casual.texi
+++ b/docs/casual.texi
@@ -20,7 +20,7 @@ Copyright © 2024-2025 Charles Y@. Choi
@finalout
@titlepage
@title Casual User Guide
-@subtitle for version 2.8.0
+@subtitle for version 2.8.2
@author Charles Y@. Choi (@email{kickingvegas@@gmail.com})
@page
@vskip 0pt plus 1filll
@@ -33,7 +33,7 @@ Copyright © 2024-2025 Charles Y@. Choi
@node Top
@top Casual User Guide
-Version: 2.8.0
+Version: 2.8.2
Casual is a project to re-imagine the primary user interface for Emacs using
keyboard-driven menus.
diff --git a/docs/main.css b/docs/main.css
index d45c0c8fc3..c1572d9c5d 100644
--- a/docs/main.css
+++ b/docs/main.css
@@ -2,8 +2,33 @@
* Copyright 2025 Charles Y. Choi
*/
+@media only screen and (max-device-width: 500px) {
+ body {
+ margin: 0pt;
+ padding-top: 0.05in;
+ padding-left: 0.15in;
+ padding-right: 0.15in;
+ padding-bottom: 0.05in;
+ font-family: Optima, Constantia, 'Linux Biolinum O', "Linux Libertine
Display O", 'Times New Roman', Arial;
+ font-size: 14pt;
+ }
+}
+
+@media only screen and (width > 500px) {
+ body {
+ margin: 0pt;
+ padding-top: 0.25in;
+ padding-left: 0.5in;
+ padding-right: 0.5in;
+ padding-bottom: 0.25in;
+ font-family: Optima, Constantia, 'Linux Biolinum O', "Linux Libertine
Display O", 'Times New Roman', Arial;
+ font-size: 14pt;
+ }
+}
+
+
@media (prefers-color-scheme: dark) {
- .body.adaptive {
+ body {
background-color: #1C1C1C;
color: #f0f0f0;
}
@@ -28,7 +53,7 @@
}
@media (prefers-color-scheme: light) {
- .body.adaptive {
+ body {
background-color: #f9f9f9;
color: black;
}
@@ -50,29 +75,6 @@
}
}
-@media only screen and (max-device-width: 500px) {
- body {
- margin: 0pt;
- padding-top: 0.05in;
- padding-left: 0.15in;
- padding-right: 0.15in;
- padding-bottom: 0.05in;
- font-family: Optima, Constantia, 'Linux Biolinum O', "Linux Libertine
Display O", 'Times New Roman', Arial;
- font-size: 14pt;
- }
-}
-
-@media only screen and (width > 500px) {
- body {
- margin: 0pt;
- padding-top: 0.25in;
- padding-left: 0.5in;
- padding-right: 0.5in;
- padding-bottom: 0.25in;
- font-family: Optima, Constantia, 'Linux Biolinum O', "Linux Libertine
Display O", 'Times New Roman', Arial;
- font-size: 14pt;
- }
-}
p {
margin-top: 2pt;
diff --git a/docs/texi2any-config.pm b/docs/texi2any-config.pm
deleted file mode 100644
index 681f37b284..0000000000
--- a/docs/texi2any-config.pm
+++ /dev/null
@@ -1,7 +0,0 @@
-# Copyright 2005 Charles Y. Choi
-#
-texinfo_set_from_init_file('BODY_ELEMENT_ATTRIBUTES', 'class="body adaptive"
lang="en"');
-# texinfo_set_from_init_file('VERTICAL_HEAD_NAVIGATION', 1);
-# texinfo_set_from_init_file('SHOW_TITLE', 1);
-# texinfo_set_from_init_file('USE_TITLEPAGE_FOR_TITLE', 1);
-# texinfo_set_from_init_file('USE_NODE_DIRECTIONS', 0);