restyle, minor bugfixes

This commit is contained in:
color.diff=auto 2021-03-23 05:55:47 -06:00
parent dd1c6c1e9c
commit c74918ab45
9 changed files with 33 additions and 72 deletions

1
d2im.conf Normal file
View File

@ -0,0 +1 @@
/home/stoned/code/d2/txt/

BIN
img/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

View File

@ -1,13 +1,3 @@
@font-face {
font-family:"Exocet Light";
src:url("/font/EXL_____.eot?") format("eot"),
url("/font/EXL_____.woff") format("woff"),
url("/font/EXL_____.ttf") format("truetype"),
url("/font/EXL_____.svg#ExocetLight") format("svg");
font-weight:normal;
font-style:normal;
}
@font-face {
font-family: 'Exocet';
src: url('/font/ExocetHeavy.eot');
@ -22,26 +12,8 @@
font-display: swap;
}
@font-face {
font-family: 'Exocet';
src: url('/font/ExocetLight.eot');
src: local('Exocet Light'), local('ExocetLight'),
url('/font/ExocetLight.eot?#iefix') format('embedded-opentype'),
url('/font/ExocetLight.woff2') format('woff2'),
url('/font/ExocetLight.woff') format('woff'),
url('/font/ExocetLight.ttf') format('truetype'),
url('/font/ExocetLight.svg#ExocetLight') format('svg');
font-weight: 300;
font-style: normal;
font-display: swap;
}
ul {
font-family: Lato;
}
input {
form input {
width: 108px;
padding: 5px;
margin: 5xp;
@ -57,12 +29,8 @@ input {
}
.form-text {
background: white;
padding: 5px;
border-radius: 4px;
font-family: "Lato";
font-weight: normal;
border-radius: 2px;
}
select,
@ -85,18 +53,15 @@ option {
border: 1px solid #ddd;
margin: 30px auto;
padding: 10px;
background: white;
font-family: "Exocet";
font-weight: 900;
background: #fafaff;
}
body {
background: black;
background: url(/img/bg.jpg);
background-size: cover;
background-attachment: fixed;
}
footer, .options, ul *, li * {
font-family: Lato !important;
h1,h2,h3,h4,h5,h6, div > p {
font-family: Exocet;
}

View File

@ -1,23 +1,22 @@
<?php
/*
D2UniqueMaker
GPLv2 (C) <2021> <HashCasper>
This file is part of D2UM.
This file is part of D2IM.
D2UM is free software: you can redistribute it and/or modify
D2IM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
D2UM is distributed in the hope that it will be useful,
D2IM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with D2UM. If not, see <http://www.gnu.org/licenses/>.
along with D2IM. If not, see <http://www.gnu.org/licenses/>.
*/
if (!empty($_POST)) {
@ -45,7 +44,7 @@ if (!empty($_POST)) {
<body style="text-align: center; background: white;">
<div class="container container-top">
<h1><img src="/img/Diablo2.png" style="float:left">D2 Item Maker, v3. By HashCasper</h1>
<a class="btn" style="color:red; font-size: 18px;float:right;" href="/">X</a>
<a class="btn btn-outline-danger" style="color:red; font-size: 18px;float:right;" href="/">X</a>
<hr style="margin: 60px;">
<h2>Select Mod folder</h2>
<p style="font-family: lato">Example: D:\Diablo II\MODS\you-mod-name\</p>

View File

@ -1,23 +1,22 @@
<?php
/*
D2UniqueMaker
GPLv2 (C) <2021> <HashCasper>
This file is part of D2UM.
This file is part of D2IM.
D2UM is free software: you can redistribute it and/or modify
D2IM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
D2UM is distributed in the hope that it will be useful,
D2IM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with D2UM. If not, see <http://www.gnu.org/licenses/>.
along with D2IM. If not, see <http://www.gnu.org/licenses/>.
*/
class D2Files {

View File

@ -1,23 +1,22 @@
<?php
/*
D2UniqueMaker
GPLv2 (C) <2021> <HashCasper>
This file is part of D2UM.
This file is part of D2IM.
D2UM is free software: you can redistribute it and/or modify
D2IM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
D2UM is distributed in the hope that it will be useful,
D2IM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with D2UM. If not, see <http://www.gnu.org/licenses/>.
along with D2IM. If not, see <http://www.gnu.org/licenses/>.
*/
class D2SaveFile {

View File

@ -1,23 +1,22 @@
<?php
/*
D2UniqueMaker
GPLv2 (C) <2021> <HashCasper>
This file is part of D2UM.
This file is part of D2IM.
D2UM is free software: you can redistribute it and/or modify
D2IM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
D2UM is distributed in the hope that it will be useful,
D2IM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with D2UM. If not, see <http://www.gnu.org/licenses/>.
along with D2IM. If not, see <http://www.gnu.org/licenses/>.
This is a generic D2 Txt Parser

View File

@ -25,12 +25,12 @@ along with D2UM. If not, see <http://www.gnu.org/licenses/>.
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="https://bootswatch.com/4/materia/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/res/style.css">
<link rel="stylesheet" href="https://bootswatch.com/4/sketchy/bootstrap.min.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/res/style.css">
<style>
</style>

View File

@ -1,11 +1,10 @@
<div class="form-group row options" style="background: none;">
<div class="col-9" style="background: none;">
<div class="offset-1 col-8" style="background: none;">
<p style="display:inline;">
<input style="width: 32px;" type="checkbox" id="op1" name="opt-hide-disabled" checked>
<input style="" type="checkbox" id="op1" name="opt-hide-disabled" checked>
Toggle 'unspawnable' items
</p>
<p style="display:inline;margin-left: 60px;">
<a style="font-weight: bold;" class="btn" href="/src/config.php">Reconfigure Mod Path</a>
<a style="font-weight: bold;" class="btn btn-info" href="/src/D2Config.php">Reconfigure Mod Path</a>
</p>
</div>