aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-06 13:57:08 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-06 13:57:08 +0000
commit8c113ba745ec862956b13c8fda6220c77dfccc82 (patch)
treeb0954c28850e950cd57b97a443f2b91beed2ea51
parentportfolio progress (diff)
downloadmmm-portfolio.tar.gz
mmm-portfolio.zip
bugfixesportfolio
-rw-r--r--mmm/component/init.server.moon2
-rw-r--r--mmm/mmmfs/conversion.moon4
-rw-r--r--root/projects/iii-telefoni/text$markdown.md2
-rw-r--r--scss/_reset.scss7
4 files changed, 10 insertions, 5 deletions
diff --git a/mmm/component/init.server.moon b/mmm/component/init.server.moon
index 7c7fb7e..ecfa21e 100644
--- a/mmm/component/init.server.moon
+++ b/mmm/component/init.server.moon
@@ -28,7 +28,7 @@ escapes = {
text = (str) ->
str = tostring str
- str\gsub '[}{">/<\'&]', escapes
+ (str\gsub '[}{">/<\'&]', escapes)
class ReactiveVar
@isinstance: (val) -> 'table' == (type val) and val.subscribe
diff --git a/mmm/mmmfs/conversion.moon b/mmm/mmmfs/conversion.moon
index f6ca8c0..d8bc179 100644
--- a/mmm/mmmfs/conversion.moon
+++ b/mmm/mmmfs/conversion.moon
@@ -62,8 +62,7 @@ converts = {
html = html\gsub '<mmm%-embed%s+(.-)>(.-)</mmm%-embed>', (attrs, desc) ->
path, facet = '', ''
opts = {}
- if #desc != 0
- opts.desc = desc
+ opts.desc = desc if #desc > 0
while attrs and attrs != ''
key, val, _attrs = attrs\match '^(%w+)="([^"]-)"%s*(.*)'
@@ -97,6 +96,7 @@ converts = {
nolink = js_fix element\getAttribute 'nolink'
inline = js_fix element\getAttribute 'inline'
desc = js_fix element.innerText
+ desc = nil if #desc < 1
element\replaceWith embed path or '', facet or '', fileder, { :nolink, :inline, :desc }
diff --git a/root/projects/iii-telefoni/text$markdown.md b/root/projects/iii-telefoni/text$markdown.md
index 0a374e9..aa9c078 100644
--- a/root/projects/iii-telefoni/text$markdown.md
+++ b/root/projects/iii-telefoni/text$markdown.md
@@ -20,7 +20,7 @@ The players have to try to figure out a way to communicate to each other despite
If they succeed, they can optionally try to arrange a meeting point on the grounds of the showcase to debrief and reflect on their experience.
Though *Tre Telefoni* has been designed as an installation piece as described above,
-a [web-based rototype][proto] is also available to playtest the premise itself.
+a [web-based prototype][proto] is also available to playtest the premise itself.
artist statement
----------------
diff --git a/scss/_reset.scss b/scss/_reset.scss
index 99f1cae..ef2ef0d 100644
--- a/scss/_reset.scss
+++ b/scss/_reset.scss
@@ -40,7 +40,12 @@ a {
text-decoration: underline;
text-decoration-color: transparent;
- &:hover {
+ cursor: default;
+ &[href] {
+ cursor: pointer;
+ }
+
+ &[href]:hover {
filter: invert(40%);
text-decoration-color: currentColor;
}