Use our font style for 'dysfunctional' message

This commit is contained in:
tophf 2017-08-27 13:26:48 +03:00
parent 320ea3485a
commit 543fec82ce
3 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,9 @@ html {
background-color: #555;
box-sizing: border-box;
border: 2vw solid black;
font-size: 15px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
hyphens: auto;
}
body {

View File

@ -2,6 +2,7 @@
<html id="stylus">
<head>
<meta charset="UTF-8">
<title>Stylus</title>
<link rel="stylesheet" href="dysfunctional.css">
</head>
<body>

View File

@ -4,3 +4,5 @@ document.body.textContent =
chrome.i18n.getMessage('dysfunctional');
document.body.appendChild(document.createElement('div')).textContent =
chrome.runtime.getURL('manifest.json');
// set hyphenation language
document.documentElement.setAttribute('lang', chrome.i18n.getUILanguage());