From bae39f2ca5100c49fdc23b91c2f2e10a181bba5c Mon Sep 17 00:00:00 2001 From: hgn Date: Tue, 6 Jun 2023 11:55:23 +0100 Subject: [PATCH] basic php site --- web/frag/.main.html.swp | Bin 0 -> 12288 bytes web/frag/main.html | 11 ++ web/frag/sr404.html | 3 + web/index.php | 283 ++++++++++++++++++++++++++++++++++++++++ web/serv.sh | 1 + web/vers.css | 193 +++++++++++++++++++++++++++ web/workshop/addon.html | 36 +++++ web/workshop/guide.html | 19 +-- 8 files changed, 531 insertions(+), 15 deletions(-) create mode 100644 web/frag/.main.html.swp create mode 100644 web/frag/main.html create mode 100644 web/frag/sr404.html create mode 100755 web/index.php create mode 100755 web/serv.sh create mode 100644 web/vers.css create mode 100644 web/workshop/addon.html diff --git a/web/frag/.main.html.swp b/web/frag/.main.html.swp new file mode 100644 index 0000000000000000000000000000000000000000..2993c1a7e76f008b39585bcaaddcb37b8820fbed GIT binary patch literal 12288 zcmeI&zi-qq6bEo06B6Qw;2&^<7!xPg7R1#Tse+|LB}4^cL(avQ7|x01IK6f$e+hpG zBV!l-3ChOE#)6$(7o-YxLY2Ojo?hbEFE5|%bS~1j2Z!`ovP1lMK*)>VXXUpKx5<}% zLTX{{X_)`V7}mvo(KoKoo?gB9Y*@%%wu@fN#&xW-totaOv})Q7r0Bdr&${IJ&v~Mqla&{FOJiNDzPk1Rwwb2tWV=5P$##AOHaf+&}?Q67u;TAwPVC|Nk$4|9`(v$hnWN zK6)RGk9R&^`Iz|l<=6k*?7IkiF(3c|2tWV=5P$##AOHafKmY>&TY$4t9p{8n%9$DR zk&{AmCdNrYYb%%Y+BwtB80%bXWzvNurd>-b%Vg1NCX8YJ^z8QYos=DgW9#o56uCF^~KO)6&&#nV6=EXy;B> zavrT!>FOEX&8FsLk7{uek26`CKG};{9>-(<_4qZzi literal 0 HcmV?d00001 diff --git a/web/frag/main.html b/web/frag/main.html new file mode 100644 index 0000000..65d49f4 --- /dev/null +++ b/web/frag/main.html @@ -0,0 +1,11 @@ +
+

Skaterift


+
+ +

+ image.. image ... +
+ Availible on + Steam +

+
diff --git a/web/frag/sr404.html b/web/frag/sr404.html new file mode 100644 index 0000000..41a74c6 --- /dev/null +++ b/web/frag/sr404.html @@ -0,0 +1,3 @@ +
+

404 Not found


+
diff --git a/web/index.php b/web/index.php new file mode 100755 index 0000000..7bb7d9e --- /dev/null +++ b/web/index.php @@ -0,0 +1,283 @@ +"; + echo "

".$display."

"; + } + else{ + echo ""; + echo "
"; + echo "

".$display."

"; + } + } +?> + + + + + + + + + + + + + + + + + + Skaterift + + + +
+ +
+ +
+
+

Copyright ©2021-2023 Mt.Zero Software. All rights reserved. + All trademarks are property of their respective owners

+
+ + diff --git a/web/serv.sh b/web/serv.sh new file mode 100755 index 0000000..a466ce8 --- /dev/null +++ b/web/serv.sh @@ -0,0 +1 @@ +php -S 127.0.0.1:8000 -t . diff --git a/web/vers.css b/web/vers.css new file mode 100644 index 0000000..5135df7 --- /dev/null +++ b/web/vers.css @@ -0,0 +1,193 @@ +body { + font-family: 'Roboto Condensed', sans-serif; + color: #CCC; +} + +h1, h2 { + color: #FFF; + display: inline; + font-size: 38px; +} + +h3 { + color: #FFF; + display: inline; +} + +body { + background-image:url('resource/img/background.png'); + background-repeat: repeat; + background-size: auto; + background-attachment: fixed; + padding-left: 0px; +} + +a{ + text-decoration:none; + color:#CCC; +} + + +.right{ + position: absolute; + right: 0; + bottom:0; + + padding-right: 32px; +} + +.gallery-sqr { + font-size:0; +} + +.gallery-sqr > div > img { + width: 100%; +} + +.gallery-sqr > div { + width: 100%; + display: inline-block; + box-sizing: border-box; + padding: 3px; + + position: relative; +} + +.gallery-big > img { + width: 100%; +} + +/* Content Wrapper */ +.content { + margin: auto; + width: 98%; + + box-shadow: 0px 0px 13px 3px rgba(0,0,0,0.5); + + background-image:url('resource/img/wnoise.png'); + background-repeat: repeat; + background-size: auto; + padding-left: 0px; + color:#FFF; + border: 1px solid #000; + position: relative; + min-height: 700px; +} + +.subcontent { + padding: 8px; +} + +.navside { + background-color: #171717; + color: #EEE; + padding: 0px; + width: 200px; + float: left; + height: 100%; + position: absolute; + box-shadow: inset 0 0 18px #111; +} +.navitem { + background-color: #222; + padding: 8px; + box-shadow: inset -20px 0 10px -20px #111; +} +.navitem:hover{ + background-color: #444; +} +.navside > .navselect { + background-color: #111; +} + +.realcontent { + margin-left: 201px; +} +.realcontent > p { + font-size: 19px; +} + + +.nav { + background-color: #171717; + font-size: 0; + color: #EEE; + padding: 0px; +} +.nav > div { + background-color: #222; + display: inline-block; + padding: 0px; + font-size: 26px; + padding-right: 30px; + padding-left: 30px; +} +.nav > .navselect { + background-color: #111; +} +.superbar { + background-color: #111; + font-size: 20px; +} + +.header { + padding: 8px; + background-color: #111; +} + +/* Overlay */ +.overlay { + font-size:15px; + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + padding: 15px; + box-sizing: border-box; + + transition: opacity 0.3s linear; + +color: #FFF; + +opacity: 0.7; + background-color: rgba( 0, 0, 0, 0.05 ); + +user-select: none; +} +.overlay:hover{ + opacity: 0.9; + border: 1px solid #888; +} +.overlay > h1{ + bottom: 0; + position: absolute; +} + +/* Desktop Fixups */ +@media only screen and (min-width: 768px) { + .gallery-sqr > div { + width: 50%; + } + + .content { + width: 90%; + } + + .overlay { + opacity: 0.0; + background-color: rgba( 0, 0, 0, 0.3 ); + } +} + +/* Big man monitors */ +@media only screen and (min-width: 1200px) { + .gallery-sqr > div { + width: 25%; + } + + .content { + width: 80%; + } +} + diff --git a/web/workshop/addon.html b/web/workshop/addon.html new file mode 100644 index 0000000..3b99cf7 --- /dev/null +++ b/web/workshop/addon.html @@ -0,0 +1,36 @@ + + + + + + + +

1. Installing exporter addon

+

Skaterift comes with the addon in its game files, we just need to install + it. This addon script gets updated between skaterift versions. Here are the + steps to install it into Blender:
+
+ Go to edit>preferences, and open the addons section.
+
+ Press the install... button at the top right, and browse to the + Skaterift game files. Inside the folder named tools is the script + blender_export.py to install.
+
+ If you don't know where it is, you can go into your Steam Library, and + rightclick Skaterift, selecting Manage>Browse local files.
+
+ Now search for Skaterift .mdl exporter from the addons list, and enable + it.
+


+ + diff --git a/web/workshop/guide.html b/web/workshop/guide.html index 1dfa39c..10e61d9 100644 --- a/web/workshop/guide.html +++ b/web/workshop/guide.html @@ -30,21 +30,10 @@

1. Installing exporter addon

-

Skaterift comes with the addon in its game files, we just need to install - it. This addon script gets updated between skaterift versions. Here are the - steps to install it into Blender:
-
- Go to edit>preferences, and open the addons section.
-
- Press the install... button at the top right, and browse to the - Skaterift game files. Inside the folder named tools is the script - blender_export.py to install.
-
- If you don't know where it is, you can go into your Steam Library, and - rightclick Skaterift, selecting Manage>Browse local files.
-
- Now just search for Skaterift .mdl exporter from the addons list, and enable - it.
+

Skip this step if you've already done it before. + Guide on how to install the exporter addon for + Blender +


2. Configuring the template

-- 2.25.1