diff --git a/.eslintrc.json b/.eslintrc.json index b47d466..127bbaa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,7 +4,9 @@ "es6": true }, "extends": ["eslint:recommended", "airbnb"], - "globals": {}, + "globals": { + "EventEmiter": "readonly" + }, "parserOptions": { "ecmaVersion": 2018, "sourceType": "script" @@ -15,6 +17,9 @@ "implicit-arrow-linebreak": "off", "func-names": "off", "object-curly-newline": "off", - "no-plusplus": "off" + "no-plusplus": "off", + "no-restricted-syntax": "off", + "guard-for-in": "off", + "no-continue": "off" } } diff --git a/assets/css/style.css b/assets/css/style.css index 2f29d7d..479167b 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -8,12 +8,35 @@ body { font-size: 20px; } +#more-break { + background-color: grey; + color: black; + visibility: hidden; +} + +#more-break::before, #more-break::after { + content: "\00a0"; +} + #hud { font-size: 25px; font-weight: bold; color: magenta; } +#hud ul { + margin: 0; + padding: 0; +} + +#hud li { + display: inline-block; +} + +#hud li:not(:first-child) { + margin-left: 5px; +} + .center { margin-left: auto; margin-right: auto; diff --git a/index.html b/index.html index 63d03cd..0fc3171 100644 --- a/index.html +++ b/index.html @@ -10,11 +10,35 @@