diff --git a/index.html b/index.html index df1b232..2882a33 100644 --- a/index.html +++ b/index.html @@ -157,6 +157,10 @@ Error message and password prompt
  • $:/core
  • +
  • $:/custom-svg-style
  • + +
  • $:/custom-tag-styles
  • +
  • $:/DefaultTiddlers
  • $:/favicon.ico
  • @@ -290,17 +294,17 @@ Error message and password prompt
    yes
    -
    +
    hide
    hide
    -
    +
    hide
    -
    -
    show
    +
    +
    hide
    show
    @@ -9681,6 +9685,44 @@ Error message and password prompt } }
    +
    +
    [data-tags*="svg"] .svg-icon {
    +  width: 100%;
    +  height: 100%;
    +}
    +
    +[data-tags*="svg"] .svg-icon path,
    +.svg-icon polygon,
    +.svg-icon rect {
    +  fill: #4691f6;
    +}
    +
    +[data-tags*="svg"] .svg-icon circle {
    +  stroke: #4691f6;
    +  stroke-width: 1;
    +}
    +
    +[data-tags*="data-tags-styles"] .tc-tiddler-body {
    +  display: block;
    +  padding: 14px;
    +  margin-top: 1em;
    +  margin-bottom: 1em;
    +  word-break: normal;
    +  word-wrap: break-word;
    +  white-space: pre-wrap;
    +  background-color: #f5f5f5;
    +  border: 1px solid #cccccc;
    +  padding: 0 3px 2px;
    +  border-radius: 3px;
    +  font-family: Monaco, Consolas, "Lucida Console", "DejaVu Sans Mono", monospace;
    +}
    +
    +
    +
    [data-tags*="Macros"] {
    +  border: 1px solid red;
    +}
    +
    +
    ulaulaman
    @@ -10119,7 +10161,7 @@ Error message and password prompt
    TikzDraw
    -
    +
    $:/core/ui/MoreSideBar/All
    @@ -10140,7 +10182,7 @@ Error message and password prompt
    ulaulaman
    -
    +
    
     
    @@ -10208,7 +10250,7 @@ Error message and password prompt } }
    -
    +
    
     
    @@ -10551,7 +10593,7 @@ For example the show twitterFollowButton's code use `{{twitterFollowButton||code {{twitterFollowButton||code}}
    -
    +
    I try to use original Macros' system, whitout any results. After a brief research, I find [[TW5 Magick|http://tw5magick.tiddlyspot.com/]], a collections of various tricks. Here i find a useful and [[very simple way to define macros|http://tw5magick.tiddlyspot.com/#A%20global%20Macro%20-%20with%20limitations]].
     
     Following the //how to//, I define the twitterFollowButton, using the [[twitter icon in svg|twitter.svg]]
    @@ -10560,7 +10602,7 @@ Following the //how to//, I define the twitterFollowButton, using the [[twitter
     
     To call this macro I use the code `{{twitterFollowButton|username}}`.
     
    -It is also possible define a macro whitout any parameter, like the [[stylesheet for svg|svgStylesheet]]
    +It is also possible define a macro whitout any parameter, like the [[stylesheet for svg|svgStylesheet]] (read also the [[standard way|https://tiddlywiki.com/#Custom%20styles%20by%20data-tags]] to include stylesheet in TiddlyWiki)
     
     {{svgStylesheet||code}}
     
    @@ -10661,10 +10703,8 @@ These two parameters are combined into a single [[filter expression|Filter Expre
     
     [[Vai alla homepage|https://ulaulaman.github.io/tikzdraw/]]
    -
    -
    <style>{{svgStylesheet}}</style>
    -
    -<svg class="svg-icon" viewBox="0 0 20 20">
    +
    +
    <svg class="svg-icon" viewBox="0 0 20 20">
     							<path fill="none" d="M14.467,6.707c-0.34,0.198-0.715,0.342-1.115,0.419c-0.318-0.335-0.775-0.545-1.279-0.545c-0.969,0-1.754,0.773-1.754,1.727c0,0.135,0.015,0.267,0.045,0.394C8.905,8.628,7.612,7.94,6.747,6.896C6.596,7.151,6.509,7.448,6.509,7.764c0,0.599,0.31,1.128,0.78,1.438C7.002,9.192,6.732,9.115,6.495,8.985c0,0.007,0,0.014,0,0.021c0,0.837,0.605,1.535,1.408,1.694c-0.147,0.04-0.302,0.06-0.462,0.06c-0.113,0-0.223-0.011-0.33-0.031c0.223,0.687,0.871,1.186,1.638,1.199c-0.6,0.464-1.356,0.739-2.179,0.739c-0.142,0-0.281-0.007-0.418-0.023c0.777,0.489,1.699,0.775,2.689,0.775c3.228,0,4.991-2.63,4.991-4.913c0-0.075-0.002-0.149-0.004-0.223c0.342-0.244,0.639-0.547,0.875-0.894c-0.316,0.137-0.652,0.23-1.008,0.272C14.057,7.448,14.336,7.11,14.467,6.707 M10,0.594c-5.195,0-9.406,4.211-9.406,9.406c0,5.195,4.211,9.406,9.406,9.406c5.196,0,9.407-4.211,9.407-9.406C19.406,4.805,15.195,0.594,10,0.594 M10,18.552c-4.723,0-8.551-3.829-8.551-8.552S5.277,1.449,10,1.449c4.723,0,8.551,3.829,8.551,8.551S14.723,18.552,10,18.552"></path>
     						</svg>
    @@ -10675,7 +10715,7 @@ These two parameters are combined into a single [[filter expression|Filter Expre <$macrocall $name="twitterFollowButton" username={{!!title}}/>
    -
    +
    <tr><td width="50%;">{{ulaulaman||twitterFollowButton}}</td><td width="50%;">{{edu_inaf||twitterFollowButton}}</td></tr>