Dodan package.json in navodila za uporabo
parent
b3c0da0407
commit
fb6db9d53f
|
@ -0,0 +1 @@
|
|||
node_modules
|
13
animacija.js
13
animacija.js
|
@ -212,7 +212,14 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
|
||||
document.body.style.backgroundColor = "white"
|
||||
document.crka.style.color = "black"
|
||||
document.crka.style.fontFamily = "Courier New"
|
||||
|
||||
zacetek()
|
||||
})
|
||||
|
||||
window.addEventListener("mousedown", () => {
|
||||
document.body.style.cursor = "none"
|
||||
document.getElementById("navodila").style.display = "none"
|
||||
|
||||
if (!document.zacetek) {
|
||||
document.zacetek = true
|
||||
zacetek()
|
||||
}
|
||||
})
|
||||
|
|
27
index.html
27
index.html
|
@ -14,9 +14,26 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
user-select: none;
|
||||
cursor: none;
|
||||
font-family: "Courier New";
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
#zacetek {
|
||||
margin-top: 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<script src="node_modules/babel-polyfill/dist/polyfill.min.js"></script>
|
||||
<script src="animacija.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -24,5 +41,13 @@
|
|||
<audio id="zvok" preload="auto">
|
||||
<source src="zvok.oga" type="audio/ogg" />
|
||||
</audio>
|
||||
<div id="navodila">
|
||||
<h1>NAVODILA ZA UPORABO</h1>
|
||||
<p>1. Predvajajte izključno v temnem prostoru.</p>
|
||||
<p>2. Nastavite glasnost na najvišjo možno jakost in uporabite slušalke.</p>
|
||||
<p>3. Pozor! Ogled avdio-vizualizacije lahko sproži epileptični napad.</p>
|
||||
|
||||
<p id="zacetek"><strong>🖰</strong> Kliknite kjerkoli za začetek</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"name": "fingernails",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"babel-polyfill": {
|
||||
"version": "6.26.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
|
||||
"integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=",
|
||||
"requires": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
"core-js": "^2.5.0",
|
||||
"regenerator-runtime": "^0.10.5"
|
||||
}
|
||||
},
|
||||
"babel-runtime": {
|
||||
"version": "6.26.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
|
||||
"requires": {
|
||||
"core-js": "^2.4.0",
|
||||
"regenerator-runtime": "^0.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"regenerator-runtime": {
|
||||
"version": "0.11.1",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"core-js": {
|
||||
"version": "2.5.7",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
|
||||
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
|
||||
},
|
||||
"regenerator-runtime": {
|
||||
"version": "0.10.5",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
|
||||
"integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg="
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "fingernails",
|
||||
"version": "1.0.0",
|
||||
"description": "Fingernails on a chalkboard",
|
||||
"main": "index.html",
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.26.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "AGPL-3.0-or-later"
|
||||
}
|
Loading…
Reference in New Issue