Fossil SCM

Minor style tweaks to the open-in-pikchrshow links. No functional changes.

stephan 2024-10-12 23:08 omit-cr
Commit 7e97f4999b16ab756d20ae283186e258041615074ac1f7dd0c7ffa7c9ee415d7
2 files changed +8 -2 +2 -2
+8 -2
--- src/default.css
+++ src/default.css
@@ -1707,12 +1707,18 @@
17071707
box-sizing: border-box;
17081708
text-align: left;
17091709
}
17101710
div.pikchr-src > span {
17111711
/*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: "]";
17141720
}
17151721
/* The .source-inline class tells the .source class that the
17161722
source view, when enabled, should be "inline" (same position
17171723
as the graphic), else the sources are shifted to the left as
17181724
if they were "plain text". */
17191725
--- 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
--- src/pikchrshow.c
+++ src/pikchrshow.c
@@ -212,15 +212,15 @@
212212
static int counter = 0;
213213
++counter;
214214
blob_appendf(pOut, "<div class='pikchr-src'>"
215215
"<pre id='pikchr-src-%d'>%h</pre>"
216216
"<span class='hidden'>"
217
- "[<a href='%R/pikchrshow?fromSession' "
217
+ "<a href='%R/pikchrshow?fromSession' "
218218
"class='pikchr-src-pikchrshow' target='_new-%d' "
219219
"data-pikchrid='pikchr-src-%d' "
220220
"title='Open this pikchr in /pikchrshow'"
221
- ">&rarr; /pikchrshow</a>]</span>"
221
+ ">&rarr; /pikchrshow</a></span>"
222222
"</div>\n",
223223
counter, blob_str(&bIn), counter, counter);
224224
}
225225
if(PIKCHR_PROCESS_DIV & pikFlags){
226226
blob_append(pOut, "</div>\n", 7);
227227
--- 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 ">&rarr; /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 ">&rarr; /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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button