Remove inline styles

This commit is contained in:
Florine W. Dekker 2021-04-28 12:30:15 +02:00
parent b3647e04f6
commit fdcfd33c3f
Signed by: FWDekker
GPG Key ID: 78B3EAF58145AF25
5 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2019 Felix W. Dekker Copyright (c) 2019 F.W. Dekker
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,8 +1,8 @@
{ {
"name": "converter", "name": "converter",
"version": "1.4.10", "version": "1.4.11",
"description": "Convert numbers to and from various bases.", "description": "Convert numbers to and from various bases.",
"author": "Felix W. Dekker", "author": "F.W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",
"repository": { "repository": {
"type": "git", "type": "git",
@ -19,7 +19,7 @@
"big-integer": "^1.6.48" "big-integer": "^1.6.48"
}, },
"devDependencies": { "devDependencies": {
"grunt": "^1.3.0", "grunt": "^1.4.0",
"grunt-cli": "^1.4.2", "grunt-cli": "^1.4.2",
"grunt-contrib-clean": "^2.0.0", "grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0", "grunt-contrib-copy": "^1.0.0",
@ -27,7 +27,7 @@
"grunt-focus": "^1.0.0", "grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0", "grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.3", "grunt-webpack": "^4.0.3",
"webpack": "^5.33.2", "webpack": "^5.36.0",
"webpack-cli": "^4.6.0" "webpack-cli": "^4.6.0"
} }
} }

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" /> <meta name="author" content="F.W. Dekker" />
<meta name="application-name" content="Converter" /> <meta name="application-name" content="Converter" />
<meta name="description" content="Convert numbers to and from various bases." /> <meta name="description" content="Convert numbers to and from various bases." />
<meta name="theme-color" content="#0033cc" /> <meta name="theme-color" content="#0033cc" />
@ -19,13 +19,13 @@
<noscript> <noscript>
<img src="https://stats.fwdekker.com/count?p=/tools/converter/" alt="Counting pixel" /> <img src="https://stats.fwdekker.com/count?p=/tools/converter/" alt="Counting pixel" />
<p style="color: red; font-weight: bold;"> <p>
This website does not function if JavaScript is disabled. This website does not function if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/"> Please check the <a href="https://www.enable-javascript.com/">
instructions on how to enable JavaScript in your web browser</a>. instructions on how to enable JavaScript in your web browser</a>.
</p> </p>
</noscript> </noscript>
<main style="display: none;"> <main class="hidden">
<div id="nav"></div> <div id="nav"></div>
<div id="contents"> <div id="contents">
<div id="header"></div> <div id="header"></div>

View File

@ -1,5 +1,5 @@
// noinspection JSUnresolvedVariable // noinspection JSUnresolvedVariable
const {$, doAfterLoad, footer, header, nav, showPage} = window.fwdekker; const {$, doAfterLoad, footer, header, nav} = window.fwdekker;
import bigInt from "big-integer" import bigInt from "big-integer"
@ -223,7 +223,7 @@ doAfterLoad(() => {
vcsURL: "https://git.fwdekker.com/FWDekker/converter/", vcsURL: "https://git.fwdekker.com/FWDekker/converter/",
version: "v%%VERSION_NUMBER%%" version: "v%%VERSION_NUMBER%%"
})); }));
showPage(); $("main").classList.remove("hidden");
}); });
doAfterLoad(() => { doAfterLoad(() => {