Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 869a47d

Browse files
committed
Re-do button styles, fix buttons inside anchors
1 parent 7eea2d5 commit 869a47d

5 files changed

Lines changed: 41 additions & 53 deletions

File tree

_layouts/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
<img src="/images/backthematic.webp" alt="MuonMC thematic background image">
4444
<div class="big-image-text">
4545
<p>The modloader that works.</p>
46-
<a href="/download.html">
47-
<button class="button-download" type="button">Download</button></a>
48-
<a href="/develop.html">
49-
<button class="button-develop">Develop</button></a>
46+
<a href="/download.html" class="button-round-generic button-download">
47+
Download</a>
48+
<a href="/develop.html" class="button-round-generic button-develop">
49+
Develop</a>
5050
</div>
5151
</div>
5252

css/styles.css

Lines changed: 17 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -99,73 +99,53 @@ body {
9999
margin-bottom: 0%;
100100
}
101101

102-
.button-develop {
103-
border-radius: 5px;
104-
background-color: rgb(61, 59, 59);
102+
.button-round-generic {
103+
background-color: white;
105104
border: none;
106105
font-family: "Kanit", sans-serif;
107106
font-weight: 500;
108107
font-style: normal;
109108
font-size: 14pt;
110-
color: white;
111-
padding: 4px 16px;
109+
padding: 8px 16px;
112110
text-align: center;
113111
text-decoration: none;
114112
display: inline-block;
115113
transition-duration: 0.4s;
114+
border-radius: 5px;
116115
}
117116

118-
.button-develop:hover {
119-
background-color: white;
120-
color: black;
117+
.button-round-generic-container a{
118+
color:black;
121119
}
122120

123-
.button-template {
124-
border-radius: 5px;
125-
background-color: white;
126-
border: none;
127-
font-family: "Kanit", sans-serif;
128-
font-weight: 500;
129-
font-style: normal;
130-
font-size: 14pt;
131-
color: black;
132-
padding: 4px 16px;
133-
text-align: center;
134-
text-decoration: none;
135-
display: inline-block;
136-
transition-duration: 0.4s;
121+
.button-round-generic-container a:hover{
122+
color: white;
137123
}
138124

139-
.button-template:hover {
125+
.button-round-generic:hover {
140126
background-color: black;
127+
}
128+
129+
.button-develop {
130+
background-color: rgb(61, 59, 59);
141131
color: white;
142132
}
143133

134+
.button-develop:hover {
135+
background-color: white;
136+
color: black;
137+
}
144138

145139
.button-download {
146-
border-radius: 5px;
147-
148140
background-color: rgb(55, 55, 148);
149-
border: none;
150-
font-family: "Kanit", sans-serif;
151-
font-weight: 500;
152-
font-style: normal;
153-
font-size: 14pt;
154141
color: white;
155-
padding: 4px 16px;
156-
text-align: center;
157-
text-decoration: none;
158-
display: inline-block;
159-
transition-duration: 0.4s;
160142
}
161143

162144
.button-download:hover {
163145
background-color: white;
164-
border: none;
165146
color: black;
166147
}
167148

168-
169149
.big-image img {
170150
width: 100%;
171151
height: 300px;

develop.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ The project is in its early stages, which means there's not much of a point to d
1212

1313
If you were looking to make a mod for such a little modloader, you're probably more interested in what's behind the curtain. We welcome you to join in on MuonMC's development!
1414

15-
<a href="https://github.com/MuonMC">
16-
<button class="button-template">MuonMC on GitHub</button>
17-
</a>
15+
<div class="button-round-generic-container">
16+
<a href="https://github.com/MuonMC" class="button-round-generic">
17+
MuonMC on GitHub
18+
</a>
19+
</div>

download.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ The project is in its early stages, so you can't really download it right now. B
1212

1313
If you want to help with MuonMC development, hop in!
1414

15-
<a href="https://github.com/MuonMC">
16-
<button class="button-template">MuonMC on GitHub</button>
17-
</a>
15+
<div class="button-round-generic-container">
16+
<a href="https://github.com/MuonMC" class="button-round-generic" >
17+
MuonMC on GitHub
18+
</a>
19+
</div>

index.markdown

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ Forked from the QuiltMC toolchain, Muon focuses only on the essentials, aiming t
1414

1515
Making a mod for Muon is easy. You can quickly get up and running with our project generator, and get on to creating something by reading our comprehensive documentation.
1616

17-
<a href="/develop.html">
18-
<button class="button-template">Generate a Template</button>
19-
</a>
17+
<div class="button-round-generic-container">
18+
<a href="/develop.html" class="button-round-generic">
19+
Generate a Template
20+
</a>
21+
</div>
2022

2123
# Friendly to users
2224

2325
It's quite easy to download and install the latest version of Muon, simply click the button below and proceed to choose the version you want:
2426

25-
<a href="/download.html">
26-
<button class="button-template">Download and Install</button>
27-
</a>
27+
<div class="button-round-generic-container">
28+
<a href="/download.html" class="button-round-generic">
29+
Download and Install
30+
</a>
31+
</div>

0 commit comments

Comments
 (0)