Add error boxes, polish up the Minecraft setup guide a bit

This commit is contained in:
Salt 2021-05-14 13:41:49 -05:00
parent a1fd8a5e31
commit 93349725ba
2 changed files with 31 additions and 0 deletions

View File

@ -22,6 +22,16 @@
<li>Go to <a href="https://www.java.com/en/download/manual.jsp">Java Downloads</a></li>
<li>Download and run the "Windows Offline (64-bit)" option</li>
</ol>
<div class="warning">
<i class="badge fa fa-warning"></i>
Ensure you do NOT install the 32-bit version of Java! Doing so may result in some of the following weird errors:
<ul>
<li>Being unable to launch a pack with over 4GB of memory allocated</li>
<li>"Java could not be invoked with the arguments specified"</li>
<li>Other random nebulous errors from MultiMC</li>
</ul>
If you're not sure whether or not you've installed 32-bit Java, uninstall and reinstall it just to be on the safe side.
</div>
</div>
<div class="subcontainer" id="multimc">
<h2>2. Installing MultiMC</h2>

View File

@ -13,6 +13,8 @@
--line: rgba(0,0,0,0.1);
--greenlink: #327117;
--greenlink-hover: #47b625;
--warning: #f7cf04;
--error: #d95757;
--link: #286a9d;
--link-hover: #3ea5f3;
--shadow: 8px -5px rgba(0,0,0,0.1);
@ -88,6 +90,25 @@ div.quote {
margin: 1em 4em;
padding: 1em;
}
div.warning,div.error {
border-radius: 8px;
box-shadow: 5px 5px var(--shadow);
padding: 1em;
border: 2px solid var(--text);
margin: 1em;
}
div.warning {
border-color: var(--warning);
}
div.warning i {
color: var(--warning);
}
div.error {
border-color: var(--error);
}
div.error i {
color: var(--error);
}
i.badge {
font-size: 200%;
float: right;