More accurate menus

This commit is contained in:
GabsPuNs
2026-06-11 22:07:34 -04:00
parent 84925823e8
commit db621e41ef
6 changed files with 111 additions and 67 deletions

View File

@@ -3,8 +3,8 @@ body
width: 100%;
height: 100%;
font-family: Minecraft Default;
font-size: 14px;
font-effect: shadow(1px 1px #000000);
font-size: 14dp;
font-effect: shadow(1dp 1dp #000000);
color: #ffffff;
background: transparent;
display: flex;
@@ -14,13 +14,13 @@ body
div#help_options_menu
{
width: 624px;
height: auto;
width: 624dp;
height: 330dp;
margin: auto;
background: rgba(0, 0, 0, 0.65);
border: 2px solid #555555;
border-radius: 8px;
padding: 40px 48px;
border: 2dp solid #555555;
border-radius: 8dp;
padding: 40dp 48dp;
}
div#buttons
@@ -34,13 +34,13 @@ div#buttons
button
{
display: block;
width: 524px;
height: 64px;
margin-bottom: 11px;
width: 674dp;
height: 60dp;
margin-bottom: 15dp;
color: #ffffff;
font-size: 25px;
font-size: 36dp;
text-align: center;
line-height: 64px;
line-height: 60dp;
cursor: pointer;
border: none;
background: transparent;
@@ -49,5 +49,6 @@ button
button:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}

View File

@@ -7,7 +7,7 @@
<div id="help_options_menu">
<div id="buttons">
<button id="change_skin">Change Skin</button>
<button id="how_to_play">How to Play</button>
<button id="how_to_play">How To Play</button>
<button id="controls">Controls</button>
<button id="settings">Settings</button>
<button id="credits">Credits</button>

View File

@@ -3,8 +3,8 @@ body
width: 100%;
height: 100%;
font-family: Minecraft Default;
font-size: 14px;
font-effect: shadow(1px 1px #000000);
font-size: 14dp;
font-effect: shadow(1dp 1dp #000000);
color: #ffffff;
background: transparent;
display: flex;
@@ -14,13 +14,13 @@ body
div#pause_menu
{
width: 624px;
height: auto;
width: 624dp;
height: 330dp;
margin: auto;
background: rgba(0, 0, 0, 0.65);
border: 2px solid #555555;
border-radius: 8px;
padding: 40px 48px;
border: 2dp solid #555555;
border-radius: 8dp;
padding: 40dp 48dp;
}
div#buttons
@@ -34,13 +34,13 @@ div#buttons
button
{
display: block;
width: 524px;
height: 64px;
margin-bottom: 11px;
width: 674dp;
height: 60dp;
margin-bottom: 15dp;
color: #ffffff;
font-size: 25px;
font-size: 36dp;
text-align: center;
line-height: 64px;
line-height: 60dp;
cursor: pointer;
border: none;
background: transparent;
@@ -49,6 +49,7 @@ button
button:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}
@@ -56,15 +57,15 @@ div#exit_dialog
{
display: none;
width: 100%;
margin-top: 16px;
margin-top: 16dp;
text-align: center;
}
p#exit_text
{
font-size: 31px;
font-size: 31dp;
color: #ffffff;
margin-bottom: 23px;
margin-bottom: 23dp;
}
div#exit_buttons
@@ -72,7 +73,7 @@ div#exit_buttons
width: 100%;
display: flex;
justify-content: center;
gap: 10px;
gap: 10dp;
flex-wrap: wrap;
}
@@ -82,15 +83,15 @@ button#exit_cancel
{
display: inline-block;
width: auto;
min-width: 233px;
height: 58px;
min-width: 233dp;
height: 58dp;
margin: 0;
padding-left: 29px;
padding-right: 29px;
padding-left: 29dp;
padding-right: 29dp;
color: #ffffff;
font-size: 22px;
font-size: 36dp;
text-align: center;
line-height: 58px;
line-height: 58dp;
cursor: pointer;
border: none;
background: transparent;
@@ -101,6 +102,7 @@ button#exit_save:hover,
button#exit_nosave:hover,
button#exit_cancel:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}
@@ -108,15 +110,15 @@ div#save_dialog
{
display: none;
width: 100%;
margin-top: 16px;
margin-top: 16dp;
text-align: center;
}
p#save_text
{
font-size: 31px;
font-size: 36dp;
color: #ffffff;
margin-bottom: 23px;
margin-bottom: 23dp;
}
div#save_buttons
@@ -124,7 +126,7 @@ div#save_buttons
width: 100%;
display: flex;
justify-content: center;
gap: 10px;
gap: 10dp;
}
button#save_cancel,
@@ -132,15 +134,15 @@ button#save_confirm
{
display: inline-block;
width: auto;
min-width: 204px;
height: 58px;
min-width: 204dp;
height: 58dp;
margin: 0;
padding-left: 29px;
padding-right: 29px;
padding-left: 29dp;
padding-right: 29dp;
color: #ffffff;
font-size: 22px;
font-size: 36dp;
text-align: center;
line-height: 58px;
line-height: 58dp;
cursor: pointer;
border: none;
background: transparent;
@@ -150,5 +152,6 @@ button#save_confirm
button#save_cancel:hover,
button#save_confirm:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}

View File

@@ -3,8 +3,8 @@ body
width: 100%;
height: 100%;
font-family: Minecraft Default;
font-size: 14px;
font-effect: shadow(1px 1px #000000);
font-size: 14dp;
font-effect: shadow(1dp 1dp #000000);
color: #ffffff;
background: transparent;
display: flex;
@@ -14,13 +14,13 @@ body
div#settings_menu
{
width: 624px;
height: auto;
width: 624dp;
height: 330dp;
margin: auto;
background: rgba(0, 0, 0, 0.65);
border: 2px solid #555555;
border-radius: 8px;
padding: 40px 48px;
border: 2dp solid #555555;
border-radius: 8dp;
padding: 40dp 48dp;
}
div#buttons
@@ -34,13 +34,13 @@ div#buttons
button
{
display: block;
width: 524px;
height: 64px;
margin-bottom: 11px;
width: 674dp;
height: 60dp;
margin-bottom: 15dp;
color: #ffffff;
font-size: 25px;
font-size: 36dp;
text-align: center;
line-height: 64px;
line-height: 60dp;
cursor: pointer;
border: none;
background: transparent;
@@ -49,6 +49,7 @@ button
button:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}
@@ -56,15 +57,15 @@ div#confirm_dialog
{
display: none;
width: 100%;
margin-top: 16px;
margin-top: 16dp;
text-align: center;
}
p#confirm_text
{
font-size: 31px;
font-size: 31dp;
color: #ffffff;
margin-bottom: 23px;
margin-bottom: 23dp;
}
div#confirm_buttons
@@ -72,7 +73,7 @@ div#confirm_buttons
width: 100%;
display: flex;
justify-content: center;
gap: 10px;
gap: 10dp;
}
button#confirm_no,
@@ -80,15 +81,15 @@ button#confirm_yes
{
display: inline-block;
width: auto;
min-width: 204px;
height: 58px;
min-width: 204dp;
height: 58dp;
margin: 0;
padding-left: 29px;
padding-right: 29px;
padding-left: 29dp;
padding-right: 29dp;
color: #ffffff;
font-size: 22px;
font-size: 36dp;
text-align: center;
line-height: 58px;
line-height: 58dp;
cursor: pointer;
border: none;
background: transparent;
@@ -98,5 +99,6 @@ button#confirm_yes
button#confirm_no:hover,
button#confirm_yes:hover
{
color: #ffff00;
decorator: image(images/lce/Button/MainMenuButton_Over.png);
}