-
Notifications
You must be signed in to change notification settings - Fork 5
/
mainmenu.rml
62 lines (56 loc) · 1.89 KB
/
mainmenu.rml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<rml>
<head>
<title></title>
<link type="text/rcss" href="default.rcss"/>
<style>
body {
width: 100%;
height: 100%;
padding-bottom: 300px;
decorator: image(../gfx/img/earthrise.png none cover center bottom);
}
.button {
font-size: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
.active_button {
transition: padding-left color 0.4s back-out;
}
.inactive_button {
color: rgb(175, 175, 175);
}
.active_button:hover {
padding-left: 30px;
color: yellow;
}
.button_menu {
margin-left: 50px;
position: absolute;
bottom: 200px;
left: 0;
width: 230px;
padding: 10px 60px 20px 20px;
padding-right: 60px;
padding-left: 20px;
background-color: rgba(30, 30, 30, 200);
}
.banner_image {
position: absolute;
top: 225px;
left: 30px;
}
</style>
</head>
<body>
<img class="banner_image" src="../gfx/img/mainbanner2.png"/>
<div class="button_menu">
<button id="new_game" class="button active_button">New Game</button><br/>
<button id="save_game" class="button inactive_button">Load Save</button><br/>
<button id="options" class="button active_button">Options</button><br/>
<button id="credits" class="button active_button">Credits</button><br/>
<button id="mods" class="button inactive_button">Mods</button><br/>
<button id="quit" class="button active_button">Quit</button><br/>
</div>
</body>
</rml>