Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
oitsjustjose
69b3442f03 Fix modal issues in smooth transition 2020-07-27 03:26:50 +00:00
oitsjustjose
a657adf9b1 Smoothly transition between pages 2020-07-27 03:06:08 +00:00
oitsjustjose
1f18c43de8 Update CSS, remove hoverable attr 2020-05-02 22:54:45 -05:00
oitsjustjose
80c88ec0d9 Fix image issues on the NP page 2020-04-11 10:55:18 -04:00
oitsjustjose
41e515ed36 NatPro docs! 2020-04-11 00:01:02 -04:00
13 changed files with 2475 additions and 2105 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -99,7 +99,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -23,6 +23,19 @@
.loaded {
opacity: 1;
}
.masthead {
height: 40rem;
background: url("/Resources/img/natpro/Cover.png");
background-repeat: no-repeat;
background-size: cover;
background-position-y: 50%;
}
.grid {
-ms-grid-columns: (minmax(512px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(512px, 1fr));
}
</style>
</head>
@ -87,7 +100,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>
@ -125,12 +138,85 @@
<p class="content">
Natural Progression
<h2 class="subheader">
This Page is Under Construction
Slowing Early-Game Progression with Realistic Mechanics
</h2>
<i class="fas fa-hard-hat" style="font-size: 48px;"></i>
</p>
</div>
<div class="container">
<h2>
What is Natural Progression?
</h2>
<p>
Natural Progression is a mod which changes early game mechanics, forcing you to spend more time in those
first stages of Minecraft. It does so through a few mechanics which become self-evident as you play with the
mod, but just a <i>few</i> of these are:
</p>
<div class="grid">
<div style="max-width: 90vw;">
<ul style="font-size: 20px;">
<li>No punching wood</li>
<li>No wooden / stone tools (configurable)</li>
<li>Realistic plank crafting</li>
<li>Bone and Flint materials for only specific tools</li>
</ul>
</div>
<div style="max-width: 90vw;">
<img class="rounded image" src="/Resources/img/natpro/Advancements.png">
<p class="centered" style="font-size: 12px;">
Natural Progression replaces the early game advancements as well, so if you get stuck use those
for guidance
as you go along!
</p>
</div>
</div>
</div>
<div class="divider"></div>
<div class="container">
<h2>
Things to Know...
</h2>
<p>
<ol>
<li>
Pebbles aren't placed randomly! A pebble on the surface reflects what you'll find below; a diorite
pebble indicates diorite below, sandstone pebble → sandstone, etc.
</li>
<li>
Twigs will now randomly spawn as well, providing an easier source of sticks.
</li>
<li>
Twigs and pebbles can be found under water!
</li>
<li>
You can right-click any of the pebbles or twigs to break them.
</li>
<li>
Bones can be obtained by killing mobs other than skeletons, if enabled in the config.
</li>
<li>
All sawing recipes are Datapack-based! If you want to add support for more recipes, just use the
vanilla Datapack method!
</li>
</ol>
</p>
</div>
<div class="divider"></div>
<div class="container">
<h2>
<span><i class="fab fa-youtube"></i>&nbsp;Mod Spotlight</span>
</h2>
<div class="embed">
<iframe src="https://www.youtube.com/embed/-X1y9IJnXCk?start=134&end=144" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</div>
</body>
</html>

View file

@ -94,7 +94,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -94,7 +94,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -91,7 +91,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -18,7 +18,9 @@ body {
nav {
margin: auto;
margin-top: 1rem;
width: fit-content;
width: intrinsic; /* Safari/WebKit uses a non-standard name */
width: -moz-max-content; /* Firefox/Gecko */
width: -webkit-max-content; /* Chrome */
display: flex;
flex-direction: row;
justify-content: space-evenly;
@ -57,26 +59,28 @@ nav .item:hover, nav .item[active] {
animation: Rainbow 20s ease-in-out infinite;
}
nav .item:hover:last-of-type, nav .item[active]:last-of-type {
nav .item:last-of-type {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
nav .item:hover:first-of-type, nav .item[active]:first-of-type {
nav .item:first-of-type {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
}
section {
display: none;
opacity: 0;
transition: opacity ease-in-out 150ms;
section:not(.shown), section:not(.shown) * {
position: absolute;
top: -9999em;
max-height: 0 !important;
visibility: hidden;
opacity: 0 !important;
transition: opacity ease-in-out 300ms;
}
.shown{
display: block;
opacity: 1;
transition: ease-in-out 150ms;
.shown, .shown * {
opacity: 1 !important;
transition: ease-in-out 300ms;
}
.card .versions {

View file

@ -79,7 +79,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

View file

@ -103,7 +103,7 @@
<a href="" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>