From 96ee367060cd0154e294d3268f799bfc5b7a35b8 Mon Sep 17 00:00:00 2001 From: testpodgit7 Date: Wed, 20 Mar 2019 13:10:45 +0000 Subject: [PATCH 1/3] 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 791f660f8ba9b648fbcf38069a2f109320678896 Mon Sep 17 00:00:00 2001 From: testpodgit7 Date: Wed, 20 Mar 2019 13:26:46 +0000 Subject: [PATCH 2/3] jjj Signed-off-by: testpodgit7 --- .theia/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.theia/index.html b/.theia/index.html index 5ebc8cd..eb7bf40 100644 --- a/.theia/index.html +++ b/.theia/index.html @@ -19,4 +19,5 @@ - + + hhhhhhhhhhhhhhhhhhhhhhh From b530d4352b9902cdf8ff2526cddf33d2b4e5765d Mon Sep 17 00:00:00 2001 From: testpodgit7 Date: Wed, 20 Mar 2019 13:32:05 +0000 Subject: [PATCH 3/3] gned-off-by: testpodgit7 --- src/index.html | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/src/index.html b/src/index.html index 0f5edf9..9f33310 100644 --- a/src/index.html +++ b/src/index.html @@ -1,22 +1,18 @@ - - - - Заголовок страницы - - - - - - -
-
-
-
-
- - -
-
- - \ No newline at end of file + + + + Заголовок страницы + + + + + + +
+
+
+
+
+ +