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; background-color: #555;
box-sizing: border-box; box-sizing: border-box;
border: 2vw solid black; border: 2vw solid black;
font-size: 15px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
hyphens: auto;
} }
body { body {

View File

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

View File

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