(www-display-object-desc):
authorMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 23 Feb 2021 12:16:53 +0000 (21:16 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 23 Feb 2021 12:16:53 +0000 (21:16 +0900)
- Add CSS setting for `h1'.
- Use `chise-wiki-glyphwiki-glyph-image-url' instead of
  `https://glyphwiki.org/glyph'; use SVG instead of 50px PNG.

cwiki-view.el

index cf2cd4a..33c6957 100644 (file)
@@ -99,6 +99,7 @@ size=\"64\" maxlength=\"256\" value=\"%s\">
          (format "<head>
 <style type=\"text/css\">
 <!--
          (format "<head>
 <style type=\"text/css\">
 <!--
+h1 { font-size: 60px; vertical-align: super; }
 hr { color: green; }
 .ids { vertical-align: middle; font-size: 40px; line-height: 100%%; }
 a { text-decoration: none; }
 hr { color: green; }
 .ids { vertical-align: middle; font-size: 40px; line-height: 100%%; }
 a { text-decoration: none; }
@@ -397,9 +398,11 @@ style=\"height: 480px;\" />"
                  (t ret))
                 (if GlyphWiki-id
                     (format
                  (t ret))
                 (if GlyphWiki-id
                     (format
-                     " <a href=\"https://glyphwiki.org/wiki/%s\"><img alt=\"%s\" src=\"https://glyphwiki.org/glyph/%s.50px.png\" /></a>"
+                     " <a href=\"https://glyphwiki.org/wiki/%s\"><img alt=\"%s\" src=\"%s/%s.svg\" style=\"vertical-align:middle; width: 60px; height: 60px\"/></a>"
                      GlyphWiki-id
                      GlyphWiki-id
-                     GlyphWiki-id GlyphWiki-id)
+                     GlyphWiki-id
+                     chise-wiki-glyphwiki-glyph-image-url
+                     GlyphWiki-id)
                   "")
                 level))
        ))
                   "")
                 level))
        ))