Fossil SCM
Minor style tweaks to the open-in-pikchrshow links. No functional changes.
Commit
7e97f4999b16ab756d20ae283186e258041615074ac1f7dd0c7ffa7c9ee415d7
Parent
4f6282357c6989e…
2 files changed
+8
-2
+2
-2
+8
-2
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -1707,12 +1707,18 @@ | ||
| 1707 | 1707 | box-sizing: border-box; |
| 1708 | 1708 | text-align: left; |
| 1709 | 1709 | } |
| 1710 | 1710 | div.pikchr-src > span { |
| 1711 | 1711 | /*Wrapper for a link to open a pikchr in /pikchrshow*/ |
| 1712 | - margin-top: 0.8em; | |
| 1713 | - font-size: 80%; | |
| 1712 | + margin-top: 0.5em; | |
| 1713 | + font-size: 85%; | |
| 1714 | +} | |
| 1715 | +div.pikchr-src > span::before { | |
| 1716 | + content: "["; | |
| 1717 | +} | |
| 1718 | +div.pikchr-src > span::after { | |
| 1719 | + content: "]"; | |
| 1714 | 1720 | } |
| 1715 | 1721 | /* The .source-inline class tells the .source class that the |
| 1716 | 1722 | source view, when enabled, should be "inline" (same position |
| 1717 | 1723 | as the graphic), else the sources are shifted to the left as |
| 1718 | 1724 | if they were "plain text". */ |
| 1719 | 1725 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1707,12 +1707,18 @@ | |
| 1707 | box-sizing: border-box; |
| 1708 | text-align: left; |
| 1709 | } |
| 1710 | div.pikchr-src > span { |
| 1711 | /*Wrapper for a link to open a pikchr in /pikchrshow*/ |
| 1712 | margin-top: 0.8em; |
| 1713 | font-size: 80%; |
| 1714 | } |
| 1715 | /* The .source-inline class tells the .source class that the |
| 1716 | source view, when enabled, should be "inline" (same position |
| 1717 | as the graphic), else the sources are shifted to the left as |
| 1718 | if they were "plain text". */ |
| 1719 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1707,12 +1707,18 @@ | |
| 1707 | box-sizing: border-box; |
| 1708 | text-align: left; |
| 1709 | } |
| 1710 | div.pikchr-src > span { |
| 1711 | /*Wrapper for a link to open a pikchr in /pikchrshow*/ |
| 1712 | margin-top: 0.5em; |
| 1713 | font-size: 85%; |
| 1714 | } |
| 1715 | div.pikchr-src > span::before { |
| 1716 | content: "["; |
| 1717 | } |
| 1718 | div.pikchr-src > span::after { |
| 1719 | content: "]"; |
| 1720 | } |
| 1721 | /* The .source-inline class tells the .source class that the |
| 1722 | source view, when enabled, should be "inline" (same position |
| 1723 | as the graphic), else the sources are shifted to the left as |
| 1724 | if they were "plain text". */ |
| 1725 |
+2
-2
| --- src/pikchrshow.c | ||
| +++ src/pikchrshow.c | ||
| @@ -212,15 +212,15 @@ | ||
| 212 | 212 | static int counter = 0; |
| 213 | 213 | ++counter; |
| 214 | 214 | blob_appendf(pOut, "<div class='pikchr-src'>" |
| 215 | 215 | "<pre id='pikchr-src-%d'>%h</pre>" |
| 216 | 216 | "<span class='hidden'>" |
| 217 | - "[<a href='%R/pikchrshow?fromSession' " | |
| 217 | + "<a href='%R/pikchrshow?fromSession' " | |
| 218 | 218 | "class='pikchr-src-pikchrshow' target='_new-%d' " |
| 219 | 219 | "data-pikchrid='pikchr-src-%d' " |
| 220 | 220 | "title='Open this pikchr in /pikchrshow'" |
| 221 | - ">→ /pikchrshow</a>]</span>" | |
| 221 | + ">→ /pikchrshow</a></span>" | |
| 222 | 222 | "</div>\n", |
| 223 | 223 | counter, blob_str(&bIn), counter, counter); |
| 224 | 224 | } |
| 225 | 225 | if(PIKCHR_PROCESS_DIV & pikFlags){ |
| 226 | 226 | blob_append(pOut, "</div>\n", 7); |
| 227 | 227 |
| --- src/pikchrshow.c | |
| +++ src/pikchrshow.c | |
| @@ -212,15 +212,15 @@ | |
| 212 | static int counter = 0; |
| 213 | ++counter; |
| 214 | blob_appendf(pOut, "<div class='pikchr-src'>" |
| 215 | "<pre id='pikchr-src-%d'>%h</pre>" |
| 216 | "<span class='hidden'>" |
| 217 | "[<a href='%R/pikchrshow?fromSession' " |
| 218 | "class='pikchr-src-pikchrshow' target='_new-%d' " |
| 219 | "data-pikchrid='pikchr-src-%d' " |
| 220 | "title='Open this pikchr in /pikchrshow'" |
| 221 | ">→ /pikchrshow</a>]</span>" |
| 222 | "</div>\n", |
| 223 | counter, blob_str(&bIn), counter, counter); |
| 224 | } |
| 225 | if(PIKCHR_PROCESS_DIV & pikFlags){ |
| 226 | blob_append(pOut, "</div>\n", 7); |
| 227 |
| --- src/pikchrshow.c | |
| +++ src/pikchrshow.c | |
| @@ -212,15 +212,15 @@ | |
| 212 | static int counter = 0; |
| 213 | ++counter; |
| 214 | blob_appendf(pOut, "<div class='pikchr-src'>" |
| 215 | "<pre id='pikchr-src-%d'>%h</pre>" |
| 216 | "<span class='hidden'>" |
| 217 | "<a href='%R/pikchrshow?fromSession' " |
| 218 | "class='pikchr-src-pikchrshow' target='_new-%d' " |
| 219 | "data-pikchrid='pikchr-src-%d' " |
| 220 | "title='Open this pikchr in /pikchrshow'" |
| 221 | ">→ /pikchrshow</a></span>" |
| 222 | "</div>\n", |
| 223 | counter, blob_str(&bIn), counter, counter); |
| 224 | } |
| 225 | if(PIKCHR_PROCESS_DIV & pikFlags){ |
| 226 | blob_append(pOut, "</div>\n", 7); |
| 227 |