diff --git a/docs/_layouts/practicehack.html b/docs/_layouts/practicehack.html new file mode 100644 index 0000000..453ba9d --- /dev/null +++ b/docs/_layouts/practicehack.html @@ -0,0 +1,48 @@ + + + + {{ page.title }} + + + + + + + + + + + +
+
+ {{ content }} +
+
+ + + + + + \ No newline at end of file diff --git a/docs/hack.css b/docs/hack.css index 46502ca..4c90c49 100644 --- a/docs/hack.css +++ b/docs/hack.css @@ -584,4 +584,61 @@ ul.colorList > li.colorDefine > .colorBlock { width: 90px; text-align: center; height: 20px; -} \ No newline at end of file +} + +/************************************** + +**************************************/ +div#patcher-app { + margin: auto; + width: 40%; + min-width: 300px; + font-size: .9em; + background: #EEEEFF; + border: 3px solid #A0A0FF; + border-radius: 20px 20px 0 0; +} + +div#patcher-app div.patch-header { + text-align: center; + margin: auto; + background: #CCCCFF; + font-weight: bold; + font-size: 1.4em; + padding: 7px 0; + border-radius: 16px 16px 0 0; +} + +div#patcher-app div.patch-body { + padding: 13px; +} + +div#patcher-app div.patch-body > p { + text-align: center; + margin: 0 2px 9px 2px; +} + +div#patcher-app div.patch-body > div.custom-file { + width: 70%; + margin: 10px auto; +} + +div#patcher-app div.patch-body > div.custom-file input { + cursor: pointer; +} + +div#patcher-app div.patch-body > button { + display: block; + margin: auto; + width: 70% +} + +div#patcher-app div.patch-body div.choosev { + margin: 0 auto 10px; + width: 70%; + text-align: center; +} + +div#patcher-app div.patch-body div.choosev label { + font-weight: bold; +} diff --git a/docs/index.html b/docs/index.html index 8e63820..718cd44 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,7 +5,7 @@

Download

-
+
@@ -943,3 +943,14 @@

Shoutouts

  • tewtal - JavaScript patcher
  • + + + + + + + + + + + \ No newline at end of file diff --git a/docs/patcher/js/patcher.js b/docs/patcher/js/patcher.js index 33ec49d..00af9c5 100644 --- a/docs/patcher/js/patcher.js +++ b/docs/patcher/js/patcher.js @@ -108,23 +108,15 @@ Vue.component('file-uploader', { }, props: ['manifest'], template: ` -
    +
    @@ -186,27 +178,19 @@ Vue.component('file-downloader', { } }, template: ` -
    +
    @@ -236,15 +220,13 @@ Vue.component('patcher', { props: ['manifest-path'], template: `
    -
    - -