added the remaining features
This commit is contained in:
Currency
2024-11-03 17:56:07 +01:00
parent 606b05d995
commit 5668babc44
17 changed files with 352 additions and 1 deletions

126
archives.html Normal file
View File

@@ -0,0 +1,126 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Archives</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #1a1a1a;
font-family: Arial, sans-serif;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.title {
font-size: 2em;
font-weight: bold;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
color: #FFD700;
}
.back-button {
font-size: 1em;
color: #fff;
background-color: #444;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-bottom: 20px;
text-transform: uppercase;
font-weight: bold;
transition: background-color 0.3s;
}
.back-button:hover {
background-color: #666;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-auto-rows: 300px;
gap: 20px;
padding: 20px;
scroll-snap-type: x mandatory;
width: 100%;
place-items: center; /* Center align incomplete rows */
}
.box {
background-color: #2c2f36;
border-radius: 10px;
display: flex;
align-items: start; /* Align items to the top */
justify-content: center; /* Center text horizontally */
text-align: center;
color: #fff;
scroll-snap-align: start;
padding: 15px;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
background-size: cover;
background-position: center;
width: 100%; /* Makes the box occupy full grid cell */
height: 300px; /* Sets the box height */
}
.box .title {
font-size: 1em;
font-weight: bold;
background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
padding: 5px 10px;
border-radius: 5px;
position: absolute;
top: 10px; /* Positions title at the top of the box */
left: 50%;
transform: translateX(-50%); /* Centers title horizontally */
}
/* Hover Effect */
.box:hover {
transform: translateY(-10px);
box-shadow: 0 8px 15px rgba(0, 255, 127, 0.5);
background-color: #3a3f4b;
}
</style>
</head>
<body>
<div class="title">Archives</div>
<button class="back-button" onclick="window.location.href='index.html'">Back</button>
<div class="container">
<a href="https://github.com/MapMakersAndProgrammers/tanki-xml-maps" class="box" style="background-image: url('assets/xml.png');">
<div class="title">XML format maps</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/tanki-json-maps" class="box" style="background-image: url('assets/json.png');">
<div class="title">JSON format maps</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/tanki-bin-maps" class="box" style="background-image: url('assets/bin.png');">
<div class="title">BIN format maps</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/tanki-prop-libraries" class="box" style="background-image: url('assets/proplibrary.png');">
<div class="title">Prop Libraries</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/tanki-model-archive" class="box" style="background-image: url('assets/tankimodels.png');">
<div class="title">Tanki models</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/alternativa3d-archive" class="box" style="background-image: url('assets/a3d.png');">
<div class="title">Alternativa3D versions</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/alternativaphysics-archive" class="box" style="background-image: url('assets/ap.png');">
<div class="title">AlternativaPhysics versions</div>
</a>
</div>
</body>
</html>

BIN
assets/A3D.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

BIN
assets/a3d1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

BIN
assets/a3d2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

BIN
assets/ap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
assets/bin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
assets/demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

BIN
assets/editor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
assets/json.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
assets/proplibrary.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
assets/tankimodels.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

BIN
assets/tools.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 KiB

BIN
assets/xml.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

BIN
assets/xml.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -39,7 +39,7 @@
<!-- Main Content Area -->
<div class="content">
<div class="menu-container">
<a href="https://discord.com" class="discord-button" target="_blank">Discord</a>
<a href="https://discord.gg/EPqvgcPNHx" class="discord-button" target="_blank">Discord</a>
<ul class="menu">
<li><a href="archives.html"><img src="assets/archives-icon.svg" class="button-icon" alt="Archives Icon">ARCHIVES</a></li>
<li><a href="tools.html"><img src="assets/tools-icon.svg" class="button-icon" alt="Tools Icon">TOOLS</a></li>

111
misc.html Normal file
View File

@@ -0,0 +1,111 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Archive</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #1a1a1a;
font-family: Arial, sans-serif;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.title {
font-size: 2em;
font-weight: bold;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
color: #FFD700;
}
.back-button {
font-size: 1em;
color: #fff;
background-color: #444;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-bottom: 20px;
text-transform: uppercase;
font-weight: bold;
transition: background-color 0.3s;
}
.back-button:hover {
background-color: #666;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-template-rows: repeat(2, 300px);
gap: 20px;
padding: 20px;
scroll-snap-type: x mandatory;
width: 100%;
place-items: center; /* Center align incomplete rows */
}
.box {
background-color: #2c2f36;
border-radius: 10px;
display: flex;
align-items: start; /* Align items to the top */
justify-content: center; /* Center text horizontally */
text-align: center;
color: #fff;
scroll-snap-align: start;
padding: 15px;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
background-size: cover;
background-position: center;
width: 100%; /* Makes the box occupy full grid cell */
height: 300px; /* Sets the box height */
}
.box .title {
font-size: 1em;
font-weight: bold;
background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
padding: 5px 10px;
border-radius: 5px;
position: absolute;
top: 10px; /* Positions title at the top of the box */
left: 50%;
transform: translateX(-50%); /* Centers title horizontally */
}
/* Hover Effect */
.box:hover {
transform: translateY(-10px);
box-shadow: 0 8px 15px rgba(0, 255, 127, 0.5);
background-color: #3a3f4b;
}
</style>
</head>
<body>
<div class="title">Misc</div>
<button class="back-button" onclick="window.location.href='index.html'">Back</button>
<div class="container">
<a href="https://github.com/MapMakersAndProgrammers/alternativa-demos" class="box" style="background-image: url('assets/demo.png');">
<div class="title">Alternativa Games' flash demos</div>
</a>
<a href="https://github.com/MapMakersAndProgrammers/alternativa-editor" class="box" style="background-image: url('assets/editor.png');">
<div class="title">Alternativa Editor source code</div>
</a>
</div>
</body>
</html>

114
tools.html Normal file
View File

@@ -0,0 +1,114 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Archive</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #1a1a1a;
font-family: Arial, sans-serif;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.title {
font-size: 2em;
font-weight: bold;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
color: #FFD700;
}
.back-button {
font-size: 1em;
color: #fff;
background-color: #444;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-bottom: 20px;
text-transform: uppercase;
font-weight: bold;
transition: background-color 0.3s;
}
.back-button:hover {
background-color: #666;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-template-rows: repeat(2, 300px);
gap: 20px;
padding: 20px;
scroll-snap-type: x mandatory;
width: 100%;
place-items: center; /* Center align incomplete rows */
}
.box {
background-color: #2c2f36;
border-radius: 10px;
display: flex;
align-items: start; /* Align items to the top */
justify-content: center; /* Center text horizontally */
text-align: center;
color: #fff;
scroll-snap-align: start;
padding: 15px;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
background-size: cover;
background-position: center;
width: 100%; /* Makes the box occupy full grid cell */
height: 300px; /* Sets the box height */
}
.box .title {
font-size: 1em;
font-weight: bold;
background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
padding: 5px 10px;
border-radius: 5px;
position: absolute;
top: 10px; /* Positions title at the top of the box */
left: 50%;
transform: translateX(-50%); /* Centers title horizontally */
}
/* Hover Effect */
.box:hover {
transform: translateY(-10px);
box-shadow: 0 8px 15px rgba(0, 255, 127, 0.5);
background-color: #3a3f4b;
}
</style>
</head>
<body>
<div class="title">Tools</div>
<button class="back-button" onclick="window.location.href='index.html'">Back</button>
<div class="container">
<a href="https://example.com/showcase" class="box" style="background-image: url('assets/tools.png');">
<div class="title">Alternativa Games' tools</div>
</a>
<a href="https://example.com/keys" class="box" style="background-image: url('assets/a3d1.png');">
<div class="title">Blender plugin to import A3D 1.x and 2.x models</div>
</a>
<a href="https://example.com/premium" class="box" style="background-image: url('assets/a3d2.png');">
<div class="title">Blender plugin to import A3D 3.x models</div>
</a>
</div>
</body>
</html>