From b43ed910840a0066a6ef157a0b97209e938f92d0 Mon Sep 17 00:00:00 2001 From: qrhlhplhp <80515002+qrhlhplhp@users.noreply.github.com> Date: Wed, 26 Oct 2022 12:39:48 +0900 Subject: [PATCH] add bahdem --- bahdem/.buildpath | 5 ++ bahdem/.project | 28 +++++++++++ .../org.eclipse.core.resources.prefs | 2 + bahdem/.settings/org.eclipse.php.core.prefs | 2 + ....eclipse.wst.common.project.facet.core.xml | 7 +++ bahdem/.vscode/launch.json | 48 +++++++++++++++++++ bahdem/index.html | 18 +++++++ bahdem/main.css | 30 ++++++++++++ bahdem/main.js | 23 +++++++++ index.html | 14 ++++++ 10 files changed, 177 insertions(+) create mode 100644 bahdem/.buildpath create mode 100644 bahdem/.project create mode 100644 bahdem/.settings/org.eclipse.core.resources.prefs create mode 100644 bahdem/.settings/org.eclipse.php.core.prefs create mode 100644 bahdem/.settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 bahdem/.vscode/launch.json create mode 100644 bahdem/index.html create mode 100644 bahdem/main.css create mode 100644 bahdem/main.js create mode 100644 index.html diff --git a/bahdem/.buildpath b/bahdem/.buildpath new file mode 100644 index 0000000..8bcb4b5 --- /dev/null +++ b/bahdem/.buildpath @@ -0,0 +1,5 @@ + + + + + diff --git a/bahdem/.project b/bahdem/.project new file mode 100644 index 0000000..16e1c94 --- /dev/null +++ b/bahdem/.project @@ -0,0 +1,28 @@ + + + bahdem + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.dltk.core.scriptbuilder + + + + + + org.eclipse.php.core.PHPNature + org.eclipse.wst.common.project.facet.core.nature + + diff --git a/bahdem/.settings/org.eclipse.core.resources.prefs b/bahdem/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/bahdem/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/bahdem/.settings/org.eclipse.php.core.prefs b/bahdem/.settings/org.eclipse.php.core.prefs new file mode 100644 index 0000000..1f744d9 --- /dev/null +++ b/bahdem/.settings/org.eclipse.php.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +include_path=0;/bahdem diff --git a/bahdem/.settings/org.eclipse.wst.common.project.facet.core.xml b/bahdem/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..e077e20 --- /dev/null +++ b/bahdem/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bahdem/.vscode/launch.json b/bahdem/.vscode/launch.json new file mode 100644 index 0000000..111c4b5 --- /dev/null +++ b/bahdem/.vscode/launch.json @@ -0,0 +1,48 @@ +{ + // IntelliSense を使用して利用可能な属性を学べます。 + // 既存の属性の説明をホバーして表示します。 + // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Listen for Xdebug", + "type": "php", + "request": "launch", + "port": 9003 + }, + { + "name": "Launch currently open script", + "type": "php", + "request": "launch", + "program": "${file}", + "cwd": "${fileDirname}", + "port": 0, + "runtimeArgs": [ + "-dxdebug.start_with_request=yes" + ], + "env": { + "XDEBUG_MODE": "debug,develop", + "XDEBUG_CONFIG": "client_port=${port}" + } + }, + { + "name": "Launch Built-in web server", + "type": "php", + "request": "launch", + "runtimeArgs": [ + "-dxdebug.mode=debug", + "-dxdebug.start_with_request=yes", + "-S", + "localhost:0" + ], + "program": "", + "cwd": "${workspaceRoot}", + "port": 9003, + "serverReadyAction": { + "pattern": "Development Server \\(http://localhost:([0-9]+)\\) started", + "uriFormat": "http://localhost:%s", + "action": "openExternally" + } + } + ] +} \ No newline at end of file diff --git a/bahdem/index.html b/bahdem/index.html new file mode 100644 index 0000000..f8f3935 --- /dev/null +++ b/bahdem/index.html @@ -0,0 +1,18 @@ + + + + + + + + BACH=DEMO MACHINE + + +

BACH=DEMO MACHINE

+

CLICK BACH TO GET THEM CONNECTED

+
BACH
+
DEMO
+

+ + + \ No newline at end of file diff --git a/bahdem/main.css b/bahdem/main.css new file mode 100644 index 0000000..a9d71bb --- /dev/null +++ b/bahdem/main.css @@ -0,0 +1,30 @@ +.block{ + width: 30vh; + height: 30vh; + background-color: yellowgreen; + position: relative; +} + +.block div{ + position: absolute; + left: 50%; + top: 50%; + transform: translateY(-50%) translateX(-50%); + font-size: 5vh; +} + +#demoblock{ + display: none; + animation: 3s linear demowelcome; +} + +#text{} + +@keyframes demowelcome { +0%{ +margin-top: 20vh; +} +100%{ +margin-top: 0; +} +} \ No newline at end of file diff --git a/bahdem/main.js b/bahdem/main.js new file mode 100644 index 0000000..bea829e --- /dev/null +++ b/bahdem/main.js @@ -0,0 +1,23 @@ +let bachblock = document.getElementById("bachblock"); +let demoblock = document.getElementById("demoblock"); +let text = document.getElementById("text"); +let expl = document.getElementById("expl"); + +bachblock.addEventListener('click', function(){ + if(text.innerText == "" || text.innerText == "DEAD..."){ + text.innerText = "SUCCESS!!!"; + text.style.color = "black"; + setTimeout(()=>{ + expl.innerText = "CLICK BACH TO GET HER DEAD"; + },3000); + }else{ + text.innerText = "DEAD..."; + text.style.color = "red"; + expl.innerText = "CLICK BACH TO GET THEM CONNECTED AGAIN"; + } + if(window.getComputedStyle(demoblock).display=="none"){ + demoblock.style.display = "block"; + }else{ + demoblock.style.display = "none"; + } +}); \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..00960eb --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Qrhlhplhp's Works + + +

Qrhlhplhp's Works

+

BACH=DEMO MACHINE

+ Link + + \ No newline at end of file