Browse Source

make that actually work

master
Alison Watson 8 months ago
parent
commit
90ef500ace
2 changed files with 7 additions and 1 deletions
  1. +4
    -0
      style.css
  2. +3
    -1
      templates/iboxperson.mdwn

+ 4
- 0
style.css View File

@@ -571,6 +571,10 @@ a {
margin-top: 0.5em;
margin-bottom: 0.5em
}
.ibox-head span.color {
width: 100%;
display: inline-block
}

/* colors */
a {color: #92ebf0}


+ 3
- 1
templates/iboxperson.mdwn View File

@@ -1,9 +1,11 @@
[[!templatebody <<ENDBODY
<div class="ibox">
<h4 class="ibox-head">
[[!color
foreground=<TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF>
background=<TMPL_IF colorbg><TMPL_VAR raw_colorbg><TMPL_ELSE>white</TMPL_IF>
text="<h4 class='ibox-head'><TMPL_VAR name></h4>"]]
text="<TMPL_VAR name>"]]
</h4>
<TMPL_IF image>
<img class="ibox-img" src="<TMPL_VAR image>"/>
</TMPL_IF>


Loading…
Cancel
Save