From 96ee367060cd0154e294d3268f799bfc5b7a35b8 Mon Sep 17 00:00:00 2001 From: testpodgit7 Date: Wed, 20 Mar 2019 13:10:45 +0000 Subject: [PATCH 1/2] Update README.md --- .theia/index.html | 22 ++++++++++++++++++++++ .theia/launch.json | 35 +++++++++++++++++++++++++++++++++++ .theia/maintest.css | 22 ++++++++++++++++++++++ README.md | 1 + src/index.html | 22 ++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 100644 .theia/index.html create mode 100644 .theia/launch.json create mode 100644 .theia/maintest.css create mode 100644 src/index.html diff --git a/.theia/index.html b/.theia/index.html new file mode 100644 index 0000000..5ebc8cd --- /dev/null +++ b/.theia/index.html @@ -0,0 +1,22 @@ + + + + Заголовок страницы + + + + + + +
+
+
+
+
+ + +
+
+ + diff --git a/.theia/launch.json b/.theia/launch.json new file mode 100644 index 0000000..10edae7 --- /dev/null +++ b/.theia/launch.json @@ -0,0 +1,35 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Debug (Launch)", + "request": "launch", + "cwd": "${workspaceFolder}", + "console": "internalConsole", + "stopOnEntry": false, + "mainClass": "", + "args": "" + }, + { + "type": "java", + "name": "Debug (Launch)-HelloWorld", + "request": "launch", + "cwd": "${workspaceFolder}", + "console": "internalConsole", + "stopOnEntry": false, + "mainClass": "HelloWorld", + "args": "", + "projectName": "HelloWorld" + }, + { + "type": "java", + "name": "Debug (Attach)", + "request": "attach", + "hostName": "localhost", + "port": "" + } + ] +} diff --git a/.theia/maintest.css b/.theia/maintest.css new file mode 100644 index 0000000..e98ea1a --- /dev/null +++ b/.theia/maintest.css @@ -0,0 +1,22 @@ +/* звездочка означает, что стиль применяется ко всем html элементам */ +* {margin: 0; padding: 0;} +/* для html, body устанавливаем ширину, высоту и цвет заднего фона */ +html, body {width: 100%; height: 100%; background-color: #f0f0f0; } + +#form_A { + /* Абсолютное позиционирование - будем перемещать его сами */ + position: absolute; + /* Перемещаем направо и вниз на половину экрана */ + left: 50%; top: 50%; + /* Выставляем ширину и высоту блока */ + width: 300px; height: 150px; + /* Перемещаем налево на половину ширину, и вверх - на половину высоту */ + margin-left: -150px; margin-top: -75px; + /* Устанавливаем цвет заднего фона в серый */ + background-color: #ccc; + + /* Устанавливаем бордюры */ + border-left: 2px solid #999; border-top: 2px solid #999; + border-right: 2px solid #333; border-bottom: 2px solid #333; + /* Благодаря ним добиваемся 3D эффекта объемности */ +} diff --git a/README.md b/README.md index 4c3f3f9..cfb98d4 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Hello World,作為第一個 Java 程式的範本,測試你的 Java 環境符合基本需求。可直接匯入 Eclipse project。 - [入門教學 Fork → Eclipse importing → Run → Commit & Push](https://gitpitch.com/mini-island/mini-island.github.io?p=Hello-Java-Steps) +- [Online Java IDE](https://www.compilejava.net/): 也可以試試簡易的Java線上編譯器。 ## JDK Version (測試過的) - Java 8 diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..0f5edf9 --- /dev/null +++ b/src/index.html @@ -0,0 +1,22 @@ + + + + Заголовок страницы + + + + + + +
+
+
+
+
+ + +
+
+ + \ No newline at end of file From 814855250d248c61af235b98742c9084ca6e1a68 Mon Sep 17 00:00:00 2001 From: Taras Didyk <41964662+tarasdidyk@users.noreply.github.com> Date: Wed, 20 Mar 2019 15:16:02 +0200 Subject: [PATCH 2/2] Create test.html --- test.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test.html diff --git a/test.html b/test.html new file mode 100644 index 0000000..897c83c --- /dev/null +++ b/test.html @@ -0,0 +1,22 @@ + + + + Заголовок страницы + + + + + + +
+
+
+
+
+ + +
+
+ +