From a15f1fa92ecac3385b5df55625f75b4dcb04e9d6 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 14 Nov 2017 17:13:11 -0500 Subject: [PATCH] fix #789 --- src/js/start.js | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/src/js/start.js b/src/js/start.js index ffe67f2..f0aa984 100644 --- a/src/js/start.js +++ b/src/js/start.js @@ -35,7 +35,26 @@ var µm = µMatrix; -/******************************************************************************/ +/******************************************************************************* + + SVG-based icons below were extracted from + fontawesome-webfont.svg v4.7. Excerpt of copyright notice at + the top of the file: + + > Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + > By ,,, + > Copyright Dave Gandy 2016. All rights reserved. + + Excerpt of the license information in the fontawesome CSS + file bundled with the package: + + > Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + > License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + + Font icons: + - glyph-name: "external_link" + +*/ var defaultLocalUserSettings = { // data-URI background courtesy of https://github.com/dev-random @@ -74,8 +93,17 @@ var defaultLocalUserSettings = { 'padding: 0 3px;', 'text-decoration: none;', '}', + 'svg {', + 'display: inline-block;', + 'fill: gray;', + 'height: 12px;', + 'vertical-align: bottom;', + 'width: 12px;', + '}', '', - '{{url}}', + '', + '', + '{{url}}', '' ].join(''), placeholderImage: 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='