diff --git a/app/static/css/site.scss b/app/static/css/site.scss index 3d36e14..fc487df 100644 --- a/app/static/css/site.scss +++ b/app/static/css/site.scss @@ -52,6 +52,10 @@ html, body { } +i, em { + font-style: italic; +} + header, footer { max-width: 1000px; padding-top: 16px; diff --git a/app/static/css/style.css b/app/static/css/style.css index 0ce29e5..e772c0a 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -16,10 +16,6 @@ body { outline: none; } -i, em { - font-style: italic; -} - a { color: var(--fg) } diff --git a/app/static/js/utils.js b/app/static/js/utils.js index fdef11b..92d6c80 100644 --- a/app/static/js/utils.js +++ b/app/static/js/utils.js @@ -112,10 +112,7 @@ const clickLink = function(event) { } var href = a.attributes.href.value var prefix = document.location.protocol + '//' + document.location.hostname - if (pandoraURL && href.startsWith(pandoraURL) { - href = href.slice(pandoraURL.length) - } - if (!pandoraURL && href.startsWith(prefix)) { + if (href.startsWith(prefix)) { href = href.slice(prefix.length) } if (href.startsWith('/')) {